/*! For license information please see standalone.js.LICENSE.txt */
(()=>{var e,r={3287:(e,r,t)=>{"use strict";var a=t(1147),n=t(2572),i={usingClientEntryPoint:!1,Events:null,Dispatcher:{current:null}};function o(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)r+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var s=Object.assign,l=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,u=l.ReactCurrentDispatcher,c={pending:!1,data:null,method:null,action:null};function f(){return u.current.useHostTransitionStatus()}function v(e,r,t){return u.current.useFormState(e,r,t)}var d=[],h=-1;function _(e){return{current:e}}function m(e){0>h||(e.current=d[h],d[h]=null,h--)}function p(e,r){h++,d[h]=e.current,e.current=r}var S=Symbol.for("react.element"),g=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),w=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),y=Symbol.for("react.provider"),k=Symbol.for("react.context"),C=Symbol.for("react.server_context"),A=Symbol.for("react.forward_ref"),M=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),H=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),T=Symbol.for("react.scope");Symbol.for("react.debug_trace_mode");var N=Symbol.for("react.offscreen"),R=Symbol.for("react.legacy_hidden"),O=Symbol.for("react.cache");Symbol.for("react.tracing_marker");var I=Symbol.for("react.default_value"),F=Symbol.for("react.memo_cache_sentinel"),L=Symbol.for("react.postpone"),P=Symbol.iterator;function z(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var B=_(null),V=_(null),U=_(null),W=_(null),$={$$typeof:k,_currentValue:null,_currentValue2:null,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};function j(e,r){switch(p(U,r),p(V,e),p(B,null),e=r.nodeType){case 9:case 11:r=(r=r.documentElement)&&(r=r.namespaceURI)?Qf(r):0;break;default:if(r=(e=8===e?r.parentNode:r).tagName,e=e.namespaceURI)r=Zf(e=Qf(e),r);else switch(r){case"svg":r=1;break;case"math":r=2;break;default:r=0}}m(B),p(B,r)}function X(){m(B),m(V),m(U)}function K(e){null!==e.memoizedState&&p(W,e);var r=B.current,t=Zf(r,e.type);r!==t&&(p(V,e),p(B,t))}function G(e){V.current===e&&(m(B),m(V)),W.current===e&&(m(W),$._currentValue=null)}var Y=n.unstable_scheduleCallback,q=n.unstable_cancelCallback,Q=n.unstable_shouldYield,Z=n.unstable_requestPaint,J=n.unstable_now,ee=n.unstable_getCurrentPriorityLevel,re=n.unstable_ImmediatePriority,te=n.unstable_UserBlockingPriority,ae=n.unstable_NormalPriority,ne=n.unstable_LowPriority,ie=n.unstable_IdlePriority,oe=null,se=null,le=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ue(e)/ce|0)|0},ue=Math.log,ce=Math.LN2,fe=128,ve=4194304;function de(e){var r=42&e;if(0!==r)return r;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194176&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function he(e,r){var t=e.pendingLanes;if(0===t)return 0;var a=0,n=e.suspendedLanes;e=e.pingedLanes;var i=134217727&t;return 0!==i?0!=(t=i&~n)?a=de(t):0!=(e&=i)&&(a=de(e)):0!=(t&=~n)?a=de(t):0!==e&&(a=de(e)),0===a?0:0!==r&&r!==a&&0==(r&n)&&((n=a&-a)>=(e=r&-r)||32===n&&0!=(4194176&e))?r:a}function _e(e,r){switch(e){case 1:case 2:case 4:case 8:return r+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return r+5e3;default:return-1}}function me(e,r){return e.errorRecoveryDisabledLanes&r?0:0!=(e=-536870913&e.pendingLanes)?e:536870912&e?536870912:0}function pe(){var e=ve;return 0==(62914560&(ve<<=1))&&(ve=4194304),e}function Se(e){for(var r=[],t=0;31>t;t++)r.push(e);return r}function ge(e,r){e.pendingLanes|=r,268435456!==r&&(e.suspendedLanes=0,e.pingedLanes=0)}function be(e,r,t){e.pendingLanes|=r,e.suspendedLanes&=~r;var a=31-le(r);e.entangledLanes|=r,e.entanglements[a]=1073741824|e.entanglements[a]|4194218&t}function we(e,r){var t=e.entangledLanes|=r;for(e=e.entanglements;t;){var a=31-le(t),n=1<<a;n&r|e[a]&r&&(e[a]|=r),t&=~n}}var Ee=0;function ye(e,r){var t=Ee;try{return Ee=e,r()}finally{Ee=t}}function ke(e){return 2<(e&=-e)?8<e?0!=(134217727&e)?32:268435456:8:2}var Ce=Object.prototype.hasOwnProperty,Ae=Math.random().toString(36).slice(2),Me="__reactFiber$"+Ae,De="__reactProps$"+Ae,He="__reactContainer$"+Ae,xe="__reactEvents$"+Ae,Te="__reactListeners$"+Ae,Ne="__reactHandles$"+Ae,Re="__reactResources$"+Ae,Oe="__reactMarker$"+Ae;function Ie(e){delete e[Me],delete e[De],delete e[xe],delete e[Te],delete e[Ne]}function Fe(e){var r=e[Me];if(r)return r;for(var t=e.parentNode;t;){if(r=t[He]||t[Me]){if(t=r.alternate,null!==r.child||null!==t&&null!==t.child)for(e=dv(e);null!==e;){if(t=e[Me])return t;e=dv(e)}return r}t=(e=t).parentNode}return null}function Le(e){if(e=e[Me]||e[He]){var r=e.tag;if(5===r||6===r||13===r||26===r||27===r||3===r)return e}return null}function Pe(e){var r=e.tag;if(5===r||26===r||27===r||6===r)return e.stateNode;throw Error(o(33))}function ze(e){return e[De]||null}function Be(e){var r=e[Re];return r||(r=e[Re]={hoistableStyles:new Map,hoistableScripts:new Map}),r}function Ve(e){e[Oe]=!0}var Ue=new Set,We={};function $e(e,r){je(e,r),je(e+"Capture",r)}function je(e,r){for(We[e]=r,e=0;e<r.length;e++)Ue.add(r[e])}var Xe,Ke=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Ge=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),Ye={},qe={};function Qe(e,r,t){if(function(e){return!!Ce.call(qe,e)||!Ce.call(Ye,e)&&(Ge.test(e)?qe[e]=!0:(Ye[e]=!0,!1))}(r))if(null===t)e.removeAttribute(r);else{switch(typeof t){case"undefined":case"function":case"symbol":return void e.removeAttribute(r);case"boolean":var a=r.toLowerCase().slice(0,5);if("data-"!==a&&"aria-"!==a)return void e.removeAttribute(r)}e.setAttribute(r,""+t)}}function Ze(e,r,t){if(null===t)e.removeAttribute(r);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(r)}e.setAttribute(r,""+t)}}function Je(e,r,t,a){if(null===a)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttributeNS(r,t,""+a)}}function er(e){if(void 0===Xe)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);Xe=r&&r[1]||""}return"\n"+Xe+e}var rr=!1;function tr(e,r){if(!e||rr)return"";rr=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(r)if(r=function(){throw Error()},Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var a=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){a=e}e.call(r.prototype)}else{try{throw Error()}catch(e){a=e}var n=e();n&&"function"==typeof n.catch&&n.catch((function(){}))}}catch(r){if(r&&a&&"string"==typeof r.stack){for(var i=r.stack.split("\n"),o=a.stack.split("\n"),s=i.length-1,l=o.length-1;1<=s&&0<=l&&i[s]!==o[l];)l--;for(;1<=s&&0<=l;s--,l--)if(i[s]!==o[l]){if(1!==s||1!==l)do{if(s--,0>--l||i[s]!==o[l]){var u="\n"+i[s].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=s&&0<=l);break}}}finally{rr=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?er(e):""}function ar(e){switch(e.tag){case 26:case 27:case 5:return er(e.type);case 16:return er("Lazy");case 13:return er("Suspense");case 19:return er("SuspenseList");case 0:case 2:case 15:return tr(e.type,!1);case 11:return tr(e.type.render,!1);case 1:return tr(e.type,!0);default:return""}}function nr(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case b:return"Fragment";case g:return"Portal";case E:return"Profiler";case w:return"StrictMode";case M:return"Suspense";case D:return"SuspenseList";case O:return"Cache"}if("object"==typeof e)switch(e.$$typeof){case k:return(e.displayName||"Context")+".Consumer";case y:return(e._context.displayName||"Context")+".Provider";case A:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case H:return null!==(r=e.displayName||null)?r:nr(e.type)||"Memo";case x:r=e._payload,e=e._init;try{return nr(e(r))}catch(e){break}case C:return(e.displayName||e._globalName)+".Provider"}return null}function ir(e){var r=e.type;switch(e.tag){case 24:return"Cache";case 9:return(r.displayName||"Context")+".Consumer";case 10:return(r._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=r.render).displayName||e.name||"",r.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 26:case 27:case 5:return r;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return nr(r);case 8:return r===w?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof r)return r.displayName||r.name||null;if("string"==typeof r)return r}return null}function or(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function sr(e){var r=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===r||"radio"===r)}function lr(e){e._valueTracker||(e._valueTracker=function(e){var r=sr(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,r),a=""+e[r];if(!e.hasOwnProperty(r)&&void 0!==t&&"function"==typeof t.get&&"function"==typeof t.set){var n=t.get,i=t.set;return Object.defineProperty(e,r,{configurable:!0,get:function(){return n.call(this)},set:function(e){a=""+e,i.call(this,e)}}),Object.defineProperty(e,r,{enumerable:t.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[r]}}}}(e))}function ur(e){if(!e)return!1;var r=e._valueTracker;if(!r)return!0;var t=r.getValue(),a="";return e&&(a=sr(e)?e.checked?"true":"false":e.value),(e=a)!==t&&(r.setValue(e),!0)}function cr(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(r){return e.body}}var fr=/[\n"\\]/g;function vr(e){return e.replace(fr,(function(e){return"\\"+e.charCodeAt(0).toString(16)+" "}))}function dr(e,r,t,a,n,i,o,s){e.name="",null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o?e.type=o:e.removeAttribute("type"),null!=r?"number"===o?(0===r&&""===e.value||e.value!=r)&&(e.value=""+or(r)):e.value!==""+or(r)&&(e.value=""+or(r)):"submit"!==o&&"reset"!==o||e.removeAttribute("value"),null!=r?_r(e,o,or(r)):null!=t?_r(e,o,or(t)):null!=a&&e.removeAttribute("value"),null==n&&null!=i&&(e.defaultChecked=!!i),null!=n&&(e.checked=n&&"function"!=typeof n&&"symbol"!=typeof n),null!=s&&"function"!=typeof s&&"symbol"!=typeof s&&"boolean"!=typeof s?e.name=""+or(s):e.removeAttribute("name")}function hr(e,r,t,a,n,i,o,s){if(null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.type=i),null!=r||null!=t){if(("submit"===i||"reset"===i)&&null==r)return;t=null!=t?""+or(t):"",r=null!=r?""+or(r):t,s||r===e.value||(e.value=r),e.defaultValue=r}a="function"!=typeof(a=null!=a?a:n)&&"symbol"!=typeof a&&!!a,e.checked=s?e.checked:!!a,e.defaultChecked=!!a,null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&"boolean"!=typeof o&&(e.name=o)}function _r(e,r,t){"number"===r&&cr(e.ownerDocument)===e||e.defaultValue===""+t||(e.defaultValue=""+t)}var mr=Array.isArray;function pr(e,r,t,a){if(e=e.options,r){r={};for(var n=0;n<t.length;n++)r["$"+t[n]]=!0;for(t=0;t<e.length;t++)n=r.hasOwnProperty("$"+e[t].value),e[t].selected!==n&&(e[t].selected=n),n&&a&&(e[t].defaultSelected=!0)}else{for(t=""+or(t),r=null,n=0;n<e.length;n++){if(e[n].value===t)return e[n].selected=!0,void(a&&(e[n].defaultSelected=!0));null!==r||e[n].disabled||(r=e[n])}null!==r&&(r.selected=!0)}}function Sr(e,r,t){null==r||((r=""+or(r))!==e.value&&(e.value=r),null!=t)?e.defaultValue=null!=t?""+or(t):"":e.defaultValue!==r&&(e.defaultValue=r)}function gr(e,r,t,a){if(null==r){if(null!=a){if(null!=t)throw Error(o(92));if(mr(a)){if(1<a.length)throw Error(o(93));a=a[0]}t=a}null==t&&(t=""),r=t}t=or(r),e.defaultValue=t,(a=e.textContent)===t&&""!==a&&null!==a&&(e.value=a)}function br(e,r){if(r){var t=e.firstChild;if(t&&t===e.lastChild&&3===t.nodeType)return void(t.nodeValue=r)}e.textContent=r}var wr=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Er(e,r,t){var a=0===r.indexOf("--");null==t||"boolean"==typeof t||""===t?a?e.setProperty(r,""):"float"===r?e.cssFloat="":e[r]="":a?e.setProperty(r,t):"number"!=typeof t||0===t||wr.has(r)?"float"===r?e.cssFloat=t:e[r]=(""+t).trim():e[r]=t+"px"}function yr(e,r,t){if(null!=r&&"object"!=typeof r)throw Error(o(62));if(e=e.style,null!=t){for(var a in t)!t.hasOwnProperty(a)||null!=r&&r.hasOwnProperty(a)||(0===a.indexOf("--")?e.setProperty(a,""):"float"===a?e.cssFloat="":e[a]="");for(var n in r)a=r[n],r.hasOwnProperty(n)&&t[n]!==a&&Er(e,n,a)}else for(var i in r)r.hasOwnProperty(i)&&Er(e,i,r[i])}function kr(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Cr=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Ar=null;function Mr(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Dr=null,Hr=null;function xr(e){var r=Le(e);if(r&&(e=r.stateNode)){var t=ze(e);e:switch(e=r.stateNode,r.type){case"input":if(dr(e,t.value,t.defaultValue,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name),r=t.name,"radio"===t.type&&null!=r){for(t=e;t.parentNode;)t=t.parentNode;for(t=t.querySelectorAll('input[name="'+vr(""+r)+'"][type="radio"]'),r=0;r<t.length;r++){var a=t[r];if(a!==e&&a.form===e.form){var n=ze(a);if(!n)throw Error(o(90));dr(a,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name)}}for(r=0;r<t.length;r++)(a=t[r]).form===e.form&&ur(a)}break e;case"textarea":Sr(e,t.value,t.defaultValue);break e;case"select":null!=(r=t.value)&&pr(e,!!t.multiple,r,!1)}}}function Tr(e){Dr?Hr?Hr.push(e):Hr=[e]:Dr=e}function Nr(){if(Dr){var e=Dr,r=Hr;if(Hr=Dr=null,xr(e),r)for(e=0;e<r.length;e++)xr(r[e])}}function Rr(e){var r=e,t=e;if(e.alternate)for(;r.return;)r=r.return;else{e=r;do{0!=(4098&(r=e).flags)&&(t=r.return),e=r.return}while(e)}return 3===r.tag?t:null}function Or(e){if(13===e.tag){var r=e.memoizedState;if(null===r&&null!==(e=e.alternate)&&(r=e.memoizedState),null!==r)return r.dehydrated}return null}function Ir(e){if(Rr(e)!==e)throw Error(o(188))}function Fr(e){return null!==(e=function(e){var r=e.alternate;if(!r){if(null===(r=Rr(e)))throw Error(o(188));return r!==e?null:e}for(var t=e,a=r;;){var n=t.return;if(null===n)break;var i=n.alternate;if(null===i){if(null!==(a=n.return)){t=a;continue}break}if(n.child===i.child){for(i=n.child;i;){if(i===t)return Ir(n),e;if(i===a)return Ir(n),r;i=i.sibling}throw Error(o(188))}if(t.return!==a.return)t=n,a=i;else{for(var s=!1,l=n.child;l;){if(l===t){s=!0,t=n,a=i;break}if(l===a){s=!0,a=n,t=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===t){s=!0,t=i,a=n;break}if(l===a){s=!0,a=i,t=n;break}l=l.sibling}if(!s)throw Error(o(189))}}if(t.alternate!==a)throw Error(o(190))}if(3!==t.tag)throw Error(o(188));return t.stateNode.current===t?e:r}(e))?Lr(e):null}function Lr(e){var r=e.tag;if(5===r||26===r||27===r||6===r)return e;for(e=e.child;null!==e;){if(null!==(r=Lr(e)))return r;e=e.sibling}return null}var Pr={},zr=_(Pr),Br=_(!1),Vr=Pr;function Ur(e,r){var t=e.type.contextTypes;if(!t)return Pr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===r)return a.__reactInternalMemoizedMaskedChildContext;var n,i={};for(n in t)i[n]=r[n];return a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),i}function Wr(e){return null!=e.childContextTypes}function $r(){m(Br),m(zr)}function jr(e,r,t){if(zr.current!==Pr)throw Error(o(168));p(zr,r),p(Br,t)}function Xr(e,r,t){var a=e.stateNode;if(r=r.childContextTypes,"function"!=typeof a.getChildContext)return t;for(var n in a=a.getChildContext())if(!(n in r))throw Error(o(108,ir(e)||"Unknown",n));return s({},t,a)}function Kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Pr,Vr=zr.current,p(zr,e),p(Br,Br.current),!0}function Gr(e,r,t){var a=e.stateNode;if(!a)throw Error(o(169));t?(e=Xr(e,r,Vr),a.__reactInternalMemoizedMergedChildContext=e,m(Br),m(zr),p(zr,e)):m(Br),p(Br,t)}var Yr="function"==typeof Object.is?Object.is:function(e,r){return e===r&&(0!==e||1/e==1/r)||e!=e&&r!=r},qr=[],Qr=0,Zr=null,Jr=0,et=[],rt=0,tt=null,at=1,nt="";function it(e,r){qr[Qr++]=Jr,qr[Qr++]=Zr,Zr=e,Jr=r}function ot(e,r,t){et[rt++]=at,et[rt++]=nt,et[rt++]=tt,tt=e;var a=at;e=nt;var n=32-le(a)-1;a&=~(1<<n),t+=1;var i=32-le(r)+n;if(30<i){var o=n-n%5;i=(a&(1<<o)-1).toString(32),a>>=o,n-=o,at=1<<32-le(r)+n|t<<n|a,nt=i+e}else at=1<<i|t<<n|a,nt=e}function st(e){null!==e.return&&(it(e,1),ot(e,1,0))}function lt(e){for(;e===Zr;)Zr=qr[--Qr],qr[Qr]=null,Jr=qr[--Qr],qr[Qr]=null;for(;e===tt;)tt=et[--rt],et[rt]=null,nt=et[--rt],et[rt]=null,at=et[--rt],et[rt]=null}var ut=null,ct=null,ft=!1,vt=null,dt=!1;function ht(e,r){var t=ql(5,null,null,0);t.elementType="DELETED",t.stateNode=r,t.return=e,null===(r=e.deletions)?(e.deletions=[t],e.flags|=16):r.push(t)}function _t(e,r){r.flags=-4097&r.flags|2}function mt(e,r){return r=function(e,r,t,a){for(;1===e.nodeType;){var n=t;if(e.nodeName.toLowerCase()!==r.toLowerCase()){if(!a&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(a){if(!e[Oe])switch(r){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(i=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(i!==n.rel||e.getAttribute("href")!==(null==n.href?null:n.href)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin)||e.getAttribute("title")!==(null==n.title?null:n.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((i=e.getAttribute("src"))!==(null==n.src?null:n.src)||e.getAttribute("type")!==(null==n.type?null:n.type)||e.getAttribute("crossorigin")!==(null==n.crossOrigin?null:n.crossOrigin))&&i&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==r||"hidden"!==e.type)return e;var i=null==n.name?null:""+n.name;if("hidden"===n.type&&e.getAttribute("name")===i)return e}if(null===(e=fv(e)))break}return null}(r,e.type,e.pendingProps,dt),null!==r&&(e.stateNode=r,ut=e,ct=cv(r.firstChild),dt=!1,!0)}function pt(e,r){return r=function(e,r,t){if(""===r)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!t)return null;if(null===(e=fv(e)))return null}return e}(r,e.pendingProps,dt),null!==r&&(e.stateNode=r,ut=e,ct=null,!0)}function St(e,r){e:{var t=r;for(r=dt;8!==t.nodeType;){if(!r){r=null;break e}if(null===(t=fv(t))){r=null;break e}}r=t}return null!==r&&(t=null!==tt?{id:at,overflow:nt}:null,e.memoizedState={dehydrated:r,treeContext:t,retryLane:536870912},(t=ql(18,null,null,0)).stateNode=r,t.return=e,e.child=t,ut=e,ct=null,!0)}function gt(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function bt(){throw Error(o(418))}function wt(e){for(ut=e.return;ut;)switch(ut.tag){case 3:case 27:return void(dt=!0);case 5:case 13:return void(dt=!1);default:ut=ut.return}}function Et(e){if(e!==ut)return!1;if(!ft)return wt(e),ft=!0,!1;var r,t=!1;if((r=3!==e.tag&&27!==e.tag)&&((r=5===e.tag)&&(r=!("form"!==(r=e.type)&&"button"!==r)||Jf(e.type,e.memoizedProps)),r=!r),r&&(t=!0),t&&(t=ct))if(gt(e))yt(),bt();else for(;t;)ht(e,t),t=fv(t);if(wt(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType)if("/$"===(r=e.data)){if(0===t){ct=fv(e);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++;e=e.nextSibling}ct=null}}else ct=ut?fv(e.stateNode):null;return!0}function yt(){for(var e=ct;e;)e=fv(e)}function kt(){ct=ut=null,ft=!1}function Ct(e){null===vt?vt=[e]:vt.push(e)}var At=[],Mt=0,Dt=0;function Ht(){for(var e=Mt,r=Dt=Mt=0;r<e;){var t=At[r];At[r++]=null;var a=At[r];At[r++]=null;var n=At[r];At[r++]=null;var i=At[r];if(At[r++]=null,null!==a&&null!==n){var o=a.pending;null===o?n.next=n:(n.next=o.next,o.next=n),a.pending=n}0!==i&&Rt(t,n,i)}}function xt(e,r,t,a){At[Mt++]=e,At[Mt++]=r,At[Mt++]=t,At[Mt++]=a,Dt|=a,e.lanes|=a,null!==(e=e.alternate)&&(e.lanes|=a)}function Tt(e,r,t,a){return xt(e,r,t,a),Ot(e)}function Nt(e,r){return xt(e,null,null,r),Ot(e)}function Rt(e,r,t){e.lanes|=t;var a=e.alternate;null!==a&&(a.lanes|=t);for(var n=!1,i=e.return;null!==i;)i.childLanes|=t,null!==(a=i.alternate)&&(a.childLanes|=t),22===i.tag&&(null===(e=i.stateNode)||1&e._visibility||(n=!0)),e=i,i=i.return;n&&null!==r&&3===e.tag&&(i=e.stateNode,n=31-le(t),null===(e=(i=i.hiddenUpdates)[n])?i[n]=[r]:e.push(r),r.lane=536870912|t)}function Ot(e){if(50<vl)throw vl=0,dl=null,Error(o(185));for(var r=e.return;null!==r;)r=(e=r).return;return 3===e.tag?e.stateNode:null}var It=!1;function Ft(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Lt(e,r){e=e.updateQueue,r.updateQueue===e&&(r.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Pt(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function zt(e,r,t){var a=e.updateQueue;if(null===a)return null;if(a=a.shared,0!=(2&zs)){var n=a.pending;return null===n?r.next=r:(r.next=n.next,n.next=r),a.pending=r,r=Ot(e),Rt(e,null,t),r}return xt(e,a,r,t),Ot(e)}function Bt(e,r,t){if(null!==(r=r.updateQueue)&&(r=r.shared,0!=(4194176&t))){var a=r.lanes;t|=a&=e.pendingLanes,r.lanes=t,we(e,t)}}function Vt(e,r){var t=e.updateQueue,a=e.alternate;if(null!==a&&t===(a=a.updateQueue)){var n=null,i=null;if(null!==(t=t.firstBaseUpdate)){do{var o={lane:t.lane,tag:t.tag,payload:t.payload,callback:null,next:null};null===i?n=i=o:i=i.next=o,t=t.next}while(null!==t);null===i?n=i=r:i=i.next=r}else n=i=r;return t={baseState:a.baseState,firstBaseUpdate:n,lastBaseUpdate:i,shared:a.shared,callbacks:a.callbacks},void(e.updateQueue=t)}null===(e=t.lastBaseUpdate)?t.firstBaseUpdate=r:e.next=r,t.lastBaseUpdate=r}function Ut(e,r,t,a){var n=e.updateQueue;It=!1;var i=n.firstBaseUpdate,o=n.lastBaseUpdate,l=n.shared.pending;if(null!==l){n.shared.pending=null;var u=l,c=u.next;u.next=null,null===o?i=c:o.next=c,o=u;var f=e.alternate;null!==f&&(l=(f=f.updateQueue).lastBaseUpdate)!==o&&(null===l?f.firstBaseUpdate=c:l.next=c,f.lastBaseUpdate=u)}if(null!==i){var v=n.baseState;for(o=0,f=c=u=null,l=i;;){var d=-536870913&l.lane,h=d!==l.lane;if(h?(Us&d)===d:(a&d)===d){null!==f&&(f=f.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var _=e,m=l;d=r;var p=t;switch(m.tag){case 1:if("function"==typeof(_=m.payload)){v=_.call(p,v,d);break e}v=_;break e;case 3:_.flags=-65537&_.flags|128;case 0:if(null==(d="function"==typeof(_=m.payload)?_.call(p,v,d):_))break e;v=s({},v,d);break e;case 2:It=!0}}null!==(d=l.callback)&&(e.flags|=64,h&&(e.flags|=8192),null===(h=n.callbacks)?n.callbacks=[d]:h.push(d))}else h={lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===f?(c=f=h,u=v):f=f.next=h,o|=d;if(null===(l=l.next)){if(null===(l=n.shared.pending))break;l=(h=l).next,h.next=null,n.lastBaseUpdate=h,n.shared.pending=null}}null===f&&(u=v),n.baseState=u,n.firstBaseUpdate=c,n.lastBaseUpdate=f,null===i&&(n.shared.lanes=0),Ys|=o,e.lanes=o,e.memoizedState=v}}function Wt(e,r){if("function"!=typeof e)throw Error(o(191,e));e.call(r)}function $t(e,r){var t=e.callbacks;if(null!==t)for(e.callbacks=null,e=0;e<t.length;e++)Wt(t[e],r)}function jt(e,r){if(Yr(e,r))return!0;if("object"!=typeof e||null===e||"object"!=typeof r||null===r)return!1;var t=Object.keys(e),a=Object.keys(r);if(t.length!==a.length)return!1;for(a=0;a<t.length;a++){var n=t[a];if(!Ce.call(r,n)||!Yr(e[n],r[n]))return!1}return!0}var Xt=Error(o(460)),Kt=Error(o(474)),Gt={then:function(){}};function Yt(e){return"fulfilled"===(e=e.status)||"rejected"===e}function qt(){}function Qt(e,r,t){switch(void 0===(t=e[t])?e.push(r):t!==r&&(r.then(qt,qt),r=t),r.status){case"fulfilled":return r.value;case"rejected":if((e=r.reason)===Xt)throw Error(o(483));throw e;default:if("string"==typeof r.status)r.then(qt,qt);else{if(null!==(e=Bs)&&100<e.shellSuspendCounter)throw Error(o(482));switch((e=r).status="pending",e.then((function(e){if("pending"===r.status){var t=r;t.status="fulfilled",t.value=e}}),(function(e){if("pending"===r.status){var t=r;t.status="rejected",t.reason=e}})),r.status){case"fulfilled":return r.value;case"rejected":if((e=r.reason)===Xt)throw Error(o(483));throw e}}throw Zt=r,Xt}}var Zt=null;function Jt(){if(null===Zt)throw Error(o(459));var e=Zt;return Zt=null,e}var ea=null,ra=0;function ta(e){var r=ra;return ra+=1,null===ea&&(ea=[]),Qt(ea,e,r)}function aa(e,r,t){if(null!==(e=t.ref)&&"function"!=typeof e&&"object"!=typeof e){if(t._owner){if(t=t._owner){if(1!==t.tag)throw Error(o(309));var a=t.stateNode}if(!a)throw Error(o(147,e));var n=a,i=""+e;return null!==r&&null!==r.ref&&"function"==typeof r.ref&&r.ref._stringRef===i?r.ref:((r=function(e){var r=n.refs;null===e?delete r[i]:r[i]=e})._stringRef=i,r)}if("string"!=typeof e)throw Error(o(284));if(!t._owner)throw Error(o(290,e))}return e}function na(e,r){throw e=Object.prototype.toString.call(r),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(r).join(", ")+"}":e))}function ia(e){return(0,e._init)(e._payload)}function oa(e){function r(r,t){if(e){var a=r.deletions;null===a?(r.deletions=[t],r.flags|=16):a.push(t)}}function t(t,a){if(!e)return null;for(;null!==a;)r(t,a),a=a.sibling;return null}function a(e,r){for(e=new Map;null!==r;)null!==r.key?e.set(r.key,r):e.set(r.index,r),r=r.sibling;return e}function n(e,r){return(e=Zl(e,r)).index=0,e.sibling=null,e}function i(r,t,a){return r.index=a,e?null!==(a=r.alternate)?(a=a.index)<t?(r.flags|=33554434,t):a:(r.flags|=33554434,t):(r.flags|=1048576,t)}function s(r){return e&&null===r.alternate&&(r.flags|=33554434),r}function l(e,r,t,a){return null===r||6!==r.tag?((r=au(t,e.mode,a)).return=e,r):((r=n(r,t)).return=e,r)}function u(e,r,t,a){var i=t.type;return i===b?f(e,r,t.props.children,a,t.key):null!==r&&(r.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===x&&ia(i)===r.type)?((a=n(r,t.props)).ref=aa(e,r,t),a.return=e,a):((a=eu(t.type,t.key,t.props,null,null,e.mode,a)).ref=aa(e,r,t),a.return=e,a)}function c(e,r,t,a){return null===r||4!==r.tag||r.stateNode.containerInfo!==t.containerInfo||r.stateNode.implementation!==t.implementation?((r=nu(t,e.mode,a)).return=e,r):((r=n(r,t.children||[])).return=e,r)}function f(e,r,t,a,i){return null===r||7!==r.tag?((r=ru(t,e.mode,a,i)).return=e,r):((r=n(r,t)).return=e,r)}function v(e,r,t){if("string"==typeof r&&""!==r||"number"==typeof r)return(r=au(""+r,e.mode,t)).return=e,r;if("object"==typeof r&&null!==r){switch(r.$$typeof){case S:return(t=eu(r.type,r.key,r.props,null,null,e.mode,t)).ref=aa(e,null,r),t.return=e,t;case g:return(r=nu(r,e.mode,t)).return=e,r;case x:return v(e,(0,r._init)(r._payload),t)}if(mr(r)||z(r))return(r=ru(r,e.mode,t,null)).return=e,r;if("function"==typeof r.then)return v(e,ta(r),t);if(r.$$typeof===k||r.$$typeof===C)return v(e,uo(e,r,t),t);na(e,r)}return null}function d(e,r,t,a){var n=null!==r?r.key:null;if("string"==typeof t&&""!==t||"number"==typeof t)return null!==n?null:l(e,r,""+t,a);if("object"==typeof t&&null!==t){switch(t.$$typeof){case S:return t.key===n?u(e,r,t,a):null;case g:return t.key===n?c(e,r,t,a):null;case x:return d(e,r,(n=t._init)(t._payload),a)}if(mr(t)||z(t))return null!==n?null:f(e,r,t,a,null);if("function"==typeof t.then)return d(e,r,ta(t),a);if(t.$$typeof===k||t.$$typeof===C)return d(e,r,uo(e,t,a),a);na(e,t)}return null}function h(e,r,t,a,n){if("string"==typeof a&&""!==a||"number"==typeof a)return l(r,e=e.get(t)||null,""+a,n);if("object"==typeof a&&null!==a){switch(a.$$typeof){case S:return u(r,e=e.get(null===a.key?t:a.key)||null,a,n);case g:return c(r,e=e.get(null===a.key?t:a.key)||null,a,n);case x:return h(e,r,t,(0,a._init)(a._payload),n)}if(mr(a)||z(a))return f(r,e=e.get(t)||null,a,n,null);if("function"==typeof a.then)return h(e,r,t,ta(a),n);if(a.$$typeof===k||a.$$typeof===C)return h(e,r,t,uo(r,a,n),n);na(r,a)}return null}function _(l,u,c,f){if("object"==typeof c&&null!==c&&c.type===b&&null===c.key&&(c=c.props.children),"object"==typeof c&&null!==c){switch(c.$$typeof){case S:e:{for(var p=c.key,w=u;null!==w;){if(w.key===p){if((p=c.type)===b){if(7===w.tag){t(l,w.sibling),(u=n(w,c.props.children)).return=l,l=u;break e}}else if(w.elementType===p||"object"==typeof p&&null!==p&&p.$$typeof===x&&ia(p)===w.type){t(l,w.sibling),(u=n(w,c.props)).ref=aa(l,w,c),u.return=l,l=u;break e}t(l,w);break}r(l,w),w=w.sibling}c.type===b?((u=ru(c.props.children,l.mode,f,c.key)).return=l,l=u):((f=eu(c.type,c.key,c.props,null,null,l.mode,f)).ref=aa(l,u,c),f.return=l,l=f)}return s(l);case g:e:{for(w=c.key;null!==u;){if(u.key===w){if(4===u.tag&&u.stateNode.containerInfo===c.containerInfo&&u.stateNode.implementation===c.implementation){t(l,u.sibling),(u=n(u,c.children||[])).return=l,l=u;break e}t(l,u);break}r(l,u),u=u.sibling}(u=nu(c,l.mode,f)).return=l,l=u}return s(l);case x:return m(l,u,(w=c._init)(c._payload),f)}if(mr(c))return function(n,o,s,l){for(var u=null,c=null,f=o,_=o=0,m=null;null!==f&&_<s.length;_++){f.index>_?(m=f,f=null):m=f.sibling;var p=d(n,f,s[_],l);if(null===p){null===f&&(f=m);break}e&&f&&null===p.alternate&&r(n,f),o=i(p,o,_),null===c?u=p:c.sibling=p,c=p,f=m}if(_===s.length)return t(n,f),ft&&it(n,_),u;if(null===f){for(;_<s.length;_++)null!==(f=v(n,s[_],l))&&(o=i(f,o,_),null===c?u=f:c.sibling=f,c=f);return ft&&it(n,_),u}for(f=a(n,f);_<s.length;_++)null!==(m=h(f,n,_,s[_],l))&&(e&&null!==m.alternate&&f.delete(null===m.key?_:m.key),o=i(m,o,_),null===c?u=m:c.sibling=m,c=m);return e&&f.forEach((function(e){return r(n,e)})),ft&&it(n,_),u}(l,u,c,f);if(z(c))return function(n,s,l,u){var c=z(l);if("function"!=typeof c)throw Error(o(150));if(null==(l=c.call(l)))throw Error(o(151));for(var f=c=null,_=s,m=s=0,p=null,S=l.next();null!==_&&!S.done;m++,S=l.next()){_.index>m?(p=_,_=null):p=_.sibling;var g=d(n,_,S.value,u);if(null===g){null===_&&(_=p);break}e&&_&&null===g.alternate&&r(n,_),s=i(g,s,m),null===f?c=g:f.sibling=g,f=g,_=p}if(S.done)return t(n,_),ft&&it(n,m),c;if(null===_){for(;!S.done;m++,S=l.next())null!==(S=v(n,S.value,u))&&(s=i(S,s,m),null===f?c=S:f.sibling=S,f=S);return ft&&it(n,m),c}for(_=a(n,_);!S.done;m++,S=l.next())null!==(S=h(_,n,m,S.value,u))&&(e&&null!==S.alternate&&_.delete(null===S.key?m:S.key),s=i(S,s,m),null===f?c=S:f.sibling=S,f=S);return e&&_.forEach((function(e){return r(n,e)})),ft&&it(n,m),c}(l,u,c,f);if("function"==typeof c.then)return _(l,u,ta(c),f);if(c.$$typeof===k||c.$$typeof===C)return _(l,u,uo(l,c,f),f);na(l,c)}return"string"==typeof c&&""!==c||"number"==typeof c?(c=""+c,null!==u&&6===u.tag?(t(l,u.sibling),(u=n(u,c)).return=l,l=u):(t(l,u),(u=au(c,l.mode,f)).return=l,l=u),s(l)):t(l,u)}function m(e,r,t,a){return ra=0,e=_(e,r,t,a),ea=null,e}return m}var sa=oa(!0),la=oa(!1),ua=_(null),ca=_(0);function fa(e,r){p(ca,e=Xs),p(ua,r),Xs=e|r.baseLanes}function va(){p(ca,Xs),p(ua,ua.current)}function da(){Xs=ca.current,m(ua),m(ca)}var ha=_(null),_a=null;function ma(e){var r=e.alternate;p(ba,1&ba.current),p(ha,e),null===_a&&(null===r||null!==ua.current||null!==r.memoizedState)&&(_a=e)}function pa(e){if(22===e.tag){if(p(ba,ba.current),p(ha,e),null===_a){var r=e.alternate;null!==r&&null!==r.memoizedState&&(_a=e)}}else Sa()}function Sa(){p(ba,ba.current),p(ha,ha.current)}function ga(e){m(ha),_a===e&&(_a=null),m(ba)}var ba=_(0);function wa(e){for(var r=e;null!==r;){if(13===r.tag){var t=r.memoizedState;if(null!==t&&(null===(t=t.dehydrated)||"$?"===t.data||"$!"===t.data))return r}else if(19===r.tag&&void 0!==r.memoizedProps.revealOrder){if(0!=(128&r.flags))return r}else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return null;r=r.return}r.sibling.return=r.return,r=r.sibling}return null}var Ea=null,ya=null,ka=!1,Ca=!1,Aa=!1,Ma=0;function Da(e){e!==ya&&null===e.next&&(null===ya?Ea=ya=e:ya=ya.next=e),Ca=!0,ka||(ka=!0,Ra(Ta))}function Ha(e){if(!Aa&&Ca){var r=null;Aa=!0;do{for(var t=!1,a=Ea;null!==a;){if(!e||0===a.tag){var n=Us,i=he(a,a===Bs?n:0);if(0!=(3&i))try{if(t=!0,n=a,0!=(6&zs))throw Error(o(327));if(!Vl()){var s=Nl(n,i);if(0!==n.tag&&2===s){var l=i,u=me(n,l);0!==u&&(i=u,s=Sl(n,l,u))}if(1===s)throw l=Gs,Al(n,0),El(n,i,0),Da(n),l;6===s?El(n,i,0):(n.finishedWork=n.current.alternate,n.finishedLanes=i,zl(n,el,al,Zs))}Da(n)}catch(e){null===r?r=[e]:r.push(e)}}a=a.next}}while(t);if(Aa=!1,null!==r){if(1<r.length){if("function"==typeof AggregateError)throw new AggregateError(r);for(e=1;e<r.length;e++)Ra(xa.bind(null,r[e]))}throw r[0]}}}function xa(e){throw e}function Ta(){Ca=ka=!1;for(var e=J(),r=null,t=Ea;null!==t;){var a=t.next;if(0!==Ma&&rv()){var n=t,i=Ma;n.pendingLanes|=2,n.entangledLanes|=2,n.entanglements[1]|=i}0===(n=Na(t,e))?(t.next=null,null===r?Ea=a:r.next=a,null===a&&(ya=r)):(r=t,0!=(3&n)&&(Ca=!0)),t=a}Ma=0,Ha(!1)}function Na(e,r){for(var t=e.suspendedLanes,a=e.pingedLanes,n=e.expirationTimes,i=-62914561&e.pendingLanes;0<i;){var o=31-le(i),s=1<<o,l=n[o];-1===l?0!=(s&t)&&0==(s&a)||(n[o]=_e(s,r)):l<=r&&(e.expiredLanes|=s),i&=~s}if(t=Us,t=he(e,e===(r=Bs)?t:0),a=e.callbackNode,0===t||e===r&&2===Ws||null!==e.cancelPendingCommit)return null!==a&&null!==a&&q(a),e.callbackNode=null,e.callbackPriority=0;if(0!=(3&t))return null!==a&&null!==a&&q(a),e.callbackPriority=2,e.callbackNode=null,2;if((r=t&-t)===e.callbackPriority)return r;switch(null!==a&&q(a),ke(t)){case 2:t=re;break;case 8:t=te;break;case 32:default:t=ae;break;case 268435456:t=ie}return a=pl.bind(null,e),t=Y(t,a),e.callbackPriority=r,e.callbackNode=t,r}function Ra(e){iv((function(){0!=(6&zs)?Y(re,e):e()}))}function Oa(){if(0===Ma){var e=fe;0==(4194176&(fe<<=1))&&(fe=128),Ma=e}return Ma}var Ia=null,Fa=0,La=0;function Pa(e,r){if(null===Ia){var t=Ia=[];Fa=0,La=Oa()}else t=Ia;Fa++;var a,n,i=Ba(t),s="pending";return e.then((function(e){s="fulfilled",a=null!==r?r:e,za()}),(function(e){s="rejected",n=e,za()})),t.push((function(){switch(s){case"fulfilled":i.status="fulfilled",i.value=a;break;case"rejected":i.status="rejected",i.reason=n;break;default:throw Error(o(478))}})),i}function za(){if(null!==Ia&&0==--Fa){var e=Ia;Ia=null;for(var r=La=0;r<e.length;r++)(0,e[r])()}}function Ba(e){return{status:"pending",value:null,reason:null,then:function(r){e.push(r)}}}var Va,Ua=l.ReactCurrentDispatcher,Wa=l.ReactCurrentBatchConfig,$a=0,ja=null,Xa=null,Ka=null,Ga=!1,Ya=!1,qa=!1,Qa=0,Za=0,Ja=null,en=0;function rn(){throw Error(o(321))}function tn(e,r){if(null===r)return!1;for(var t=0;t<r.length&&t<e.length;t++)if(!Yr(e[t],r[t]))return!1;return!0}function an(e,r,t,a,n,i){return $a=i,ja=r,r.memoizedState=null,r.updateQueue=null,r.lanes=0,Ua.current=null===e||null===e.memoizedState?ui:ci,qa=!1,e=t(a,n),qa=!1,Ya&&(e=on(r,t,a,n)),nn(),e}function nn(){Ua.current=li;var e=null!==Xa&&null!==Xa.next;if($a=0,Ka=Xa=ja=null,Ga=!1,Za=0,Ja=null,e)throw Error(o(300))}function on(e,r,t,a){ja=e;var n=0;do{if(Ya&&(Ja=null),Za=0,Ya=!1,25<=n)throw Error(o(301));n+=1,Ka=Xa=null,e.updateQueue=null,Ua.current=fi;var i=r(t,a)}while(Ya);return i}function sn(){var e=Ua.current.useState()[0];return"function"==typeof e.then?dn(e):e}function ln(){var e=0!==Qa;return Qa=0,e}function un(e,r,t){r.updateQueue=e.updateQueue,r.flags&=-2053,e.lanes&=~t}function cn(e){if(Ga){for(e=e.memoizedState;null!==e;){var r=e.queue;null!==r&&(r.pending=null),e=e.next}Ga=!1}$a=0,Ka=Xa=ja=null,Ya=!1,Za=Qa=0,Ja=null}function fn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Ka?ja.memoizedState=Ka=e:Ka=Ka.next=e,Ka}function vn(){if(null===Xa){var e=ja.alternate;e=null!==e?e.memoizedState:null}else e=Xa.next;var r=null===Ka?ja.memoizedState:Ka.next;if(null!==r)Ka=r,Xa=e;else{if(null===e){if(null===ja.alternate)throw Error(o(467));throw Error(o(310))}e={memoizedState:(Xa=e).memoizedState,baseState:Xa.baseState,baseQueue:Xa.baseQueue,queue:Xa.queue,next:null},null===Ka?ja.memoizedState=Ka=e:Ka=Ka.next=e}return Ka}function dn(e){var r=Za;return Za+=1,null===Ja&&(Ja=[]),e=Qt(Ja,e,r),null===ja.alternate&&(null===Ka?null===ja.memoizedState:null===Ka.next)&&(Ua.current=ui),e}function hn(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return dn(e);if(e.$$typeof===k||e.$$typeof===C)return lo(e)}throw Error(o(438,String(e)))}function _n(e){var r=null,t=ja.updateQueue;if(null!==t&&(r=t.memoCache),null==r){var a=ja.alternate;null!==a&&null!==(a=a.updateQueue)&&null!=(a=a.memoCache)&&(r={data:a.data.map((function(e){return e.slice()})),index:0})}if(null==r&&(r={data:[],index:0}),null===t&&(t=Va(),ja.updateQueue=t),t.memoCache=r,void 0===(t=r.data[r.index]))for(t=r.data[r.index]=Array(e),a=0;a<e;a++)t[a]=F;return r.index++,t}function mn(e,r){return"function"==typeof r?r(e):r}function pn(e){return Sn(vn(),Xa,e)}function Sn(e,r,t){var a=e.queue;if(null===a)throw Error(o(311));a.lastRenderedReducer=t;var n=e.baseQueue,i=a.pending;if(null!==i){if(null!==n){var s=n.next;n.next=i.next,i.next=s}r.baseQueue=n=i,a.pending=null}if(null!==n){r=n.next,i=e.baseState;var l=s=null,u=null,c=r;do{var f=-536870913&c.lane;if(f!==c.lane?(Us&f)===f:($a&f)===f){if(0===(f=c.revertLane))null!==u&&(u=u.next={lane:0,revertLane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null});else{if(($a&f)===f){c=c.next;continue}var v={lane:0,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=v,s=i):u=u.next=v,ja.lanes|=f,Ys|=f}f=c.action,qa&&t(i,f),i=c.hasEagerState?c.eagerState:t(i,f)}else v={lane:f,revertLane:c.revertLane,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},null===u?(l=u=v,s=i):u=u.next=v,ja.lanes|=f,Ys|=f;c=c.next}while(null!==c&&c!==r);null===u?s=i:u.next=l,Yr(i,e.memoizedState)||(Mi=!0),e.memoizedState=i,e.baseState=s,e.baseQueue=u,a.lastRenderedState=i}return null===n&&(a.lanes=0),[e.memoizedState,a.dispatch]}function gn(e){var r=vn(),t=r.queue;if(null===t)throw Error(o(311));t.lastRenderedReducer=e;var a=t.dispatch,n=t.pending,i=r.memoizedState;if(null!==n){t.pending=null;var s=n=n.next;do{i=e(i,s.action),s=s.next}while(s!==n);Yr(i,r.memoizedState)||(Mi=!0),r.memoizedState=i,null===r.baseQueue&&(r.baseState=i),t.lastRenderedState=i}return[i,a]}function bn(e,r,t){var a=ja,n=vn(),i=ft;if(i){if(void 0===t)throw Error(o(407));t=t()}else t=r();var s=!Yr((Xa||n).memoizedState,t);if(s&&(n.memoizedState=t,Mi=!0),n=n.queue,zn(yn.bind(null,a,n,e),[e]),n.getSnapshot!==r||s||null!==Ka&&1&Ka.memoizedState.tag){if(a.flags|=2048,On(9,En.bind(null,a,n,t,r),{destroy:void 0},null),null===Bs)throw Error(o(349));i||0!=(60&$a)||wn(a,r,t)}return t}function wn(e,r,t){e.flags|=16384,e={getSnapshot:r,value:t},null===(r=ja.updateQueue)?(r=Va(),ja.updateQueue=r,r.stores=[e]):null===(t=r.stores)?r.stores=[e]:t.push(e)}function En(e,r,t,a){r.value=t,r.getSnapshot=a,kn(r)&&Cn(e)}function yn(e,r,t){return t((function(){kn(r)&&Cn(e)}))}function kn(e){var r=e.getSnapshot;e=e.value;try{var t=r();return!Yr(e,t)}catch(e){return!0}}function Cn(e){var r=Nt(e,2);null!==r&&ml(r,e,2)}function An(e){var r=fn();return"function"==typeof e&&(e=e()),r.memoizedState=r.baseState=e,r.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mn,lastRenderedState:e},r}function Mn(e,r,t,a){return e.baseState=t,Sn(e,Xa,"function"==typeof a?a:mn)}function Dn(e,r,t,a){if(ii(e))throw Error(o(485));null===(e=r.pending)?((e={payload:a,next:null}).next=r.pending=e,Hn(r,t,a)):r.pending=e.next={payload:a,next:e.next}}function Hn(e,r,t){var a=e.action,n=e.state,i=Wa.transition;Wa.transition={};try{var o=a(n,t);o.then((function(t){e.state=t,xn(e,r)}),(function(){return xn(e,r)}));var s=Pa(o,null);r(s)}finally{Wa.transition=i}}function xn(e,r){var t=e.pending;if(null!==t){var a=t.next;a===t?e.pending=null:(a=a.next,t.next=a,Hn(e,r,a.payload))}}function Tn(e,r){return r}function Nn(e,r,t){e=dn(e=Sn(e,r,Tn)[0]);var a=(r=vn()).queue,n=a.dispatch;return t!==r.memoizedState&&(ja.flags|=2048,On(9,Rn.bind(null,a,t),{destroy:void 0},null)),[e,n]}function Rn(e,r){e.action=r}function On(e,r,t,a){return e={tag:e,create:r,inst:t,deps:a,next:null},null===(r=ja.updateQueue)?(r=Va(),ja.updateQueue=r,r.lastEffect=e.next=e):null===(t=r.lastEffect)?r.lastEffect=e.next=e:(a=t.next,t.next=e,e.next=a,r.lastEffect=e),e}function In(){return vn().memoizedState}function Fn(e,r,t,a){var n=fn();ja.flags|=e,n.memoizedState=On(1|r,t,{destroy:void 0},void 0===a?null:a)}function Ln(e,r,t,a){var n=vn();a=void 0===a?null:a;var i=n.memoizedState.inst;null!==Xa&&null!==a&&tn(a,Xa.memoizedState.deps)?n.memoizedState=On(r,t,i,a):(ja.flags|=e,n.memoizedState=On(1|r,t,i,a))}function Pn(e,r){Fn(8390656,8,e,r)}function zn(e,r){Ln(2048,8,e,r)}function Bn(e){var r=vn().memoizedState;return function(e){ja.flags|=4;var r=ja.updateQueue;if(null===r)r=Va(),ja.updateQueue=r,r.events=[e];else{var t=r.events;null===t?r.events=[e]:t.push(e)}}({ref:r,nextImpl:e}),function(){if(0!=(2&zs))throw Error(o(440));return r.impl.apply(void 0,arguments)}}function Vn(e,r){return Ln(4,2,e,r)}function Un(e,r){return Ln(4,4,e,r)}function Wn(e,r){return"function"==typeof r?(e=e(),r(e),function(){r(null)}):null!=r?(e=e(),r.current=e,function(){r.current=null}):void 0}function $n(e,r,t){t=null!=t?t.concat([e]):null,Ln(4,4,Wn.bind(null,r,e),t)}function jn(){}function Xn(e,r){var t=vn();r=void 0===r?null:r;var a=t.memoizedState;return null!==r&&tn(r,a[1])?a[0]:(t.memoizedState=[e,r],e)}function Kn(e,r){var t=vn();r=void 0===r?null:r;var a=t.memoizedState;return null!==r&&tn(r,a[1])?a[0]:(qa&&e(),e=e(),t.memoizedState=[e,r],e)}function Gn(e,r,t){return void 0===t||0!=(1073741824&$a)?e.memoizedState=r:(e.memoizedState=t,e=_l(),ja.lanes|=e,Ys|=e,t)}function Yn(e,r,t,a){return Yr(t,r)?t:null!==ua.current?(e=Gn(e,t,a),Yr(e,r)||(Mi=!0),e):0==(42&$a)?(Mi=!0,e.memoizedState=t):(e=_l(),ja.lanes|=e,Ys|=e,r)}function qn(e,r,t,a,n){var i=Ee;Ee=0!==i&&8>i?i:8;var o=Wa.transition;Wa.transition={},ni(e,!1,r,t);try{var s=n();if(null!==s&&"object"==typeof s&&"function"==typeof s.then)ai(e,r,Pa(s,a));else{var l=function(e,r){var t=null!==r?r:e;if(null===Ia)return t;var a=Ba(e=Ia);return e.push((function(){a.status="fulfilled",a.value=t})),a}(s,a);ai(e,r,l)}}catch(t){ai(e,r,{then:function(){},status:"rejected",reason:t})}finally{Ee=i,Wa.transition=o}}function Qn(e,r,t,a){if(5!==e.tag)throw Error(o(476));if(null===e.memoizedState){var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:mn,lastRenderedState:c},i=n;n={memoizedState:c,baseState:c,baseQueue:null,queue:n,next:null},e.memoizedState=n;var s=e.alternate;null!==s&&(s.memoizedState=n)}else i=e.memoizedState.queue;qn(e,i,r,c,(function(){return t(a)}))}function Zn(){var e=lo($);return null!==e?e:c}function Jn(){return vn().memoizedState}function ei(){return vn().memoizedState}function ri(e,r,t){for(var a=e.return;null!==a;){switch(a.tag){case 24:case 3:var n=hl(a),i=zt(a,e=Pt(n),n);return null!==i&&(ml(i,a,n),Bt(i,a,n)),a=mo(),null!=r&&null!==i&&a.data.set(r,t),void(e.payload={cache:a})}a=a.return}}function ti(e,r,t){var a=hl(e);t={lane:a,revertLane:0,action:t,hasEagerState:!1,eagerState:null,next:null},ii(e)?oi(r,t):null!==(t=Tt(e,r,t,a))&&(ml(t,e,a),si(t,r,a))}function ai(e,r,t){var a=hl(e),n={lane:a,revertLane:0,action:t,hasEagerState:!1,eagerState:null,next:null};if(ii(e))oi(r,n);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=r.lastRenderedReducer))try{var o=r.lastRenderedState,s=i(o,t);if(n.hasEagerState=!0,n.eagerState=s,Yr(s,o))return xt(e,r,n,0),void(null===Bs&&Ht())}catch(e){}null!==(t=Tt(e,r,n,a))&&(ml(t,e,a),si(t,r,a))}}function ni(e,r,t,a){if(a={lane:2,revertLane:Oa(),action:a,hasEagerState:!1,eagerState:null,next:null},ii(e)){if(r)throw Error(o(479))}else null!==(r=Tt(e,t,a,2))&&ml(r,e,2)}function ii(e){var r=e.alternate;return e===ja||null!==r&&r===ja}function oi(e,r){Ya=Ga=!0;var t=e.pending;null===t?r.next=r:(r.next=t.next,t.next=r),e.pending=r}function si(e,r,t){if(0!=(4194176&t)){var a=r.lanes;t|=a&=e.pendingLanes,r.lanes=t,we(e,t)}}Va=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};var li={readContext:lo,use:hn,useCallback:rn,useContext:rn,useEffect:rn,useImperativeHandle:rn,useInsertionEffect:rn,useLayoutEffect:rn,useMemo:rn,useReducer:rn,useRef:rn,useState:rn,useDebugValue:rn,useDeferredValue:rn,useTransition:rn,useSyncExternalStore:rn,useId:rn};li.useCacheRefresh=rn,li.useMemoCache=rn,li.useEffectEvent=rn,li.useHostTransitionStatus=rn,li.useFormState=rn,li.useOptimistic=rn;var ui={readContext:lo,use:hn,useCallback:function(e,r){return fn().memoizedState=[e,void 0===r?null:r],e},useContext:lo,useEffect:Pn,useImperativeHandle:function(e,r,t){t=null!=t?t.concat([e]):null,Fn(4194308,4,Wn.bind(null,r,e),t)},useLayoutEffect:function(e,r){return Fn(4194308,4,e,r)},useInsertionEffect:function(e,r){Fn(4,2,e,r)},useMemo:function(e,r){var t=fn();return r=void 0===r?null:r,qa&&e(),e=e(),t.memoizedState=[e,r],e},useReducer:function(e,r,t){var a=fn();return r=void 0!==t?t(r):r,a.memoizedState=a.baseState=r,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r},a.queue=e,e=e.dispatch=ti.bind(null,ja,e),[a.memoizedState,e]},useRef:function(e){return e={current:e},fn().memoizedState=e},useState:function(e){var r=(e=An(e)).queue,t=ai.bind(null,ja,r);return r.dispatch=t,[e.memoizedState,t]},useDebugValue:jn,useDeferredValue:function(e,r){return Gn(fn(),e,r)},useTransition:function(){var e=An(!1);return e=qn.bind(null,ja,e.queue,!0,!1),fn().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,r,t){var a=ja,n=fn();if(ft){if(void 0===t)throw Error(o(407));t=t()}else{if(t=r(),null===Bs)throw Error(o(349));0!=(60&Us)||wn(a,r,t)}n.memoizedState=t;var i={value:t,getSnapshot:r};return n.queue=i,Pn(yn.bind(null,a,i,e),[e]),a.flags|=2048,On(9,En.bind(null,a,i,t,r),{destroy:void 0},null),t},useId:function(){var e=fn(),r=Bs.identifierPrefix;if(ft){var t=nt;r=":"+r+"R"+(t=(at&~(1<<32-le(at)-1)).toString(32)+t),0<(t=Qa++)&&(r+="H"+t.toString(32)),r+=":"}else r=":"+r+"r"+(t=en++).toString(32)+":";return e.memoizedState=r},useCacheRefresh:function(){return fn().memoizedState=ri.bind(null,ja)}};ui.useMemoCache=_n,ui.useEffectEvent=function(e){var r=fn(),t={impl:e};return r.memoizedState=t,function(){if(0!=(2&zs))throw Error(o(440));return t.impl.apply(void 0,arguments)}},ui.useHostTransitionStatus=Zn,ui.useFormState=function(e,r){if(ft){var t=Bs.formState;null!==t&&function(){if(!ft)return!1;if(ct){e:{for(var e=ct,r=dt;8!==e.nodeType;){if(!r){e=null;break e}if(null===(e=fv(e))){e=null;break e}}e="F!"===(r=e.data)||"F"===r?e:null}if(e)return ct=fv(e),"F!"===e.data}return bt(),!1}()&&(r=t[0])}var a={status:"fulfilled",value:r,then:function(){}};(t=fn()).memoizedState=t.baseState=a,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Tn,lastRenderedState:a},t.queue=a,t=ai.bind(null,ja,a),a.dispatch=t;var n={state:r,dispatch:null,action:e,pending:null};return(a=fn()).queue=n,t=Dn.bind(null,ja,n,t),n.dispatch=t,a.memoizedState=e,[r,t]},ui.useOptimistic=function(e){var r=fn();r.memoizedState=r.baseState=e;var t={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return r.queue=t,r=ni.bind(null,ja,!0,t),t.dispatch=r,[e,r]};var ci={readContext:lo,use:hn,useCallback:Xn,useContext:lo,useEffect:zn,useImperativeHandle:$n,useInsertionEffect:Vn,useLayoutEffect:Un,useMemo:Kn,useReducer:pn,useRef:In,useState:function(){return pn(mn)},useDebugValue:jn,useDeferredValue:function(e,r){return Yn(vn(),Xa.memoizedState,e,r)},useTransition:function(){var e=pn(mn)[0],r=vn().memoizedState;return["boolean"==typeof e?e:dn(e),r]},useSyncExternalStore:bn,useId:Jn};ci.useCacheRefresh=ei,ci.useMemoCache=_n,ci.useEffectEvent=Bn,ci.useHostTransitionStatus=Zn,ci.useFormState=function(e){return Nn(vn(),Xa,e)},ci.useOptimistic=function(e,r){return Mn(vn(),0,e,r)};var fi={readContext:lo,use:hn,useCallback:Xn,useContext:lo,useEffect:zn,useImperativeHandle:$n,useInsertionEffect:Vn,useLayoutEffect:Un,useMemo:Kn,useReducer:gn,useRef:In,useState:function(){return gn(mn)},useDebugValue:jn,useDeferredValue:function(e,r){var t=vn();return null===Xa?Gn(t,e,r):Yn(t,Xa.memoizedState,e,r)},useTransition:function(){var e=gn(mn)[0],r=vn().memoizedState;return["boolean"==typeof e?e:dn(e),r]},useSyncExternalStore:bn,useId:Jn};function vi(e,r){if(e&&e.defaultProps){for(var t in r=s({},r),e=e.defaultProps)void 0===r[t]&&(r[t]=e[t]);return r}return r}function di(e,r,t,a){t=null==(t=t(a,r=e.memoizedState))?r:s({},r,t),e.memoizedState=t,0===e.lanes&&(e.updateQueue.baseState=t)}fi.useCacheRefresh=ei,fi.useMemoCache=_n,fi.useEffectEvent=Bn,fi.useHostTransitionStatus=Zn,fi.useFormState=function(e){var r=vn(),t=Xa;if(null!==t)return Nn(r,t,e);r=dn(r.memoizedState);var a=(t=vn()).queue.dispatch;return t.memoizedState=e,[r,a]},fi.useOptimistic=function(e,r){var t=vn();return null!==Xa?Mn(t,0,e,r):(t.baseState=e,[e,t.queue.dispatch])};var hi={isMounted:function(e){return!!(e=e._reactInternals)&&Rr(e)===e},enqueueSetState:function(e,r,t){var a=hl(e=e._reactInternals),n=Pt(a);n.payload=r,null!=t&&(n.callback=t),null!==(r=zt(e,n,a))&&(ml(r,e,a),Bt(r,e,a))},enqueueReplaceState:function(e,r,t){var a=hl(e=e._reactInternals),n=Pt(a);n.tag=1,n.payload=r,null!=t&&(n.callback=t),null!==(r=zt(e,n,a))&&(ml(r,e,a),Bt(r,e,a))},enqueueForceUpdate:function(e,r){var t=hl(e=e._reactInternals),a=Pt(t);a.tag=2,null!=r&&(a.callback=r),null!==(r=zt(e,a,t))&&(ml(r,e,t),Bt(r,e,t))}};function _i(e,r,t,a,n,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(a,i,o):!(r.prototype&&r.prototype.isPureReactComponent&&jt(t,a)&&jt(n,i))}function mi(e,r,t){var a=!1,n=Pr,i=r.contextType;return"object"==typeof i&&null!==i?i=lo(i):(n=Wr(r)?Vr:zr.current,i=(a=null!=(a=r.contextTypes))?Ur(e,n):Pr),r=new r(t,i),e.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,r.updater=hi,e.stateNode=r,r._reactInternals=e,a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=i),r}function pi(e,r,t,a){e=r.state,"function"==typeof r.componentWillReceiveProps&&r.componentWillReceiveProps(t,a),"function"==typeof r.UNSAFE_componentWillReceiveProps&&r.UNSAFE_componentWillReceiveProps(t,a),r.state!==e&&hi.enqueueReplaceState(r,r.state,null)}function Si(e,r,t,a){var n=e.stateNode;n.props=t,n.state=e.memoizedState,n.refs={},Ft(e);var i=r.contextType;"object"==typeof i&&null!==i?n.context=lo(i):(i=Wr(r)?Vr:zr.current,n.context=Ur(e,i)),n.state=e.memoizedState,"function"==typeof(i=r.getDerivedStateFromProps)&&(di(e,r,i,t),n.state=e.memoizedState),"function"==typeof r.getDerivedStateFromProps||"function"==typeof n.getSnapshotBeforeUpdate||"function"!=typeof n.UNSAFE_componentWillMount&&"function"!=typeof n.componentWillMount||(r=n.state,"function"==typeof n.componentWillMount&&n.componentWillMount(),"function"==typeof n.UNSAFE_componentWillMount&&n.UNSAFE_componentWillMount(),r!==n.state&&hi.enqueueReplaceState(n,n.state,null),Ut(e,t,n,a),n.state=e.memoizedState),"function"==typeof n.componentDidMount&&(e.flags|=4194308)}function gi(e,r){try{var t="",a=r;do{t+=ar(a),a=a.return}while(a);var n=t}catch(e){n="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:r,stack:n,digest:null}}function bi(e,r,t){return{value:e,source:null,stack:null!=t?t:null,digest:null!=r?r:null}}function wi(e,r){try{console.error(r.value)}catch(e){setTimeout((function(){throw e}))}}function Ei(e,r,t){(t=Pt(t)).tag=3,t.payload={element:null};var a=r.value;return t.callback=function(){nl||(nl=!0,il=a),wi(0,r)},t}function yi(e,r,t){(t=Pt(t)).tag=3;var a=e.type.getDerivedStateFromError;if("function"==typeof a){var n=r.value;t.payload=function(){return a(n)},t.callback=function(){wi(0,r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(t.callback=function(){wi(0,r),"function"!=typeof a&&(null===ol?ol=new Set([this]):ol.add(this));var e=r.stack;this.componentDidCatch(r.value,{componentStack:null!==e?e:""})}),t}function ki(e,r,t,a,n){return 0==(1&e.mode)?(e===r?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,1===t.tag&&(null===t.alternate?t.tag=17:((r=Pt(2)).tag=2,zt(t,r,2))),t.lanes|=2),e):(e.flags|=65536,e.lanes=n,e)}var Ci=l.ReactCurrentOwner,Ai=Error(o(461)),Mi=!1;function Di(e,r,t,a){r.child=null===e?la(r,null,t,a):sa(r,e.child,t,a)}function Hi(e,r,t,a,n){t=t.render;var i=r.ref;return so(r,n),a=an(e,r,t,a,i,n),t=ln(),null===e||Mi?(ft&&t&&st(r),r.flags|=1,Di(e,r,a,n),r.child):(un(e,r,n),Qi(e,r,n))}function xi(e,r,t,a,n){if(null===e){var i=t.type;return"function"!=typeof i||Ql(i)||void 0!==i.defaultProps||null!==t.compare||void 0!==t.defaultProps?((e=eu(t.type,null,a,null,r,r.mode,n)).ref=r.ref,e.return=r,r.child=e):(r.tag=15,r.type=i,Ti(e,r,i,a,n))}if(i=e.child,0==(e.lanes&n)){var o=i.memoizedProps;if((t=null!==(t=t.compare)?t:jt)(o,a)&&e.ref===r.ref)return Qi(e,r,n)}return r.flags|=1,(e=Zl(i,a)).ref=r.ref,e.return=r,r.child=e}function Ti(e,r,t,a,n){if(null!==e){var i=e.memoizedProps;if(jt(i,a)&&e.ref===r.ref){if(Mi=!1,r.pendingProps=a=i,0==(e.lanes&n))return r.lanes=e.lanes,Qi(e,r,n);0!=(131072&e.flags)&&(Mi=!0)}}return Ii(e,r,t,a,n)}function Ni(e,r,t){var a=r.pendingProps,n=a.children,i=0!=(2&r.stateNode._pendingVisibility),o=null!==e?e.memoizedState:null;if(Oi(e,r),"hidden"===a.mode||i){if(0!=(128&r.flags)){if(t=null!==o?o.baseLanes|t:t,null!==e){for(a=r.child=e.child,n=0;null!==a;)n=n|a.lanes|a.childLanes,a=a.sibling;r.childLanes=n&~t}else r.childLanes=0,r.child=null;return Ri(e,r,t)}if(0==(1&r.mode))r.memoizedState={baseLanes:0,cachePool:null},null!==e&&wo(0,null),va(),pa(r);else{if(0==(536870912&t))return r.lanes=r.childLanes=536870912,Ri(e,r,null!==o?o.baseLanes|t:t);r.memoizedState={baseLanes:0,cachePool:null},null!==e&&wo(0,null!==o?o.cachePool:null),null!==o?fa(r,o):va(),pa(r)}}else null!==o?(wo(0,o.cachePool),fa(r,o),Sa(),r.memoizedState=null):(null!==e&&wo(0,null),va(),Sa());return Di(e,r,n,t),r.child}function Ri(e,r,t){var a=bo();return a=null===a?null:{parent:_o._currentValue,pool:a},r.memoizedState={baseLanes:t,cachePool:a},null!==e&&wo(0,null),va(),pa(r),null}function Oi(e,r){var t=r.ref;(null===e&&null!==t||null!==e&&e.ref!==t)&&(r.flags|=512,r.flags|=2097152)}function Ii(e,r,t,a,n){var i=Wr(t)?Vr:zr.current;return i=Ur(r,i),so(r,n),t=an(e,r,t,a,i,n),a=ln(),null===e||Mi?(ft&&a&&st(r),r.flags|=1,Di(e,r,t,n),r.child):(un(e,r,n),Qi(e,r,n))}function Fi(e,r,t,a,n,i){return so(r,i),t=on(r,a,t,n),nn(),a=ln(),null===e||Mi?(ft&&a&&st(r),r.flags|=1,Di(e,r,t,i),r.child):(un(e,r,i),Qi(e,r,i))}function Li(e,r,t,a,n){if(Wr(t)){var i=!0;Kr(r)}else i=!1;if(so(r,n),null===r.stateNode)qi(e,r),mi(r,t,a),Si(r,t,a,n),a=!0;else if(null===e){var o=r.stateNode,s=r.memoizedProps;o.props=s;var l=o.context,u=t.contextType;u="object"==typeof u&&null!==u?lo(u):Ur(r,u=Wr(t)?Vr:zr.current);var c=t.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==a||l!==u)&&pi(r,o,a,u),It=!1;var v=r.memoizedState;o.state=v,Ut(r,a,o,n),l=r.memoizedState,s!==a||v!==l||Br.current||It?("function"==typeof c&&(di(r,t,c,a),l=r.memoizedState),(s=It||_i(r,t,s,a,v,l,u))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(r.flags|=4194308)):("function"==typeof o.componentDidMount&&(r.flags|=4194308),r.memoizedProps=a,r.memoizedState=l),o.props=a,o.state=l,o.context=u,a=s):("function"==typeof o.componentDidMount&&(r.flags|=4194308),a=!1)}else{o=r.stateNode,Lt(e,r),s=r.memoizedProps,u=r.type===r.elementType?s:vi(r.type,s),o.props=u,f=r.pendingProps,v=o.context,l="object"==typeof(l=t.contextType)&&null!==l?lo(l):Ur(r,l=Wr(t)?Vr:zr.current);var d=t.getDerivedStateFromProps;(c="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==f||v!==l)&&pi(r,o,a,l),It=!1,v=r.memoizedState,o.state=v,Ut(r,a,o,n);var h=r.memoizedState;s!==f||v!==h||Br.current||It?("function"==typeof d&&(di(r,t,d,a),h=r.memoizedState),(u=It||_i(r,t,u,a,v,h,l)||!1)?(c||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(a,h,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(a,h,l)),"function"==typeof o.componentDidUpdate&&(r.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(r.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&v===e.memoizedState||(r.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&v===e.memoizedState||(r.flags|=1024),r.memoizedProps=a,r.memoizedState=h),o.props=a,o.state=h,o.context=l,a=u):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&v===e.memoizedState||(r.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&v===e.memoizedState||(r.flags|=1024),a=!1)}return Pi(e,r,t,a,i,n)}function Pi(e,r,t,a,n,i){Oi(e,r);var o=0!=(128&r.flags);if(!a&&!o)return n&&Gr(r,t,!1),Qi(e,r,i);a=r.stateNode,Ci.current=r;var s=o&&"function"!=typeof t.getDerivedStateFromError?null:a.render();return r.flags|=1,null!==e&&o?(r.child=sa(r,e.child,null,i),r.child=sa(r,null,s,i)):Di(e,r,s,i),r.memoizedState=a.state,n&&Gr(r,t,!0),r.child}function zi(e){var r=e.stateNode;r.pendingContext?jr(0,r.pendingContext,r.pendingContext!==r.context):r.context&&jr(0,r.context,!1),j(e,r.containerInfo)}function Bi(e,r,t,a,n){return kt(),Ct(n),r.flags|=256,Di(e,r,t,a),r.child}var Vi={dehydrated:null,treeContext:null,retryLane:0};function Ui(e){return{baseLanes:e,cachePool:Eo()}}function Wi(e,r,t){var a,n=r.pendingProps,i=!1,s=0!=(128&r.flags);if((a=s)||(a=(null===e||null!==e.memoizedState)&&0!=(2&ba.current)),a&&(i=!0,r.flags&=-129),null===e){if(ft){if(i?ma(r):Sa(),ft&&((s=e=ct)?St(r,s)||(gt(r)&&bt(),ct=fv(s),a=ut,ct&&St(r,ct)?ht(a,s):(_t(0,r),ft=!1,ut=r,ct=e)):(gt(r)&&bt(),_t(0,r),ft=!1,ut=r,ct=e)),null!==(e=r.memoizedState)&&null!==(e=e.dehydrated))return 0==(1&r.mode)?r.lanes=2:"$!"===e.data?r.lanes=16:r.lanes=536870912,null;ga(r)}return e=n.children,s=n.fallback,i?(Sa(),e=ji(r,e,s,t),r.child.memoizedState=Ui(t),r.memoizedState=Vi,e):"number"==typeof n.unstable_expectedLoadTime?(Sa(),e=ji(r,e,s,t),r.child.memoizedState=Ui(t),r.memoizedState=Vi,r.lanes=4194304,e):(ma(r),$i(r,e))}if(null!==(a=e.memoizedState)){var l=a.dehydrated;if(null!==l)return function(e,r,t,a,n,i,s){if(t)return 256&r.flags?(ma(r),r.flags&=-257,Xi(e,r,s,n=bi(Error(o(422))))):null!==r.memoizedState?(Sa(),r.child=e.child,r.flags|=128,null):(Sa(),n=a.fallback,i=r.mode,a=tu({mode:"visible",children:a.children},i,0,null),(n=ru(n,i,s,null)).flags|=2,a.return=r,n.return=r,a.sibling=n,r.child=a,0!=(1&r.mode)&&sa(r,e.child,null,s),r.child.memoizedState=Ui(s),r.memoizedState=Vi,n);if(ma(r),0==(1&r.mode))return Xi(e,r,s,null);if("$!"===n.data){if(n=n.nextSibling&&n.nextSibling.dataset)var l=n.dgst;return i=null,"POSTPONE"!==(n=l)&&((i=Error(o(419))).digest=n,i=bi(i,n,void 0)),Xi(e,r,s,i)}if(l=0!=(s&e.childLanes),Mi||l){if(null!==(a=Bs)){if(0!=(42&(l=s&-s)))l=1;else switch(l){case 2:l=1;break;case 8:l=4;break;case 32:l=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:l=64;break;case 268435456:l=134217728;break;default:l=0}if(0!==(l=0!=(l&(a.suspendedLanes|s))?0:l)&&l!==i.retryLane)throw i.retryLane=l,Nt(e,l),ml(a,e,l),Ai}return"$?"!==n.data&&Tl(),Xi(e,r,s,null)}return"$?"===n.data?(r.flags|=128,r.child=e.child,r=Kl.bind(null,e),n._reactRetry=r,null):(e=i.treeContext,ct=cv(n.nextSibling),ut=r,ft=!0,vt=null,dt=!1,null!==e&&(et[rt++]=at,et[rt++]=nt,et[rt++]=tt,at=e.id,nt=e.overflow,tt=r),(r=$i(r,a.children)).flags|=4096,r)}(e,r,s,n,l,a,t)}if(i){Sa(),i=n.fallback,s=r.mode,l=(a=e.child).sibling;var u={mode:"hidden",children:n.children};return 0==(1&s)&&r.child!==a?((n=r.child).childLanes=0,n.pendingProps=u,r.deletions=null):(n=Zl(a,u)).subtreeFlags=31457280&a.subtreeFlags,null!==l?i=Zl(l,i):(i=ru(i,s,t,null)).flags|=2,i.return=r,n.return=r,n.sibling=i,r.child=n,n=i,i=r.child,null===(s=e.child.memoizedState)?s=Ui(t):(null!==(a=s.cachePool)?(l=_o._currentValue,a=a.parent!==l?{parent:l,pool:l}:a):a=Eo(),s={baseLanes:s.baseLanes|t,cachePool:a}),i.memoizedState=s,i.childLanes=e.childLanes&~t,r.memoizedState=Vi,n}return ma(r),e=(i=e.child).sibling,n=Zl(i,{mode:"visible",children:n.children}),0==(1&r.mode)&&(n.lanes=t),n.return=r,n.sibling=null,null!==e&&(null===(t=r.deletions)?(r.deletions=[e],r.flags|=16):t.push(e)),r.child=n,r.memoizedState=null,n}function $i(e,r){return(r=tu({mode:"visible",children:r},e.mode,0,null)).return=e,e.child=r}function ji(e,r,t,a){var n=e.mode,i=e.child;return r={mode:"hidden",children:r},0==(1&n)&&null!==i?(i.childLanes=0,i.pendingProps=r):i=tu(r,n,0,null),t=ru(t,n,a,null),i.return=e,t.return=e,i.sibling=t,e.child=i,t}function Xi(e,r,t,a){return null!==a&&Ct(a),sa(r,e.child,null,t),(e=$i(r,r.pendingProps.children)).flags|=2,r.memoizedState=null,e}function Ki(e,r,t){e.lanes|=r;var a=e.alternate;null!==a&&(a.lanes|=r),io(e.return,r,t)}function Gi(e,r,t,a,n){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:r,rendering:null,renderingStartTime:0,last:a,tail:t,tailMode:n}:(i.isBackwards=r,i.rendering=null,i.renderingStartTime=0,i.last=a,i.tail=t,i.tailMode=n)}function Yi(e,r,t){var a=r.pendingProps,n=a.revealOrder,i=a.tail;if(Di(e,r,a.children,t),0!=(2&(a=ba.current)))a=1&a|2,r.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=r.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ki(e,t,r);else if(19===e.tag)Ki(e,t,r);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===r)break e;for(;null===e.sibling;){if(null===e.return||e.return===r)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(p(ba,a),0==(1&r.mode))r.memoizedState=null;else switch(n){case"forwards":for(t=r.child,n=null;null!==t;)null!==(e=t.alternate)&&null===wa(e)&&(n=t),t=t.sibling;null===(t=n)?(n=r.child,r.child=null):(n=t.sibling,t.sibling=null),Gi(r,!1,n,t,i);break;case"backwards":for(t=null,n=r.child,r.child=null;null!==n;){if(null!==(e=n.alternate)&&null===wa(e)){r.child=n;break}e=n.sibling,n.sibling=t,t=n,n=e}Gi(r,!0,t,null,i);break;case"together":Gi(r,!1,null,null,void 0);break;default:r.memoizedState=null}return r.child}function qi(e,r){0==(1&r.mode)&&null!==e&&(e.alternate=null,r.alternate=null,r.flags|=2)}function Qi(e,r,t){if(null!==e&&(r.dependencies=e.dependencies),Ys|=r.lanes,0==(t&r.childLanes))return null;if(null!==e&&r.child!==e.child)throw Error(o(153));if(null!==r.child){for(t=Zl(e=r.child,e.pendingProps),r.child=t,t.return=r;null!==e.sibling;)e=e.sibling,(t=t.sibling=Zl(e,e.pendingProps)).return=r;t.sibling=null}return r.child}var Zi=_(null),Ji=null,eo=null,ro=null;function to(){ro=eo=Ji=null}function ao(e,r,t){p(Zi,r._currentValue),r._currentValue=t}function no(e){var r=Zi.current;e._currentValue=r===I?e._defaultValue:r,m(Zi)}function io(e,r,t){for(;null!==e;){var a=e.alternate;if((e.childLanes&r)!==r?(e.childLanes|=r,null!==a&&(a.childLanes|=r)):null!==a&&(a.childLanes&r)!==r&&(a.childLanes|=r),e===t)break;e=e.return}}function oo(e,r,t){var a=e.child;for(null!==a&&(a.return=e);null!==a;){var n=a.dependencies;if(null!==n)for(var i=a.child,s=n.firstContext;null!==s;){if(s.context===r){if(1===a.tag){(s=Pt(t&-t)).tag=2;var l=a.updateQueue;if(null!==l){var u=(l=l.shared).pending;null===u?s.next=s:(s.next=u.next,u.next=s),l.pending=s}}a.lanes|=t,null!==(s=a.alternate)&&(s.lanes|=t),io(a.return,t,e),n.lanes|=t;break}s=s.next}else if(10===a.tag)i=a.type===e.type?null:a.child;else if(18===a.tag){if(null===(i=a.return))throw Error(o(341));i.lanes|=t,null!==(n=i.alternate)&&(n.lanes|=t),io(i,t,e),i=a.sibling}else i=a.child;if(null!==i)i.return=a;else for(i=a;null!==i;){if(i===e){i=null;break}if(null!==(a=i.sibling)){a.return=i.return,i=a;break}i=i.return}a=i}}function so(e,r){Ji=e,ro=eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&r)&&(Mi=!0),e.firstContext=null)}function lo(e){return co(Ji,e)}function uo(e,r,t){return null===Ji&&so(e,t),co(e,r)}function co(e,r){var t=r._currentValue;if(ro!==r)if(r={context:r,memoizedValue:t,next:null},null===eo){if(null===e)throw Error(o(308));eo=r,e.dependencies={lanes:0,firstContext:r}}else eo=eo.next=r;return t}var fo="undefined"!=typeof AbortController?AbortController:function(){var e=[],r=this.signal={aborted:!1,addEventListener:function(r,t){e.push(t)}};this.abort=function(){r.aborted=!0,e.forEach((function(e){return e()}))}},vo=n.unstable_scheduleCallback,ho=n.unstable_NormalPriority,_o={$$typeof:k,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0,_defaultValue:null,_globalName:null};function mo(){return{controller:new fo,data:new Map,refCount:0}}function po(e){e.refCount--,0===e.refCount&&vo(ho,(function(){e.controller.abort()}))}var So=l.ReactCurrentBatchConfig,go=_(null);function bo(){var e=go.current;return null!==e?e:Bs.pooledCache}function wo(e,r){p(go,null===r?go.current:r.pool)}function Eo(){var e=bo();return null===e?null:{parent:_o._currentValue,pool:e}}function yo(e){e.flags|=4}function ko(e){e.flags|=2097664}function Co(e,r){if("stylesheet"!==r.type||0!=(4&r.state.loading))e.flags&=-16777217;else if(e.flags|=16777216,0==(42&Us)&&!(r="stylesheet"!==r.type||0!=(3&r.state.loading))){if(!Dl())throw Zt=Gt,Kt;e.flags|=8192}}function Ao(e,r){null!==r?e.flags|=4:16384&e.flags&&(r=22!==e.tag?pe():536870912,e.lanes|=r)}function Mo(e,r){if(!ft)switch(e.tailMode){case"hidden":r=e.tail;for(var t=null;null!==r;)null!==r.alternate&&(t=r),r=r.sibling;null===t?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var a=null;null!==t;)null!==t.alternate&&(a=t),t=t.sibling;null===a?r||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function Do(e){var r=null!==e.alternate&&e.alternate.child===e.child,t=0,a=0;if(r)for(var n=e.child;null!==n;)t|=n.lanes|n.childLanes,a|=31457280&n.subtreeFlags,a|=31457280&n.flags,n.return=e,n=n.sibling;else for(n=e.child;null!==n;)t|=n.lanes|n.childLanes,a|=n.subtreeFlags,a|=n.flags,n.return=e,n=n.sibling;return e.subtreeFlags|=a,e.childLanes=t,r}function Ho(e,r,t){var a=r.pendingProps;switch(lt(r),r.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Do(r),null;case 1:case 17:return Wr(r.type)&&$r(),Do(r),null;case 3:return t=r.stateNode,a=null,null!==e&&(a=e.memoizedState.cache),r.memoizedState.cache!==a&&(r.flags|=2048),no(_o),X(),m(Br),m(zr),t.pendingContext&&(t.context=t.pendingContext,t.pendingContext=null),null!==e&&null!==e.child||(Et(r)?yo(r):null===e||e.memoizedState.isDehydrated&&0==(256&r.flags)||(r.flags|=1024,null!==vt&&(gl(vt),vt=null))),Do(r),null;case 26:if(t=r.memoizedState,null===e)yo(r),null!==r.ref&&ko(r),null!==t?(Do(r),Co(r,t)):(Do(r),r.flags&=-16777217);else{var n=e.memoizedState;t!==n&&yo(r),e.ref!==r.ref&&ko(r),null!==t?(Do(r),t===n?r.flags&=-16777217:Co(r,t)):(e.memoizedProps!==a&&yo(r),Do(r),r.flags&=-16777217)}return null;case 27:if(G(r),t=U.current,n=r.type,null!==e&&null!=r.stateNode)e.memoizedProps!==a&&yo(r),e.ref!==r.ref&&ko(r);else{if(!a){if(null===r.stateNode)throw Error(o(166));return Do(r),null}e=B.current,Et(r)?vv(r.stateNode,r.type,r.memoizedProps,e,r):(e=hv(n,a,t),r.stateNode=e,yo(r)),null!==r.ref&&ko(r)}return Do(r),null;case 5:if(G(r),t=r.type,null!==e&&null!=r.stateNode)e.memoizedProps!==a&&yo(r),e.ref!==r.ref&&ko(r);else{if(!a){if(null===r.stateNode)throw Error(o(166));return Do(r),null}if(e=B.current,Et(r))vv(r.stateNode,r.type,r.memoizedProps,e,r);else{switch(n=qf(U.current),e){case 1:e=n.createElementNS("http://www.w3.org/2000/svg",t);break;case 2:e=n.createElementNS("http://www.w3.org/1998/Math/MathML",t);break;default:switch(t){case"svg":e=n.createElementNS("http://www.w3.org/2000/svg",t);break;case"math":e=n.createElementNS("http://www.w3.org/1998/Math/MathML",t);break;case"script":(e=n.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof a.is?n.createElement("select",{is:a.is}):n.createElement("select"),a.multiple?e.multiple=!0:a.size&&(e.size=a.size);break;default:e="string"==typeof a.is?n.createElement(t,{is:a.is}):n.createElement(t)}}e[Me]=r,e[De]=a;e:for(n=r.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&27!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===r)break e;for(;null===n.sibling;){if(null===n.return||n.return===r)break e;n=n.return}n.sibling.return=n.return,n=n.sibling}r.stateNode=e;e:switch(Xf(e,t,a),t){case"button":case"input":case"select":case"textarea":e=!!a.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&yo(r)}null!==r.ref&&ko(r)}return Do(r),r.flags&=-16777217,null;case 6:if(e&&null!=r.stateNode)e.memoizedProps!==a&&yo(r);else{if("string"!=typeof a&&null===r.stateNode)throw Error(o(166));if(e=U.current,Et(r)){e:{if(e=r.stateNode,t=r.memoizedProps,e[Me]=r,(a=e.nodeValue!==t)&&null!==(n=ut))switch(n.tag){case 3:if(n=0!=(1&n.mode),Uf(e.nodeValue,t,n),n){e=!1;break e}break;case 27:case 5:var i=0!=(1&n.mode);if(!0!==n.memoizedProps.suppressHydrationWarning&&Uf(e.nodeValue,t,i),i){e=!1;break e}}e=a}e&&yo(r)}else(e=qf(e).createTextNode(a))[Me]=r,r.stateNode=e}return Do(r),null;case 13:if(ga(r),a=r.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ft&&null!==ct&&0!=(1&r.mode)&&0==(128&r.flags))yt(),kt(),r.flags|=384,n=!1;else if(n=Et(r),null!==a&&null!==a.dehydrated){if(null===e){if(!n)throw Error(o(318));if(!(n=null!==(n=r.memoizedState)?n.dehydrated:null))throw Error(o(317));n[Me]=r}else kt(),0==(128&r.flags)&&(r.memoizedState=null),r.flags|=4;Do(r),n=!1}else null!==vt&&(gl(vt),vt=null),n=!0;if(!n)return 256&r.flags?r:null}return 0!=(128&r.flags)?(r.lanes=t,r):(t=null!==a,e=null!==e&&null!==e.memoizedState,t&&(n=null,null!==(a=r.child).alternate&&null!==a.alternate.memoizedState&&null!==a.alternate.memoizedState.cachePool&&(n=a.alternate.memoizedState.cachePool.pool),i=null,null!==a.memoizedState&&null!==a.memoizedState.cachePool&&(i=a.memoizedState.cachePool.pool),i!==n&&(a.flags|=2048)),t!==e&&t&&(r.child.flags|=8192),Ao(r,r.updateQueue),Do(r),null);case 4:return X(),null===e&&Nf(r.stateNode.containerInfo),Do(r),null;case 10:return no(r.type._context),Do(r),null;case 19:if(m(ba),null===(n=r.memoizedState))return Do(r),null;if(a=0!=(128&r.flags),null===(i=n.rendering))if(a)Mo(n,!1);else{if(0!==Ks||null!==e&&0!=(128&e.flags))for(e=r.child;null!==e;){if(null!==(i=wa(e))){for(r.flags|=128,Mo(n,!1),e=i.updateQueue,r.updateQueue=e,Ao(r,e),r.subtreeFlags=0,e=t,t=r.child;null!==t;)Jl(t,e),t=t.sibling;return p(ba,1&ba.current|2),r.child}e=e.sibling}null!==n.tail&&J()>tl&&(r.flags|=128,a=!0,Mo(n,!1),r.lanes=4194304)}else{if(!a)if(null!==(e=wa(i))){if(r.flags|=128,a=!0,e=e.updateQueue,r.updateQueue=e,Ao(r,e),Mo(n,!0),null===n.tail&&"hidden"===n.tailMode&&!i.alternate&&!ft)return Do(r),null}else 2*J()-n.renderingStartTime>tl&&536870912!==t&&(r.flags|=128,a=!0,Mo(n,!1),r.lanes=4194304);n.isBackwards?(i.sibling=r.child,r.child=i):(null!==(e=n.last)?e.sibling=i:r.child=i,n.last=i)}return null!==n.tail?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.renderingStartTime=J(),r.sibling=null,e=ba.current,p(ba,a?1&e|2:1&e),r):(Do(r),null);case 22:case 23:return ga(r),da(),a=null!==r.memoizedState,null!==e?null!==e.memoizedState!==a&&(r.flags|=8192):a&&(r.flags|=8192),a&&0!=(1&r.mode)?0!=(536870912&t)&&0==(128&r.flags)&&(Do(r),6&r.subtreeFlags&&(r.flags|=8192)):Do(r),null!==(t=r.updateQueue)&&Ao(r,t.retryQueue),t=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),a=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(a=r.memoizedState.cachePool.pool),a!==t&&(r.flags|=2048),null!==e&&m(go),null;case 24:return t=null,null!==e&&(t=e.memoizedState.cache),r.memoizedState.cache!==t&&(r.flags|=2048),no(_o),Do(r),null;case 25:return null}throw Error(o(156,r.tag))}function xo(e,r){switch(lt(r),r.tag){case 1:return Wr(r.type)&&$r(),65536&(e=r.flags)?(r.flags=-65537&e|128,r):null;case 3:return no(_o),X(),m(Br),m(zr),0!=(65536&(e=r.flags))&&0==(128&e)?(r.flags=-65537&e|128,r):null;case 26:case 27:case 5:return G(r),null;case 13:if(ga(r),null!==(e=r.memoizedState)&&null!==e.dehydrated){if(null===r.alternate)throw Error(o(340));kt()}return 65536&(e=r.flags)?(r.flags=-65537&e|128,r):null;case 19:return m(ba),null;case 4:return X(),null;case 10:return no(r.type._context),null;case 22:case 23:return ga(r),da(),null!==e&&m(go),65536&(e=r.flags)?(r.flags=-65537&e|128,r):null;case 24:return no(_o),null;default:return null}}function To(e,r){switch(lt(r),r.tag){case 1:null!=(e=r.type.childContextTypes)&&$r();break;case 3:no(_o),X(),m(Br),m(zr);break;case 26:case 27:case 5:G(r);break;case 4:X();break;case 13:ga(r);break;case 19:m(ba);break;case 10:no(r.type._context);break;case 22:case 23:ga(r),da(),null!==e&&m(go);break;case 24:no(_o)}}function No(e,r,t){var a=Array.prototype.slice.call(arguments,3);try{r.apply(t,a)}catch(e){this.onError(e)}}var Ro=!1,Oo=null,Io=!1,Fo=null,Lo={onError:function(e){Ro=!0,Oo=e}};function Po(e,r,t,a,n,i,o,s,l){Ro=!1,Oo=null,No.apply(Lo,arguments)}var zo=!1,Bo=!1,Vo="function"==typeof WeakSet?WeakSet:Set,Uo=null;function Wo(e,r){try{var t=e.ref;if(null!==t){var a=e.stateNode;switch(e.tag){case 26:case 27:case 5:var n=a;break;default:n=a}"function"==typeof t?e.refCleanup=t(n):t.current=n}}catch(t){Wl(e,r,t)}}function $o(e,r){var t=e.ref,a=e.refCleanup;if(null!==t)if("function"==typeof a)try{a()}catch(t){Wl(e,r,t)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof t)try{t(null)}catch(t){Wl(e,r,t)}else t.current=null}function jo(e,r,t){try{t()}catch(t){Wl(e,r,t)}}var Xo=!1;function Ko(e,r,t){var a=r.updateQueue;if(null!==(a=null!==a?a.lastEffect:null)){var n=a=a.next;do{if((n.tag&e)===e){var i=n.inst,o=i.destroy;void 0!==o&&(i.destroy=void 0,jo(r,t,o))}n=n.next}while(n!==a)}}function Go(e,r){if(null!==(r=null!==(r=r.updateQueue)?r.lastEffect:null)){var t=r=r.next;do{if((t.tag&e)===e){var a=t.create,n=t.inst;a=a(),n.destroy=a}t=t.next}while(t!==r)}}function Yo(e,r){try{Go(r,e)}catch(r){Wl(e,e.return,r)}}function qo(e){var r=e.updateQueue;if(null!==r){var t=e.stateNode;try{$t(r,t)}catch(r){Wl(e,e.return,r)}}}function Qo(e){var r=e.type,t=e.memoizedProps,a=e.stateNode;try{e:switch(r){case"button":case"input":case"select":case"textarea":t.autoFocus&&a.focus();break e;case"img":t.src&&(a.src=t.src)}}catch(r){Wl(e,e.return,r)}}function Zo(e,r,t){var a=t.flags;switch(t.tag){case 0:case 11:case 15:hs(e,t),4&a&&Yo(t,5);break;case 1:if(hs(e,t),4&a)if(e=t.stateNode,null===r)try{e.componentDidMount()}catch(e){Wl(t,t.return,e)}else{var n=t.elementType===t.type?r.memoizedProps:vi(t.type,r.memoizedProps);r=r.memoizedState;try{e.componentDidUpdate(n,r,e.__reactInternalSnapshotBeforeUpdate)}catch(e){Wl(t,t.return,e)}}64&a&&qo(t),512&a&&Wo(t,t.return);break;case 3:if(hs(e,t),64&a&&null!==(a=t.updateQueue)){if(e=null,null!==t.child)switch(t.child.tag){case 27:case 5:case 1:e=t.child.stateNode}try{$t(a,e)}catch(e){Wl(t,t.return,e)}}break;case 26:hs(e,t),512&a&&Wo(t,t.return);break;case 27:case 5:hs(e,t),null===r&&4&a&&Qo(t),512&a&&Wo(t,t.return);break;case 12:default:hs(e,t);break;case 13:hs(e,t),4&a&&ls(e,t);break;case 22:if(0!=(1&t.mode)){if(!(n=null!==t.memoizedState||zo)){r=null!==r&&null!==r.memoizedState||Bo;var i=zo,o=Bo;zo=n,(Bo=r)&&!o?ms(e,t,0!=(8772&t.subtreeFlags)):hs(e,t),zo=i,Bo=o}}else hs(e,t);512&a&&("manual"===t.memoizedProps.mode?Wo(t,t.return):$o(t,t.return))}}function Jo(e){var r=e.alternate;null!==r&&(e.alternate=null,Jo(r)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(r=e.stateNode)&&Ie(r),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function es(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag||4===e.tag}function rs(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||es(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&27!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ts(e,r,t){var a=e.tag;if(5===a||6===a)e=e.stateNode,r?8===t.nodeType?t.parentNode.insertBefore(e,r):t.insertBefore(e,r):(8===t.nodeType?(r=t.parentNode).insertBefore(e,t):(r=t).appendChild(e),null!=(t=t._reactRootContainer)||null!==r.onclick||(r.onclick=Wf));else if(4!==a&&27!==a&&null!==(e=e.child))for(ts(e,r,t),e=e.sibling;null!==e;)ts(e,r,t),e=e.sibling}function as(e,r,t){var a=e.tag;if(5===a||6===a)e=e.stateNode,r?t.insertBefore(e,r):t.appendChild(e);else if(4!==a&&27!==a&&null!==(e=e.child))for(as(e,r,t),e=e.sibling;null!==e;)as(e,r,t),e=e.sibling}var ns=null,is=!1;function os(e,r,t){for(t=t.child;null!==t;)ss(e,r,t),t=t.sibling}function ss(e,r,t){if(se&&"function"==typeof se.onCommitFiberUnmount)try{se.onCommitFiberUnmount(oe,t)}catch(e){}switch(t.tag){case 26:Bo||$o(t,r),os(e,r,t),t.memoizedState?t.memoizedState.count--:t.stateNode&&(t=t.stateNode).parentNode.removeChild(t);break;case 27:Bo||$o(t,r);var a=ns,n=is;for(ns=t.stateNode,os(e,r,t),e=(t=t.stateNode).attributes;e.length;)t.removeAttributeNode(e[0]);Ie(t),ns=a,is=n;break;case 5:Bo||$o(t,r);case 6:a=ns,n=is,ns=null,os(e,r,t),is=n,null!==(ns=a)&&(is?(e=ns,t=t.stateNode,8===e.nodeType?e.parentNode.removeChild(t):e.removeChild(t)):ns.removeChild(t.stateNode));break;case 18:null!==ns&&(is?(e=ns,t=t.stateNode,8===e.nodeType?sv(e.parentNode,t):1===e.nodeType&&sv(e,t),fc(e)):sv(ns,t.stateNode));break;case 4:a=ns,n=is,ns=t.stateNode.containerInfo,is=!0,os(e,r,t),ns=a,is=n;break;case 0:case 11:case 14:case 15:if(!Bo&&null!==(a=t.updateQueue)&&null!==(a=a.lastEffect)){n=a=a.next;do{var i=n.tag,o=n.inst,s=o.destroy;void 0!==s&&(0!=(2&i)||0!=(4&i))&&(o.destroy=void 0,jo(t,r,s)),n=n.next}while(n!==a)}os(e,r,t);break;case 1:if(!Bo&&($o(t,r),"function"==typeof(a=t.stateNode).componentWillUnmount))try{a.props=t.memoizedProps,a.state=t.memoizedState,a.componentWillUnmount()}catch(e){Wl(t,r,e)}os(e,r,t);break;case 21:os(e,r,t);break;case 22:$o(t,r),1&t.mode?(Bo=(a=Bo)||null!==t.memoizedState,os(e,r,t),Bo=a):os(e,r,t);break;default:os(e,r,t)}}function ls(e,r){if(null===r.memoizedState&&null!==(e=r.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{fc(e)}catch(e){Wl(r,r.return,e)}}function us(e,r){var t=function(e){switch(e.tag){case 13:case 19:var r=e.stateNode;return null===r&&(r=e.stateNode=new Vo),r;case 22:return null===(r=(e=e.stateNode)._retryCache)&&(r=e._retryCache=new Vo),r;default:throw Error(o(435,e.tag))}}(e);r.forEach((function(r){var a=Gl.bind(null,e,r);t.has(r)||(t.add(r),r.then(a,a))}))}function cs(e,r){var t=r.deletions;if(null!==t)for(var a=0;a<t.length;a++){var n=t[a];try{var i=e,s=r,l=s;e:for(;null!==l;){switch(l.tag){case 27:case 5:ns=l.stateNode,is=!1;break e;case 3:case 4:ns=l.stateNode.containerInfo,is=!0;break e}l=l.return}if(null===ns)throw Error(o(160));ss(i,s,n),ns=null,is=!1;var u=n.alternate;null!==u&&(u.return=null),n.return=null}catch(e){Wl(n,r,e)}}if(12854&r.subtreeFlags)for(r=r.child;null!==r;)vs(r,e),r=r.sibling}var fs=null;function vs(e,r){var t=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(cs(r,e),ds(e),4&a){try{Ko(3,e,e.return),Go(3,e)}catch(r){Wl(e,e.return,r)}try{Ko(5,e,e.return)}catch(r){Wl(e,e.return,r)}}break;case 1:cs(r,e),ds(e),512&a&&null!==t&&$o(t,t.return),64&a&&zo&&null!==(e=e.updateQueue)&&null!==(t=e.callbacks)&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=null===a?t:a.concat(t));break;case 26:var n=fs;if(cs(r,e),ds(e),512&a&&null!==t&&$o(t,t.return),4&a)if(r=null!==t?t.memoizedState:null,a=e.memoizedState,null===t)if(null===a)if(null===e.stateNode){e:{t=e.type,a=e.memoizedProps,r=n.ownerDocument||n;r:switch(t){case"title":(!(n=r.getElementsByTagName("title")[0])||n[Oe]||n[Me]||"http://www.w3.org/2000/svg"===n.namespaceURI||n.hasAttribute("itemprop"))&&(n=r.createElement(t),r.head.insertBefore(n,r.querySelector("head > title"))),Xf(n,t,a),n[Me]=e,Ve(n),t=n;break e;case"link":var i=xv("link","href",r).get(t+(a.href||""));if(i)for(var s=0;s<i.length;s++)if((n=i[s]).getAttribute("href")===(null==a.href?null:a.href)&&n.getAttribute("rel")===(null==a.rel?null:a.rel)&&n.getAttribute("title")===(null==a.title?null:a.title)&&n.getAttribute("crossorigin")===(null==a.crossOrigin?null:a.crossOrigin)){i.splice(s,1);break r}Xf(n=r.createElement(t),t,a),r.head.appendChild(n);break;case"meta":if(i=xv("meta","content",r).get(t+(a.content||"")))for(s=0;s<i.length;s++)if((n=i[s]).getAttribute("content")===(null==a.content?null:""+a.content)&&n.getAttribute("name")===(null==a.name?null:a.name)&&n.getAttribute("property")===(null==a.property?null:a.property)&&n.getAttribute("http-equiv")===(null==a.httpEquiv?null:a.httpEquiv)&&n.getAttribute("charset")===(null==a.charSet?null:a.charSet)){i.splice(s,1);break r}Xf(n=r.createElement(t),t,a),r.head.appendChild(n);break;default:throw Error(o(468,t))}n[Me]=e,Ve(n),t=n}e.stateNode=t}else Tv(n,e.type,e.stateNode);else e.stateNode=Cv(n,a,e.memoizedProps);else if(r!==a)null===r?null!==t.stateNode&&(t=t.stateNode).parentNode.removeChild(t):r.count--,null===a?Tv(n,e.type,e.stateNode):Cv(n,a,e.memoizedProps);else if(null===a&&null!==e.stateNode){e.updateQueue=null;try{var l=e.stateNode,u=e.memoizedProps;Kf(l,e.type,t.memoizedProps,u),l[De]=u}catch(r){Wl(e,e.return,r)}}break;case 27:if(4&a&&null===e.alternate){for(n=e.stateNode,i=e.memoizedProps,s=n.firstChild;s;){var c=s.nextSibling,f=s.nodeName;s[Oe]||"HEAD"===f||"BODY"===f||"SCRIPT"===f||"STYLE"===f||"LINK"===f&&"stylesheet"===s.rel.toLowerCase()||n.removeChild(s),s=c}for(s=e.type,c=n.attributes;c.length;)n.removeAttributeNode(c[0]);Xf(n,s,i),n[Me]=e,n[De]=i}case 5:if(cs(r,e),ds(e),512&a&&null!==t&&$o(t,t.return),32&e.flags){r=e.stateNode;try{br(r,"")}catch(r){Wl(e,e.return,r)}}if(4&a&&null!=(a=e.stateNode)){r=e.memoizedProps,t=null!==t?t.memoizedProps:r,n=e.type,e.updateQueue=null;try{Kf(a,n,t,r),a[De]=r}catch(r){Wl(e,e.return,r)}}break;case 6:if(cs(r,e),ds(e),4&a){if(null===e.stateNode)throw Error(o(162));t=e.stateNode,a=e.memoizedProps;try{t.nodeValue=a}catch(r){Wl(e,e.return,r)}}break;case 3:if(Hv=null,n=fs,fs=pv(r.containerInfo),cs(r,e),fs=n,ds(e),4&a&&null!==t&&t.memoizedState.isDehydrated)try{fc(r.containerInfo)}catch(r){Wl(e,e.return,r)}break;case 4:t=fs,fs=pv(e.stateNode.containerInfo),cs(r,e),ds(e),fs=t;break;case 13:cs(r,e),ds(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==t&&null!==t.memoizedState)&&(rl=J()),4&a&&null!==(t=e.updateQueue)&&(e.updateQueue=null,us(e,t));break;case 22:if(512&a&&null!==t&&$o(t,t.return),l=null!==e.memoizedState,u=null!==t&&null!==t.memoizedState,1&e.mode){var v=zo,d=Bo;zo=v||l,Bo=d||u,cs(r,e),Bo=d,zo=v}else cs(r,e);if(ds(e),(r=e.stateNode)._current=e,r._visibility&=-3,r._visibility|=2&r._pendingVisibility,8192&a&&(r._visibility=l?-2&r._visibility:1|r._visibility,l&&(r=zo||Bo,null===t||u||r||0!=(1&e.mode)&&_s(e)),null===e.memoizedProps||"manual"!==e.memoizedProps.mode))e:for(t=null,r=e;;){if(5===r.tag||26===r.tag||27===r.tag){if(null===t){t=r;try{n=r.stateNode,l?"function"==typeof(i=n.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=r.stateNode,f=null!=(c=r.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,s.style.display=null==f||"boolean"==typeof f?"":(""+f).trim())}catch(r){Wl(e,e.return,r)}}}else if(6===r.tag){if(null===t)try{r.stateNode.nodeValue=l?"":r.memoizedProps}catch(r){Wl(e,e.return,r)}}else if((22!==r.tag&&23!==r.tag||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)break e;for(;null===r.sibling;){if(null===r.return||r.return===e)break e;t===r&&(t=null),r=r.return}t===r&&(t=null),r.sibling.return=r.return,r=r.sibling}4&a&&null!==(t=e.updateQueue)&&null!==(a=t.retryQueue)&&(t.retryQueue=null,us(e,a));break;case 19:cs(r,e),ds(e),4&a&&null!==(t=e.updateQueue)&&(e.updateQueue=null,us(e,t));break;case 21:break;default:cs(r,e),ds(e)}}function ds(e){var r=e.flags;if(2&r){try{if(27!==e.tag){e:{for(var t=e.return;null!==t;){if(es(t)){var a=t;break e}t=t.return}throw Error(o(160))}switch(a.tag){case 27:var n=a.stateNode;as(e,rs(e),n);break;case 5:var i=a.stateNode;32&a.flags&&(br(i,""),a.flags&=-33),as(e,rs(e),i);break;case 3:case 4:var s=a.stateNode.containerInfo;ts(e,rs(e),s);break;default:throw Error(o(161))}}}catch(r){Wl(e,e.return,r)}e.flags&=-3}4096&r&&(e.flags&=-4097)}function hs(e,r){if(8772&r.subtreeFlags)for(r=r.child;null!==r;)Zo(e,r.alternate,r),r=r.sibling}function _s(e){for(e=e.child;null!==e;){var r=e;switch(r.tag){case 0:case 11:case 14:case 15:Ko(4,r,r.return),_s(r);break;case 1:$o(r,r.return);var t=r.stateNode;if("function"==typeof t.componentWillUnmount){var a=r,n=r.return;try{var i=a;t.props=i.memoizedProps,t.state=i.memoizedState,t.componentWillUnmount()}catch(e){Wl(a,n,e)}}_s(r);break;case 26:case 27:case 5:$o(r,r.return),_s(r);break;case 22:$o(r,r.return),null===r.memoizedState&&_s(r);break;default:_s(r)}e=e.sibling}}function ms(e,r,t){for(t=t&&0!=(8772&r.subtreeFlags),r=r.child;null!==r;){var a=r.alternate,n=e,i=r,o=i.flags;switch(i.tag){case 0:case 11:case 15:ms(n,i,t),Yo(i,4);break;case 1:if(ms(n,i,t),"function"==typeof(n=i.stateNode).componentDidMount)try{n.componentDidMount()}catch(e){Wl(i,i.return,e)}if(null!==(a=i.updateQueue)){var s=a.shared.hiddenCallbacks;if(null!==s)for(a.shared.hiddenCallbacks=null,a=0;a<s.length;a++)Wt(s[a],n)}t&&64&o&&qo(i),Wo(i,i.return);break;case 26:case 27:case 5:ms(n,i,t),t&&null===a&&4&o&&Qo(i),Wo(i,i.return);break;case 12:default:ms(n,i,t);break;case 13:ms(n,i,t),t&&4&o&&ls(n,i);break;case 22:null===i.memoizedState&&ms(n,i,t),Wo(i,i.return)}r=r.sibling}}function ps(e,r){try{Go(r,e)}catch(r){Wl(e,e.return,r)}}function Ss(e,r){var t=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(t=e.memoizedState.cachePool.pool),e=null,null!==r.memoizedState&&null!==r.memoizedState.cachePool&&(e=r.memoizedState.cachePool.pool),e!==t&&(null!=e&&e.refCount++,null!=t&&po(t))}function gs(e,r){e=null,null!==r.alternate&&(e=r.alternate.memoizedState.cache),(r=r.memoizedState.cache)!==e&&(r.refCount++,null!=e&&po(e))}function bs(e,r,t,a){if(10256&r.subtreeFlags)for(r=r.child;null!==r;)ws(e,r,t,a),r=r.sibling}function ws(e,r,t,a){var n=r.flags;switch(r.tag){case 0:case 11:case 15:bs(e,r,t,a),2048&n&&ps(r,9);break;case 3:bs(e,r,t,a),2048&n&&(e=null,null!==r.alternate&&(e=r.alternate.memoizedState.cache),(r=r.memoizedState.cache)!==e&&(r.refCount++,null!=e&&po(e)));break;case 23:break;case 22:var i=r.stateNode;null!==r.memoizedState?4&i._visibility?bs(e,r,t,a):1&r.mode?ys(e,r):(i._visibility|=4,bs(e,r,t,a)):4&i._visibility?bs(e,r,t,a):(i._visibility|=4,Es(e,r,t,a,0!=(10256&r.subtreeFlags))),2048&n&&Ss(r.alternate,r);break;case 24:bs(e,r,t,a),2048&n&&gs(r.alternate,r);break;default:bs(e,r,t,a)}}function Es(e,r,t,a,n){for(n=n&&0!=(10256&r.subtreeFlags),r=r.child;null!==r;){var i=e,o=r,s=t,l=a,u=o.flags;switch(o.tag){case 0:case 11:case 15:Es(i,o,s,l,n),ps(o,8);break;case 23:break;case 22:var c=o.stateNode;null!==o.memoizedState?4&c._visibility?Es(i,o,s,l,n):1&o.mode?ys(i,o):(c._visibility|=4,Es(i,o,s,l,n)):(c._visibility|=4,Es(i,o,s,l,n)),n&&2048&u&&Ss(o.alternate,o);break;case 24:Es(i,o,s,l,n),n&&2048&u&&gs(o.alternate,o);break;default:Es(i,o,s,l,n)}r=r.sibling}}function ys(e,r){if(10256&r.subtreeFlags)for(r=r.child;null!==r;){var t=e,a=r,n=a.flags;switch(a.tag){case 22:ys(t,a),2048&n&&Ss(a.alternate,a);break;case 24:ys(t,a),2048&n&&gs(a.alternate,a);break;default:ys(t,a)}r=r.sibling}}var ks=8192;function Cs(e){if(e.subtreeFlags&ks)for(e=e.child;null!==e;)As(e),e=e.sibling}function As(e){switch(e.tag){case 26:Cs(e),e.flags&ks&&null!==e.memoizedState&&function(e,r,t){if(null===Nv)throw Error(o(475));var a=Nv;if("stylesheet"===r.type&&("string"!=typeof t.media||!1!==matchMedia(t.media).matches)){if(null===r.instance){var n=bv(t.href),i=e.querySelector(wv(n));if(i)return null!==(e=i._p)&&"object"==typeof e&&"function"==typeof e.then&&(a.count++,a=Ov.bind(a),e.then(a,a)),r.state.loading|=4,r.instance=i,void Ve(i);i=e.ownerDocument||e,t=Ev(t),(n=_v.get(n))&&Mv(t,n),Ve(i=i.createElement("link"));var s=i;s._p=new Promise((function(e,r){s.onload=e,s.onerror=r})),Xf(i,"link",t),r.instance=i}null===a.stylesheets&&(a.stylesheets=new Map),a.stylesheets.set(r,e),(e=r.state.preload)&&0==(3&r.state.loading)&&(a.count++,r=Ov.bind(a),e.addEventListener("load",r),e.addEventListener("error",r))}}(fs,e.memoizedState,e.memoizedProps);break;case 5:default:Cs(e);break;case 3:case 4:var r=fs;fs=pv(e.stateNode.containerInfo),Cs(e),fs=r;break;case 22:null===e.memoizedState&&(null!==(r=e.alternate)&&null!==r.memoizedState?(r=ks,ks=16777216,Cs(e),ks=r):Cs(e))}}function Ms(e){var r=e.alternate;if(null!==r&&null!==(e=r.child)){r.child=null;do{r=e.sibling,e.sibling=null,e=r}while(null!==e)}}function Ds(e){var r=e.deletions;if(0!=(16&e.flags)){if(null!==r)for(var t=0;t<r.length;t++){var a=r[t];Uo=a,Ts(a,e)}Ms(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)Hs(e),e=e.sibling}function Hs(e){switch(e.tag){case 0:case 11:case 15:Ds(e),2048&e.flags&&Ko(9,e,e.return);break;case 22:var r=e.stateNode;null!==e.memoizedState&&4&r._visibility&&(null===e.return||13!==e.return.tag)?(r._visibility&=-5,xs(e)):Ds(e);break;default:Ds(e)}}function xs(e){var r=e.deletions;if(0!=(16&e.flags)){if(null!==r)for(var t=0;t<r.length;t++){var a=r[t];Uo=a,Ts(a,e)}Ms(e)}for(e=e.child;null!==e;){switch((r=e).tag){case 0:case 11:case 15:Ko(8,r,r.return),xs(r);break;case 22:4&(t=r.stateNode)._visibility&&(t._visibility&=-5,xs(r));break;default:xs(r)}e=e.sibling}}function Ts(e,r){for(;null!==Uo;){var t=Uo;switch(t.tag){case 0:case 11:case 15:Ko(8,t,r);break;case 23:case 22:if(null!==t.memoizedState&&null!==t.memoizedState.cachePool){var a=t.memoizedState.cachePool.pool;null!=a&&a.refCount++}break;case 24:po(t.memoizedState.cache)}if(null!==(a=t.child))a.return=t,Uo=a;else e:for(t=e;null!==Uo;){var n=(a=Uo).sibling,i=a.return;if(Jo(a),a===t){Uo=null;break e}if(null!==n){n.return=i,Uo=n;break e}Uo=i}}}var Ns,Rs={getCacheSignal:function(){return lo(_o).controller.signal},getCacheForType:function(e){var r=lo(_o),t=r.data.get(e);return void 0===t&&(t=e(),r.data.set(e,t)),t}},Os="function"==typeof WeakMap?WeakMap:Map,Is=l.ReactCurrentDispatcher,Fs=l.ReactCurrentCache,Ls=l.ReactCurrentOwner,Ps=l.ReactCurrentBatchConfig,zs=0,Bs=null,Vs=null,Us=0,Ws=0,$s=null,js=!1,Xs=0,Ks=0,Gs=null,Ys=0,qs=0,Qs=0,Zs=0,Js=null,el=null,rl=0,tl=1/0,al=null,nl=!1,il=null,ol=null,sl=!1,ll=null,ul=0,cl=0,fl=null,vl=0,dl=null;function hl(e){return 0==(1&e.mode)?2:0!=(2&zs)&&0!==Us?Us&-Us:null!==So.transition?0!==(e=La)?e:Oa():0!==(e=Ee)?e:e=void 0===(e=window.event)?32:bc(e.type)}function _l(){return 0===Zs&&(Zs=0==(536870912&Us)||ft?Oa():536870912),Zs}function ml(e,r,t){(e===Bs&&2===Ws||null!==e.cancelPendingCommit)&&(Al(e,0),El(e,Us,Zs)),ge(e,t),0!=(2&zs)&&e===Bs||(e===Bs&&(0==(2&zs)&&(qs|=t),4===Ks&&El(e,Us,Zs)),Da(e),2===t&&0===zs&&0==(1&r.mode)&&(tl=J()+500,Ha(!0)))}function pl(e,r){if(0!=(6&zs))throw Error(o(327));var t=e.callbackNode;if(Vl()&&e.callbackNode!==t)return null;var a=he(e,e===Bs?Us:0);if(0===a)return null;var n=0==(60&a)&&0==(a&e.expiredLanes)&&!r;if(r=n?function(e,r){var t=zs;zs|=2;var a=Hl(),n=xl();Bs===e&&Us===r||(al=null,tl=J()+500,Al(e,r));e:for(;;)try{if(0!==Ws&&null!==Vs){r=Vs;var i=$s;r:switch(Ws){case 1:case 6:Ws=0,$s=null,Ll(r,i);break;case 2:if(Yt(i)){Ws=0,$s=null,Fl(r);break}r=function(){2===Ws&&Bs===e&&(Ws=7),Da(e)},i.then(r,r);break e;case 3:Ws=7;break e;case 4:Ws=5;break e;case 7:Yt(i)?(Ws=0,$s=null,Fl(r)):(Ws=0,$s=null,Ll(r,i));break;case 5:switch(Vs.tag){case 5:case 26:case 27:Ws=0,$s=null;var s=(r=Vs).sibling;if(null!==s)Vs=s;else{var l=r.return;null!==l?(Vs=l,Pl(l)):Vs=null}break r}Ws=0,$s=null,Ll(r,i);break;case 8:Cl(),Ks=6;break e;default:throw Error(o(462))}}Ol();break}catch(e){Ml(0,e)}return to(),Is.current=a,Fs.current=n,zs=t,null!==Vs?0:(Bs=null,Us=0,Ht(),Ks)}(e,a):Nl(e,a),0!==r)for(var i=n;;){if(6===r)El(e,a,0);else{if(n=e.current.alternate,i&&!wl(n)){r=Nl(e,a),i=!1;continue}if(2===r){var s=me(e,i=a);0!==s&&(a=s,r=Sl(e,i,s))}if(1===r)throw t=Gs,Al(e,0),El(e,a,0),Da(e),t;e.finishedWork=n,e.finishedLanes=a;e:{switch(i=e,r){case 0:case 1:throw Error(o(345));case 4:if((4194176&a)===a){El(i,a,Zs);break e}break;case 2:case 3:case 5:break;default:throw Error(o(329))}if((62914560&a)===a&&10<(r=rl+300-J())){if(El(i,a,Zs),0!==he(i,0))break e;i.timeoutHandle=tv(bl.bind(null,i,n,el,al,a,Zs),r)}else bl(i,n,el,al,a,Zs)}}break}return Da(e),Na(e,J()),e.callbackNode===t?pl.bind(null,e):null}function Sl(e,r,t){var a=Js,n=e.current.memoizedState.isDehydrated;if(n&&(Al(e,t).flags|=256),2!==(t=Nl(e,t))){if(js&&!n)return e.errorRecoveryDisabledLanes|=r,qs|=r,4;e=el,el=a,null!==e&&gl(e)}return t}function gl(e){null===el?el=e:el.push.apply(el,e)}function bl(e,r,t,a,n,i){if(0==(42&n)&&(Nv={stylesheets:null,count:0,unsuspend:Rv},As(r),r=function(){if(null===Nv)throw Error(o(475));var e=Nv;return e.stylesheets&&0===e.count&&Fv(e,e.stylesheets),0<e.count?function(r){var t=setTimeout((function(){if(e.stylesheets&&Fv(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}}),6e4);return e.unsuspend=r,function(){e.unsuspend=null,clearTimeout(t)}}:null}(),null!==r))return e.cancelPendingCommit=r(zl.bind(null,e,t,a)),void El(e,n,i);zl(e,t,a,i)}function wl(e){for(var r=e;;){if(16384&r.flags){var t=r.updateQueue;if(null!==t&&null!==(t=t.stores))for(var a=0;a<t.length;a++){var n=t[a],i=n.getSnapshot;n=n.value;try{if(!Yr(i(),n))return!1}catch(e){return!1}}}if(t=r.child,16384&r.subtreeFlags&&null!==t)t.return=r,r=t;else{if(r===e)break;for(;null===r.sibling;){if(null===r.return||r.return===e)return!0;r=r.return}r.sibling.return=r.return,r=r.sibling}}return!0}function El(e,r,t){r&=~Qs,r&=~qs,e.suspendedLanes|=r,e.pingedLanes&=~r;for(var a=e.expirationTimes,n=r;0<n;){var i=31-le(n),o=1<<i;a[i]=-1,n&=~o}0!==t&&be(e,t,r)}function yl(e,r){var t=zs;zs|=1;try{return e(r)}finally{0===(zs=t)&&(tl=J()+500,Ha(!0))}}function kl(e){null!==ll&&0===ll.tag&&0==(6&zs)&&Vl();var r=zs;zs|=1;var t=Ps.transition,a=Ee;try{if(Ps.transition=null,Ee=2,e)return e()}finally{Ee=a,Ps.transition=t,0==(6&(zs=r))&&Ha(!1)}}function Cl(){if(null!==Vs){if(0===Ws)var e=Vs.return;else e=Vs,to(),cn(e),ea=null,ra=0,e=Vs;for(;null!==e;)To(e.alternate,e),e=e.return;Vs=null}}function Al(e,r){e.finishedWork=null,e.finishedLanes=0;var t=e.timeoutHandle;-1!==t&&(e.timeoutHandle=-1,av(t)),null!==(t=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,t()),Cl(),Bs=e,Vs=t=Zl(e.current,null),Us=r,Ws=0,$s=null,js=!1,Ks=0,Gs=null,Zs=Qs=qs=Ys=0,el=Js=null,0!=(8&r)&&(r|=32&r);var a=e.entangledLanes;if(0!==a)for(e=e.entanglements,a&=r;0<a;){var n=31-le(a),i=1<<n;r|=e[n],a&=~i}return Xs=r,Ht(),t}function Ml(e,r){ja=null,Ua.current=li,Ls.current=null,r===Xt?(r=Jt(),Ws=Dl()&&0==(134217727&Ys)&&0==(134217727&qs)?2:3):r===Kt?(r=Jt(),Ws=4):Ws=r===Ai?8:null!==r&&"object"==typeof r&&"function"==typeof r.then?6:1,$s=r,null===Vs&&(Ks=1,Gs=r)}function Dl(){var e=ha.current;return null===e||((4194176&Us)===Us?null===_a:((62914560&Us)===Us||0!=(536870912&Us))&&e===_a)}function Hl(){var e=Is.current;return Is.current=li,null===e?li:e}function xl(){var e=Fs.current;return Fs.current=Rs,e}function Tl(){Ks=4,0==(134217727&Ys)&&0==(134217727&qs)||null===Bs||El(Bs,Us,Zs)}function Nl(e,r){var t=zs;zs|=2;var a=Hl(),n=xl();Bs===e&&Us===r||(al=null,Al(e,r)),r=!1;e:for(;;)try{if(0!==Ws&&null!==Vs){var i=Vs,s=$s;switch(Ws){case 8:Cl(),Ks=6;break e;case 3:case 2:r||null!==ha.current||(r=!0);default:Ws=0,$s=null,Ll(i,s)}}Rl();break}catch(e){Ml(0,e)}if(r&&e.shellSuspendCounter++,to(),zs=t,Is.current=a,Fs.current=n,null!==Vs)throw Error(o(261));return Bs=null,Us=0,Ht(),Ks}function Rl(){for(;null!==Vs;)Il(Vs)}function Ol(){for(;null!==Vs&&!Q();)Il(Vs)}function Il(e){var r=Ns(e.alternate,e,Xs);e.memoizedProps=e.pendingProps,null===r?Pl(e):Vs=r,Ls.current=null}function Fl(e){var r=e.alternate;switch(e.tag){case 2:e.tag=0;case 15:case 0:var t=e.type,a=e.pendingProps;a=e.elementType===t?a:vi(t,a);var n=Wr(t)?Vr:zr.current;r=Fi(r,e,a,t,n=Ur(e,n),Us);break;case 11:t=e.type.render,a=e.pendingProps,r=Fi(r,e,a=e.elementType===t?a:vi(t,a),t,e.ref,Us);break;case 5:cn(e);default:To(r,e),e=Vs=Jl(e,Xs),r=Ns(r,e,Xs)}e.memoizedProps=e.pendingProps,null===r?Pl(e):Vs=r,Ls.current=null}function Ll(e,r){to(),cn(e),ea=null,ra=0;var t=e.return;if(null===t||null===Bs)Ks=1,Gs=r,Vs=null;else{try{!function(e,r,t,a,n){if(t.flags|=32768,null!==a&&"object"==typeof a&&(a.$$typeof===L&&(a={then:function(){}}),"function"==typeof a.then)){!function(e){var r=e.tag;0!=(1&e.mode)||0!==r&&11!==r&&15!==r||((r=e.alternate)?(e.updateQueue=r.updateQueue,e.memoizedState=r.memoizedState,e.lanes=r.lanes):(e.updateQueue=null,e.memoizedState=null))}(t);var i=ha.current;if(null!==i){switch(i.tag){case 13:return 1&t.mode&&(null===_a?Tl():null===i.alternate&&0===Ks&&(Ks=3)),i.flags&=-257,ki(i,r,t,0,n),void(a===Gt?i.flags|=16384:(r=i.updateQueue,null===r?i.updateQueue=new Set([a]):r.add(a),1&i.mode&&$l(e,a,n)));case 22:if(1&i.mode)return i.flags|=65536,void(a===Gt?i.flags|=16384:(r=i.updateQueue,null===r?(r={transitions:null,markerInstances:null,retryQueue:new Set([a])},i.updateQueue=r):(i=r.retryQueue,null===i?r.retryQueue=new Set([a]):i.add(a)),$l(e,a,n)))}throw Error(o(435,i.tag))}if(1===e.tag)return $l(e,a,n),void Tl();a=Error(o(426))}if(ft&&1&t.mode&&null!==(i=ha.current))return 0==(65536&i.flags)&&(i.flags|=256),ki(i,r,t,0,n),void Ct(gi(a,t));(function(e){4!==Ks&&(Ks=2),null===Js?Js=[e]:Js.push(e)})(a=gi(a,t)),e=r;do{switch(e.tag){case 3:return e.flags|=65536,n&=-n,e.lanes|=n,void Vt(e,n=Ei(0,a,n));case 1:if(i=a,r=e.type,t=e.stateNode,0==(128&e.flags)&&("function"==typeof r.getDerivedStateFromError||null!==t&&"function"==typeof t.componentDidCatch&&(null===ol||!ol.has(t))))return e.flags|=65536,n&=-n,e.lanes|=n,void Vt(e,n=yi(e,i,n))}e=e.return}while(null!==e)}(Bs,t,e,r,Us)}catch(e){throw Vs=t,e}if(32768&e.flags)e:{do{if(null!==(r=xo(e.alternate,e))){r.flags&=32767,Vs=r;break e}null!==(e=e.return)&&(e.flags|=32768,e.subtreeFlags=0,e.deletions=null),Vs=e}while(null!==e);Ks=6,Vs=null}else Pl(e)}}function Pl(e){var r=e;do{e=r.return;var t=Ho(r.alternate,r,Xs);if(null!==t)return void(Vs=t);if(null!==(r=r.sibling))return void(Vs=r);Vs=r=e}while(null!==r);0===Ks&&(Ks=5)}function zl(e,r,t,a){var n=Ee,i=Ps.transition;try{Ps.transition=null,Ee=2,function(e,r,t,a,n){do{Vl()}while(null!==ll);if(0!=(6&zs))throw Error(o(327));var i=e.finishedWork,s=e.finishedLanes;if(null===i)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0,e.cancelPendingCommit=null;var l=i.lanes|i.childLanes;if(function(e,r,t){var a=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.entangledLanes&=r,e.errorRecoveryDisabledLanes&=r,e.shellSuspendCounter=0,r=e.entanglements;for(var n=e.expirationTimes,i=e.hiddenUpdates;0<a;){var o=31-le(a),s=1<<o;r[o]=0,n[o]=-1;var l=i[o];if(null!==l)for(i[o]=null,o=0;o<l.length;o++){var u=l[o];null!==u&&(u.lane&=-536870913)}a&=~s}0!==t&&be(e,t,0)}(e,l|=Dt,n),e===Bs&&(Vs=Bs=null,Us=0),0==(10256&i.subtreeFlags)&&0==(10256&i.flags)||sl||(sl=!0,cl=l,fl=t,function(e,r){Y(e,(function(){return Vl(),null}))}(ae)),t=0!=(15990&i.flags),0!=(15990&i.subtreeFlags)||t){t=Ps.transition,Ps.transition=null,n=Ee,Ee=2;var u=zs;zs|=4,Ls.current=null,function(e,r){if(Gf=dc,af(e=tf())){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(t=(t=e.ownerDocument)&&t.defaultView||window).getSelection&&t.getSelection();if(a&&0!==a.rangeCount){t=a.anchorNode;var n=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{t.nodeType,i.nodeType}catch(e){t=null;break e}var s=0,l=-1,u=-1,c=0,f=0,v=e,d=null;r:for(;;){for(var h;v!==t||0!==n&&3!==v.nodeType||(l=s+n),v!==i||0!==a&&3!==v.nodeType||(u=s+a),3===v.nodeType&&(s+=v.nodeValue.length),null!==(h=v.firstChild);)d=v,v=h;for(;;){if(v===e)break r;if(d===t&&++c===n&&(l=s),d===i&&++f===a&&(u=s),null!==(h=v.nextSibling))break;d=(v=d).parentNode}v=h}t=-1===l||-1===u?null:{start:l,end:u}}else t=null}t=t||{start:0,end:0}}else t=null;for(Yf={focusedElem:e,selectionRange:t},dc=!1,Uo=r;null!==Uo;)if(e=(r=Uo).child,0!=(1028&r.subtreeFlags)&&null!==e)e.return=r,Uo=e;else for(;null!==Uo;){r=Uo;try{var _=r.alternate,m=r.flags;switch(r.tag){case 0:if(0!=(4&m)){var p=r.updateQueue,S=null!==p?p.events:null;if(null!==S)for(e=0;e<S.length;e++){var g=S[e];g.ref.impl=g.nextImpl}}break;case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(0!=(1024&m)&&null!==_){var b=_.memoizedProps,w=_.memoizedState,E=r.stateNode,y=E.getSnapshotBeforeUpdate(r.elementType===r.type?b:vi(r.type,b),w);E.__reactInternalSnapshotBeforeUpdate=y}break;case 3:0!=(1024&m)&&lv(r.stateNode.containerInfo);break;default:if(0!=(1024&m))throw Error(o(163))}}catch(e){Wl(r,r.return,e)}if(null!==(e=r.sibling)){e.return=r.return,Uo=e;break}Uo=r.return}_=Xo,Xo=!1}(e,i),vs(i,e),function(e){var r=tf(),t=e.focusedElem,a=e.selectionRange;if(r!==t&&t&&t.ownerDocument&&rf(t.ownerDocument.documentElement,t)){if(null!==a&&af(t))if(r=a.start,void 0===(e=a.end)&&(e=r),"selectionStart"in t)t.selectionStart=r,t.selectionEnd=Math.min(e,t.value.length);else if((e=(r=t.ownerDocument||document)&&r.defaultView||window).getSelection){e=e.getSelection();var n=t.textContent.length,i=Math.min(a.start,n);a=void 0===a.end?i:Math.min(a.end,n),!e.extend&&i>a&&(n=a,a=i,i=n),n=ef(t,i);var o=ef(t,a);n&&o&&(1!==e.rangeCount||e.anchorNode!==n.node||e.anchorOffset!==n.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((r=r.createRange()).setStart(n.node,n.offset),e.removeAllRanges(),i>a?(e.addRange(r),e.extend(o.node,o.offset)):(r.setEnd(o.node,o.offset),e.addRange(r)))}for(r=[],e=t;e=e.parentNode;)1===e.nodeType&&r.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof t.focus&&t.focus(),t=0;t<r.length;t++)(e=r[t]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}(Yf),dc=!!Gf,Yf=Gf=null,e.current=i,Zo(e,i.alternate,i),Z(),zs=u,Ee=n,Ps.transition=t}else e.current=i;if(sl?(sl=!1,ll=e,ul=s):Bl(e,l),0===(l=e.pendingLanes)&&(ol=null),function(e){if(se&&"function"==typeof se.onCommitFiberRoot)try{se.onCommitFiberRoot(oe,e,void 0,128==(128&e.current.flags))}catch(e){}}(i.stateNode),Da(e),null!==r)for(a=e.onRecoverableError,i=0;i<r.length;i++)t={digest:(l=r[i]).digest,componentStack:l.stack},a(l.value,t);if(nl)throw nl=!1,e=il,il=null,e;0!=(3&ul)&&0!==e.tag&&Vl(),l=e.pendingLanes,0!=(4194218&s)&&0!=(42&l)?e===dl?vl++:(vl=0,dl=e):vl=0,Ha(!1)}(e,r,t,n,a)}finally{Ps.transition=i,Ee=n}return null}function Bl(e,r){0==(e.pooledCacheLanes&=r)&&null!=(r=e.pooledCache)&&(e.pooledCache=null,po(r))}function Vl(){if(null!==ll){var e=ll,r=cl;cl=0;var t=ke(ul),a=32>t?32:t;t=Ps.transition;var n=Ee;try{if(Ps.transition=null,Ee=a,null===ll)var i=!1;else{a=fl,fl=null;var s=ll,l=ul;if(ll=null,ul=0,0!=(6&zs))throw Error(o(331));var u=zs;if(zs|=4,Hs(s.current),ws(s,s.current,l,a),zs=u,Ha(!1),se&&"function"==typeof se.onPostCommitFiberRoot)try{se.onPostCommitFiberRoot(oe,s)}catch(e){}i=!0}return i}finally{Ee=n,Ps.transition=t,Bl(e,r)}}return!1}function Ul(e,r,t){null!==(e=zt(e,r=Ei(0,r=gi(t,r),2),2))&&(ge(e,2),Da(e))}function Wl(e,r,t){if(3===e.tag)Ul(e,e,t);else for(;null!==r;){if(3===r.tag){Ul(r,e,t);break}if(1===r.tag){var a=r.stateNode;if("function"==typeof r.type.getDerivedStateFromError||"function"==typeof a.componentDidCatch&&(null===ol||!ol.has(a))){null!==(r=zt(r,e=yi(r,e=gi(t,e),2),2))&&(ge(r,2),Da(r));break}}r=r.return}}function $l(e,r,t){var a=e.pingCache;if(null===a){a=e.pingCache=new Os;var n=new Set;a.set(r,n)}else void 0===(n=a.get(r))&&(n=new Set,a.set(r,n));n.has(t)||(js=!0,n.add(t),e=jl.bind(null,e,r,t),r.then(e,e))}function jl(e,r,t){var a=e.pingCache;null!==a&&a.delete(r),e.pingedLanes|=e.suspendedLanes&t,Bs===e&&(Us&t)===t&&(4===Ks||3===Ks&&(62914560&Us)===Us&&300>J()-rl?0==(2&zs)&&Al(e,0):Qs|=t),Da(e)}function Xl(e,r){0===r&&(r=0==(1&e.mode)?2:pe()),null!==(e=Nt(e,r))&&(ge(e,r),Da(e))}function Kl(e){var r=e.memoizedState,t=0;null!==r&&(t=r.retryLane),Xl(e,t)}function Gl(e,r){var t=0;switch(e.tag){case 13:var a=e.stateNode,n=e.memoizedState;null!==n&&(t=n.retryLane);break;case 19:a=e.stateNode;break;case 22:a=e.stateNode._retryCache;break;default:throw Error(o(314))}null!==a&&a.delete(r),Xl(e,t)}function Yl(e,r,t,a){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=r,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ql(e,r,t,a){return new Yl(e,r,t,a)}function Ql(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Zl(e,r){var t=e.alternate;return null===t?((t=ql(e.tag,r,e.key,e.mode)).elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=r,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=31457280&e.flags,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,r=e.dependencies,t.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t.refCleanup=e.refCleanup,t}function Jl(e,r){e.flags&=31457282;var t=e.alternate;return null===t?(e.childLanes=0,e.lanes=r,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=t.childLanes,e.lanes=t.lanes,e.child=t.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=t.memoizedProps,e.memoizedState=t.memoizedState,e.updateQueue=t.updateQueue,e.type=t.type,r=t.dependencies,e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext}),e}function eu(e,r,t,a,n,i,s){if(n=2,a=e,"function"==typeof e)Ql(e)&&(n=1);else if("string"==typeof e)n=function(e,r,t){if(1===t||null!=r.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof r.precedence||"string"!=typeof r.href||""===r.href)break;return!0;case"link":if("string"!=typeof r.rel||"string"!=typeof r.href||""===r.href||r.onLoad||r.onError)break;return"stylesheet"!==r.rel||(e=r.disabled,"string"==typeof r.precedence&&null==e);case"script":if(!0===r.async&&!r.onLoad&&!r.onError&&"string"==typeof r.src&&r.src)return!0}return!1}(e,t,B.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case b:return ru(t.children,i,s,r);case w:n=8,0!=(1&(i|=8))&&(i|=16);break;case E:return(e=ql(12,t,r,2|i)).elementType=E,e.lanes=s,e;case M:return(e=ql(13,t,r,i)).elementType=M,e.lanes=s,e;case D:return(e=ql(19,t,r,i)).elementType=D,e.lanes=s,e;case N:return tu(t,i,s,r);case R:case T:case O:return(e=ql(24,t,r,i)).elementType=O,e.lanes=s,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case y:n=10;break e;case k:n=9;break e;case A:n=11;break e;case H:n=14;break e;case x:n=16,a=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(r=ql(n,t,r,i)).elementType=e,r.type=a,r.lanes=s,r}function ru(e,r,t,a){return(e=ql(7,e,a,r)).lanes=t,e}function tu(e,r,t,a){(e=ql(22,e,a,r)).elementType=N,e.lanes=t;var n={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var e=n._current;if(null===e)throw Error(o(456));if(0==(2&n._pendingVisibility)){var r=Nt(e,2);null!==r&&(n._pendingVisibility|=2,ml(r,e,2))}},attach:function(){var e=n._current;if(null===e)throw Error(o(456));if(0!=(2&n._pendingVisibility)){var r=Nt(e,2);null!==r&&(n._pendingVisibility&=-3,ml(r,e,2))}}};return e.stateNode=n,e}function au(e,r,t){return(e=ql(6,e,null,r)).lanes=t,e}function nu(e,r,t){return(r=ql(4,null!==e.children?e.children:[],e.key,r)).lanes=t,r.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},r}function iu(e,r,t,a,n,i){this.tag=r,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Se(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Se(0),this.hiddenUpdates=Se(null),this.identifierPrefix=a,this.onRecoverableError=n,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=i,this.incompleteTransitions=new Map}function ou(e,r,t,a,n,i,o,s,l,u,c){return e=new iu(e,r,t,s,l,c),1===r?(r=1,!0===i&&(r|=24)):r=0,i=ql(3,null,null,r),e.current=i,i.stateNode=e,(r=mo()).refCount++,e.pooledCache=r,r.refCount++,i.memoizedState={element:a,isDehydrated:t,cache:r},Ft(i),e}function su(e){if(!e)return Pr;e:{if(Rr(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var r=e;do{switch(r.tag){case 3:r=r.stateNode.context;break e;case 1:if(Wr(r.type)){r=r.stateNode.__reactInternalMemoizedMergedChildContext;break e}}r=r.return}while(null!==r);throw Error(o(171))}if(1===e.tag){var t=e.type;if(Wr(t))return Xr(e,t,r)}return r}function lu(e,r,t,a,n,i,o,s,l,u,c){return(e=ou(t,a,!0,e,0,i,0,s,l,0,c)).context=su(null),(n=Pt(a=hl(t=e.current))).callback=null!=r?r:null,zt(t,n,a),e.current.lanes=a,ge(e,a),Da(e),e}function uu(e,r,t,a){var n=r.current,i=hl(n);return t=su(t),null===r.context?r.context=t:r.pendingContext=t,(r=Pt(i)).payload={element:e},null!==(a=void 0===a?null:a)&&(r.callback=a),null!==(e=zt(n,r,i))&&(ml(e,n,i),Bt(e,n,i)),i}function cu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function fu(e){switch(e.tag){case 3:var r=e.stateNode;if(r.current.memoizedState.isDehydrated){var t=de(r.pendingLanes);0!==t&&(function(e,r){for(e.pendingLanes|=2,e.entangledLanes|=2;r;){var t=1<<31-le(r);e.entanglements[1]|=t,r&=~t}}(r,t),Da(r),0==(6&zs)&&(tl=J()+500,Ha(!1)))}break;case 13:kl((function(){var r=Nt(e,2);null!==r&&ml(r,e,2)})),du(e,2)}}function vu(e,r){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var t=e.retryLane;e.retryLane=0!==t&&t<r?t:r}}function du(e,r){vu(e,r),(e=e.alternate)&&vu(e,r)}function hu(e){if(13===e.tag){var r=Nt(e,67108864);null!==r&&ml(r,e,67108864),du(e,67108864)}}Ns=function(e,r,t){if(null!==e)if(e.memoizedProps!==r.pendingProps||Br.current)Mi=!0;else{if(0==(e.lanes&t)&&0==(128&r.flags))return Mi=!1,function(e,r,t){switch(r.tag){case 3:zi(r),ao(0,_o,e.memoizedState.cache),kt();break;case 27:case 5:K(r);break;case 1:Wr(r.type)&&Kr(r);break;case 4:j(r,r.stateNode.containerInfo);break;case 10:ao(0,r.type._context,r.memoizedProps.value);break;case 13:var a=r.memoizedState;if(null!==a)return null!==a.dehydrated?(ma(r),r.flags|=128,null):0!=(t&r.child.childLanes)?Wi(e,r,t):(ma(r),null!==(e=Qi(e,r,t))?e.sibling:null);ma(r);break;case 19:if(a=0!=(t&r.childLanes),0!=(128&e.flags)){if(a)return Yi(e,r,t);r.flags|=128}var n=r.memoizedState;if(null!==n&&(n.rendering=null,n.tail=null,n.lastEffect=null),p(ba,ba.current),a)break;return null;case 22:case 23:return r.lanes=0,Ni(e,r,t);case 24:ao(0,_o,e.memoizedState.cache)}return Qi(e,r,t)}(e,r,t);Mi=0!=(131072&e.flags)}else Mi=!1,ft&&0!=(1048576&r.flags)&&ot(r,Jr,r.index);switch(r.lanes=0,r.tag){case 2:var a=r.type;qi(e,r),e=r.pendingProps;var n=Ur(r,zr.current);so(r,t),n=an(null,r,a,e,n,t);var i=ln();return r.flags|=1,"object"==typeof n&&null!==n&&"function"==typeof n.render&&void 0===n.$$typeof?(r.tag=1,r.memoizedState=null,r.updateQueue=null,Wr(a)?(i=!0,Kr(r)):i=!1,r.memoizedState=null!==n.state&&void 0!==n.state?n.state:null,Ft(r),n.updater=hi,r.stateNode=n,n._reactInternals=r,Si(r,a,e,t),r=Pi(null,r,a,!0,i,t)):(r.tag=0,ft&&i&&st(r),Di(null,r,n,t),r=r.child),r;case 16:a=r.elementType;e:{switch(qi(e,r),e=r.pendingProps,a=(n=a._init)(a._payload),r.type=a,n=r.tag=function(e){if("function"==typeof e)return Ql(e)?1:0;if(null!=e){if((e=e.$$typeof)===A)return 11;if(e===H)return 14}return 2}(a),e=vi(a,e),n){case 0:r=Ii(null,r,a,e,t);break e;case 1:r=Li(null,r,a,e,t);break e;case 11:r=Hi(null,r,a,e,t);break e;case 14:r=xi(null,r,a,vi(a.type,e),t);break e}throw Error(o(306,a,""))}return r;case 0:return a=r.type,n=r.pendingProps,Ii(e,r,a,n=r.elementType===a?n:vi(a,n),t);case 1:return a=r.type,n=r.pendingProps,Li(e,r,a,n=r.elementType===a?n:vi(a,n),t);case 3:e:{if(zi(r),null===e)throw Error(o(387));n=r.pendingProps,a=(i=r.memoizedState).element,Lt(e,r),Ut(r,n,null,t);var s=r.memoizedState;if(n=s.cache,ao(0,_o,n),n!==i.cache&&oo(r,_o,t),n=s.element,i.isDehydrated){if(i={element:n,isDehydrated:!1,cache:s.cache},r.updateQueue.baseState=i,r.memoizedState=i,256&r.flags){r=Bi(e,r,n,t,a=gi(Error(o(423)),r));break e}if(n!==a){r=Bi(e,r,n,t,a=gi(Error(o(424)),r));break e}for(ct=cv(r.stateNode.containerInfo.firstChild),ut=r,ft=!0,vt=null,dt=!0,t=la(r,null,n,t),r.child=t;t;)t.flags=-3&t.flags|4096,t=t.sibling}else{if(kt(),n===a){r=Qi(e,r,t);break e}Di(e,r,n,t)}r=r.child}return r;case 26:return Oi(e,r),t=r.memoizedState=function(e,r,t){if(!(r=(r=U.current)?pv(r):null))throw Error(o(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof t.precedence&&"string"==typeof t.href?(t=bv(t.href),(e=(r=Be(r).hoistableStyles).get(t))||(e={type:"style",instance:null,count:0,state:null},r.set(t,e)),e):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===t.rel&&"string"==typeof t.href&&"string"==typeof t.precedence){e=bv(t.href);var a=Be(r).hoistableStyles,n=a.get(e);return n||(r=r.ownerDocument||r,n={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},a.set(e,n),_v.has(e)||function(e,r,t,a){_v.set(r,t),e.querySelector(wv(r))||(e.querySelector('link[rel="preload"][as="style"]['+r+"]")?a.loading=1:(r=e.createElement("link"),a.preload=r,r.addEventListener("load",(function(){return a.loading|=1})),r.addEventListener("error",(function(){return a.loading|=2})),Xf(r,"link",t),Ve(r),e.head.appendChild(r)))}(r,e,{rel:"preload",as:"style",href:t.href,crossOrigin:t.crossOrigin,integrity:t.integrity,media:t.media,hrefLang:t.hrefLang,referrerPolicy:t.referrerPolicy},n.state)),n}return null;case"script":return"string"==typeof t.src&&!0===t.async?(t=yv(t.src),(e=(r=Be(r).hoistableScripts).get(t))||(e={type:"script",instance:null,count:0,state:null},r.set(t,e)),e):{type:"void",instance:null,count:0,state:null};default:throw Error(o(444,e))}}(r.type,null===e?null:e.memoizedProps,r.pendingProps),null!==e||ft||null!==t||(t=r.type,e=r.pendingProps,(a=qf(U.current).createElement(t))[Me]=r,a[De]=e,Xf(a,t,e),Ve(a),r.stateNode=a),null;case 27:return K(r),null===e&&ft&&(a=r.stateNode=hv(r.type,r.pendingProps,U.current),ut=r,dt=!0,ct=cv(a.firstChild)),a=r.pendingProps.children,null!==e||ft?Di(e,r,a,t):r.child=sa(r,null,a,t),Oi(e,r),r.child;case 5:return K(r),null===e&&ft&&((n=a=ct)?mt(r,n)||(gt(r)&&bt(),ct=fv(n),i=ut,ct&&mt(r,ct)?ht(i,n):(_t(0,r),ft=!1,ut=r,ct=a)):(gt(r)&&bt(),_t(0,r),ft=!1,ut=r,ct=a)),n=r.type,i=r.pendingProps,s=null!==e?e.memoizedProps:null,a=i.children,Jf(n,i)?a=null:null!==s&&Jf(n,s)&&(r.flags|=32),null!==r.memoizedState&&(n=an(e,r,sn,null,null,t),$._currentValue=n,Mi&&null!==e&&e.memoizedState.memoizedState!==n&&oo(r,$,t)),Oi(e,r),Di(e,r,a,t),r.child;case 6:return null===e&&ft&&(a=""!==r.pendingProps,(e=t=ct)&&a?pt(r,e)||(gt(r)&&bt(),ct=fv(e),a=ut,ct&&pt(r,ct)?ht(a,e):(_t(0,r),ft=!1,ut=r,ct=t)):(gt(r)&&bt(),_t(0,r),ft=!1,ut=r,ct=t)),null;case 13:return Wi(e,r,t);case 4:return j(r,r.stateNode.containerInfo),a=r.pendingProps,null===e?r.child=sa(r,null,a,t):Di(e,r,a,t),r.child;case 11:return a=r.type,n=r.pendingProps,Hi(e,r,a,n=r.elementType===a?n:vi(a,n),t);case 7:return Di(e,r,r.pendingProps,t),r.child;case 8:case 12:return Di(e,r,r.pendingProps.children,t),r.child;case 10:e:{if(a=r.type._context,n=r.pendingProps,i=r.memoizedProps,ao(0,a,s=n.value),null!==i)if(Yr(i.value,s)){if(i.children===n.children&&!Br.current){r=Qi(e,r,t);break e}}else oo(r,a,t);Di(e,r,n.children,t),r=r.child}return r;case 9:return n=r.type,a=r.pendingProps.children,so(r,t),a=a(n=lo(n)),r.flags|=1,Di(e,r,a,t),r.child;case 14:return n=vi(a=r.type,r.pendingProps),xi(e,r,a,n=vi(a.type,n),t);case 15:return Ti(e,r,r.type,r.pendingProps,t);case 17:return a=r.type,n=r.pendingProps,n=r.elementType===a?n:vi(a,n),qi(e,r),r.tag=1,Wr(a)?(e=!0,Kr(r)):e=!1,so(r,t),mi(r,a,n),Si(r,a,n,t),Pi(null,r,a,!0,e,t);case 19:return Yi(e,r,t);case 22:return Ni(e,r,t);case 24:return so(r,t),a=lo(_o),null===e?(null===(n=bo())&&(n=Bs,i=mo(),n.pooledCache=i,i.refCount++,null!==i&&(n.pooledCacheLanes|=t),n=i),r.memoizedState={parent:a,cache:n},Ft(r),ao(0,_o,n)):(0!=(e.lanes&t)&&(Lt(e,r),Ut(r,null,null,t)),n=e.memoizedState,i=r.memoizedState,n.parent!==a?(n={parent:a,cache:a},r.memoizedState=n,0===r.lanes&&(r.memoizedState=r.updateQueue.baseState=n),ao(0,_o,a)):(a=i.cache,ao(0,_o,a),a!==n.cache&&oo(r,_o,t))),Di(e,r,r.pendingProps.children,t),r.child}throw Error(o(156,r.tag))};var _u=!1;function mu(e,r,t){if(_u)return e(r,t);_u=!0;try{return yl(e,r)}finally{_u=!1,(null!==Dr||null!==Hr)&&(kl(),Nr())}}function pu(e,r){var t=e.stateNode;if(null===t)return null;var a=ze(t);if(null===a)return null;t=a[r];e:switch(r){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(t&&"function"!=typeof t)throw Error(o(231,r,typeof t));return t}var Su=!1;if(Ke)try{var gu={};Object.defineProperty(gu,"passive",{get:function(){Su=!0}}),window.addEventListener("test",gu,gu),window.removeEventListener("test",gu,gu)}catch(e){Su=!1}function bu(e){var r=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===r&&(e=13):e=r,10===e&&(e=13),32<=e||13===e?e:0}function wu(){return!0}function Eu(){return!1}function yu(e){function r(r,t,a,n,i){for(var o in this._reactName=r,this._targetInst=a,this.type=t,this.nativeEvent=n,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(r=e[o],this[o]=r?r(n):n[o]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?wu:Eu,this.isPropagationStopped=Eu,this}return s(r.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=wu)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=wu)},persist:function(){},isPersistent:wu}),r}var ku,Cu,Au,Mu={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Du=yu(Mu),Hu=s({},Mu,{view:0,detail:0}),xu=yu(Hu),Tu=s({},Hu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Uu,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Au&&(Au&&"mousemove"===e.type?(ku=e.screenX-Au.screenX,Cu=e.screenY-Au.screenY):Cu=ku=0,Au=e),ku)},movementY:function(e){return"movementY"in e?e.movementY:Cu}}),Nu=yu(Tu),Ru=yu(s({},Tu,{dataTransfer:0})),Ou=yu(s({},Hu,{relatedTarget:0})),Iu=yu(s({},Mu,{animationName:0,elapsedTime:0,pseudoElement:0})),Fu=yu(s({},Mu,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),Lu=yu(s({},Mu,{data:0})),Pu={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zu={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Bu={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Vu(e){var r=this.nativeEvent;return r.getModifierState?r.getModifierState(e):!!(e=Bu[e])&&!!r[e]}function Uu(){return Vu}var Wu=yu(s({},Hu,{key:function(e){if(e.key){var r=Pu[e.key]||e.key;if("Unidentified"!==r)return r}return"keypress"===e.type?13===(e=bu(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?zu[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Uu,charCode:function(e){return"keypress"===e.type?bu(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?bu(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),$u=yu(s({},Tu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),ju=yu(s({},Hu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Uu})),Xu=yu(s({},Mu,{propertyName:0,elapsedTime:0,pseudoElement:0})),Ku=yu(s({},Tu,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Gu=!1,Yu=null,qu=null,Qu=null,Zu=new Map,Ju=new Map,ec=[],rc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function tc(e,r){switch(e){case"focusin":case"focusout":Yu=null;break;case"dragenter":case"dragleave":qu=null;break;case"mouseover":case"mouseout":Qu=null;break;case"pointerover":case"pointerout":Zu.delete(r.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ju.delete(r.pointerId)}}function ac(e,r,t,a,n,i){return null===e||e.nativeEvent!==i?(e={blockedOn:r,domEventName:t,eventSystemFlags:a,nativeEvent:i,targetContainers:[n]},null!==r&&null!==(r=Le(r))&&hu(r),e):(e.eventSystemFlags|=a,r=e.targetContainers,null!==n&&-1===r.indexOf(n)&&r.push(n),e)}function nc(e){var r=Fe(e.target);if(null!==r){var t=Rr(r);if(null!==t)if(13===(r=t.tag)){if(null!==(r=Or(t)))return e.blockedOn=r,void ye(e.priority,(function(){if(13===t.tag){var e=hl(t),r=Nt(t,e);null!==r&&ml(r,t,e),du(t,e)}}))}else if(3===r&&t.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===t.tag?t.stateNode.containerInfo:null)}e.blockedOn=null}function ic(e){if(null!==e.blockedOn)return!1;for(var r=e.targetContainers;0<r.length;){var t=pc(e.nativeEvent);if(null!==t)return null!==(r=Le(t))&&hu(r),e.blockedOn=t,!1;var a=new(t=e.nativeEvent).constructor(t.type,t);Ar=a,t.target.dispatchEvent(a),Ar=null,r.shift()}return!0}function oc(e,r,t){ic(e)&&t.delete(r)}function sc(){Gu=!1,null!==Yu&&ic(Yu)&&(Yu=null),null!==qu&&ic(qu)&&(qu=null),null!==Qu&&ic(Qu)&&(Qu=null),Zu.forEach(oc),Ju.forEach(oc)}function lc(e,r){e.blockedOn===r&&(e.blockedOn=null,Gu||(Gu=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,sc)))}var uc=null;function cc(e){uc!==e&&(uc=e,n.unstable_scheduleCallback(n.unstable_NormalPriority,(function(){uc===e&&(uc=null);for(var r=0;r<e.length;r+=3){var t=e[r],a=e[r+1],n=e[r+2];if("function"!=typeof a){if(null===gc(a||t))continue;break}var i=Le(t);null!==i&&(e.splice(r,3),r-=3,Qn(i,{pending:!0,data:n,method:t.method,action:a},a,n))}})))}function fc(e){function r(r){return lc(r,e)}null!==Yu&&lc(Yu,e),null!==qu&&lc(qu,e),null!==Qu&&lc(Qu,e),Zu.forEach(r),Ju.forEach(r);for(var t=0;t<ec.length;t++){var a=ec[t];a.blockedOn===e&&(a.blockedOn=null)}for(;0<ec.length&&null===(t=ec[0]).blockedOn;)nc(t),null===t.blockedOn&&ec.shift();if(null!=(t=e.getRootNode().$$reactFormReplay))for(a=0;a<t.length;a+=3){var n=t[a],i=t[a+1],o=ze(n);if("function"==typeof i)o||cc(t);else if(o){var s=null;if(i&&i.hasAttribute("formAction")){if(n=i,o=ze(i))s=o.formAction;else if(null!==gc(n))continue}else s=o.action;"function"==typeof s?t[a+1]=s:(t.splice(a,3),a-=3),cc(t)}}}var vc=l.ReactCurrentBatchConfig,dc=!0;function hc(e,r,t,a){var n=Ee,i=vc.transition;vc.transition=null;try{Ee=2,mc(e,r,t,a)}finally{Ee=n,vc.transition=i}}function _c(e,r,t,a){var n=Ee,i=vc.transition;vc.transition=null;try{Ee=8,mc(e,r,t,a)}finally{Ee=n,vc.transition=i}}function mc(e,r,t,a){if(dc){var n=pc(a);if(null===n)Of(e,r,a,Sc,t),tc(e,a);else if(function(e,r,t,a,n){switch(r){case"focusin":return Yu=ac(Yu,e,r,t,a,n),!0;case"dragenter":return qu=ac(qu,e,r,t,a,n),!0;case"mouseover":return Qu=ac(Qu,e,r,t,a,n),!0;case"pointerover":var i=n.pointerId;return Zu.set(i,ac(Zu.get(i)||null,e,r,t,a,n)),!0;case"gotpointercapture":return i=n.pointerId,Ju.set(i,ac(Ju.get(i)||null,e,r,t,a,n)),!0}return!1}(n,e,r,t,a))a.stopPropagation();else if(tc(e,a),4&r&&-1<rc.indexOf(e)){for(;null!==n;){var i=Le(n);if(null!==i&&fu(i),null===(i=pc(a))&&Of(e,r,a,Sc,t),i===n)break;n=i}null!==n&&a.stopPropagation()}else Of(e,r,a,null,t)}}function pc(e){return gc(e=Mr(e))}var Sc=null;function gc(e){if(Sc=null,null!==(e=Fe(e))){var r=Rr(e);if(null===r)e=null;else{var t=r.tag;if(13===t){if(null!==(e=Or(r)))return e;e=null}else if(3===t){if(r.stateNode.current.memoizedState.isDehydrated)return 3===r.tag?r.stateNode.containerInfo:null;e=null}else r!==e&&(e=null)}}return Sc=e,null}function bc(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ee()){case re:return 2;case te:return 8;case ae:case ne:return 32;case ie:return 268435456;default:return 32}default:return 32}}var wc=null,Ec=null,yc=null;function kc(){if(yc)return yc;var e,r,t=Ec,a=t.length,n="value"in wc?wc.value:wc.textContent,i=n.length;for(e=0;e<a&&t[e]===n[e];e++);var o=a-e;for(r=1;r<=o&&t[a-r]===n[i-r];r++);return yc=n.slice(e,1<r?1-r:void 0)}var Cc=[9,13,27,32],Ac=Ke&&"CompositionEvent"in window,Mc=null;Ke&&"documentMode"in document&&(Mc=document.documentMode);var Dc=Ke&&"TextEvent"in window&&!Mc,Hc=Ke&&(!Ac||Mc&&8<Mc&&11>=Mc),xc=String.fromCharCode(32),Tc=!1;function Nc(e,r){switch(e){case"keyup":return-1!==Cc.indexOf(r.keyCode);case"keydown":return 229!==r.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Rc(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Oc=!1,Ic={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fc(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===r?!!Ic[e.type]:"textarea"===r}function Lc(e,r,t,a){Tr(a),0<(r=Ff(r,"onChange")).length&&(t=new Du("onChange","change",null,t,a),e.push({event:t,listeners:r}))}var Pc=null,zc=null;function Bc(e){Df(e,0)}function Vc(e){if(ur(Pe(e)))return e}function Uc(e,r){if("change"===e)return r}var Wc=!1;if(Ke){var $c;if(Ke){var jc="oninput"in document;if(!jc){var Xc=document.createElement("div");Xc.setAttribute("oninput","return;"),jc="function"==typeof Xc.oninput}$c=jc}else $c=!1;Wc=$c&&(!document.documentMode||9<document.documentMode)}function Kc(){Pc&&(Pc.detachEvent("onpropertychange",Gc),zc=Pc=null)}function Gc(e){if("value"===e.propertyName&&Vc(zc)){var r=[];Lc(r,zc,e,Mr(e)),mu(Bc,r)}}function Yc(e,r,t){"focusin"===e?(Kc(),zc=t,(Pc=r).attachEvent("onpropertychange",Gc)):"focusout"===e&&Kc()}function qc(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Vc(zc)}function Qc(e,r){if("click"===e)return Vc(r)}function Zc(e,r){if("input"===e||"change"===e)return Vc(r)}function Jc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ef(e,r){var t,a=Jc(e);for(e=0;a;){if(3===a.nodeType){if(t=e+a.textContent.length,e<=r&&t>=r)return{node:a,offset:r-e};e=t}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Jc(a)}}function rf(e,r){return!(!e||!r)&&(e===r||(!e||3!==e.nodeType)&&(r&&3===r.nodeType?rf(e,r.parentNode):"contains"in e?e.contains(r):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(r))))}function tf(){for(var e=window,r=cr();r instanceof e.HTMLIFrameElement;){try{var t="string"==typeof r.contentWindow.location.href}catch(e){t=!1}if(!t)break;r=cr((e=r.contentWindow).document)}return r}function af(e){var r=e&&e.nodeName&&e.nodeName.toLowerCase();return r&&("input"===r&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===r||"true"===e.contentEditable)}var nf=Ke&&"documentMode"in document&&11>=document.documentMode,of=null,sf=null,lf=null,uf=!1;function cf(e,r,t){var a=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;uf||null==of||of!==cr(a)||(a="selectionStart"in(a=of)&&af(a)?{start:a.selectionStart,end:a.selectionEnd}:{anchorNode:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset},lf&&jt(lf,a)||(lf=a,0<(a=Ff(sf,"onSelect")).length&&(r=new Du("onSelect","select",null,r,t),e.push({event:r,listeners:a}),r.target=of)))}function ff(e,r){var t={};return t[e.toLowerCase()]=r.toLowerCase(),t["Webkit"+e]="webkit"+r,t["Moz"+e]="moz"+r,t}var vf={animationend:ff("Animation","AnimationEnd"),animationiteration:ff("Animation","AnimationIteration"),animationstart:ff("Animation","AnimationStart"),transitionend:ff("Transition","TransitionEnd")},df={},hf={};function _f(e){if(df[e])return df[e];if(!vf[e])return e;var r,t=vf[e];for(r in t)if(t.hasOwnProperty(r)&&r in hf)return df[e]=t[r];return e}Ke&&(hf=document.createElement("div").style,"AnimationEvent"in window||(delete vf.animationend.animation,delete vf.animationiteration.animation,delete vf.animationstart.animation),"TransitionEvent"in window||delete vf.transitionend.transition);var mf=_f("animationend"),pf=_f("animationiteration"),Sf=_f("animationstart"),gf=_f("transitionend"),bf=new Map,wf="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel".split(" ");function Ef(e,r){bf.set(e,r),$e(r,[e])}for(var yf=0;yf<wf.length;yf++){var kf=wf[yf];Ef(kf.toLowerCase(),"on"+(kf[0].toUpperCase()+kf.slice(1)))}Ef(mf,"onAnimationEnd"),Ef(pf,"onAnimationIteration"),Ef(Sf,"onAnimationStart"),Ef("dblclick","onDoubleClick"),Ef("focusin","onFocus"),Ef("focusout","onBlur"),Ef(gf,"onTransitionEnd"),je("onMouseEnter",["mouseout","mouseover"]),je("onMouseLeave",["mouseout","mouseover"]),je("onPointerEnter",["pointerout","pointerover"]),je("onPointerLeave",["pointerout","pointerover"]),$e("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),$e("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),$e("onBeforeInput",["compositionend","keypress","textInput","paste"]),$e("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),$e("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cf="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Af=new Set("cancel close invalid load scroll scrollend toggle".split(" ").concat(Cf));function Mf(e,r,t){var a=e.type||"unknown-event";e.currentTarget=t,function(e,r,t,a,n,i,s,l,u){if(Po.apply(this,arguments),Ro){if(!Ro)throw Error(o(198));var c=Oo;Ro=!1,Oo=null,Io||(Io=!0,Fo=c)}}(a,r,void 0,e),e.currentTarget=null}function Df(e,r){r=0!=(4&r);for(var t=0;t<e.length;t++){var a=e[t],n=a.event;a=a.listeners;e:{var i=void 0;if(r)for(var o=a.length-1;0<=o;o--){var s=a[o],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&n.isPropagationStopped())break e;Mf(n,s,u),i=l}else for(o=0;o<a.length;o++){if(l=(s=a[o]).instance,u=s.currentTarget,s=s.listener,l!==i&&n.isPropagationStopped())break e;Mf(n,s,u),i=l}}}if(Io)throw e=Fo,Io=!1,Fo=null,e}function Hf(e,r){var t=r[xe];void 0===t&&(t=r[xe]=new Set);var a=e+"__bubble";t.has(a)||(Rf(r,e,2,!1),t.add(a))}function xf(e,r,t){var a=0;r&&(a|=4),Rf(t,e,a,r)}var Tf="_reactListening"+Math.random().toString(36).slice(2);function Nf(e){if(!e[Tf]){e[Tf]=!0,Ue.forEach((function(r){"selectionchange"!==r&&(Af.has(r)||xf(r,!1,e),xf(r,!0,e))}));var r=9===e.nodeType?e:e.ownerDocument;null===r||r[Tf]||(r[Tf]=!0,xf("selectionchange",!1,r))}}function Rf(e,r,t,a){switch(bc(r)){case 2:var n=hc;break;case 8:n=_c;break;default:n=mc}t=n.bind(null,r,t,e),n=void 0,!Su||"touchstart"!==r&&"touchmove"!==r&&"wheel"!==r||(n=!0),a?void 0!==n?e.addEventListener(r,t,{capture:!0,passive:n}):e.addEventListener(r,t,!0):void 0!==n?e.addEventListener(r,t,{passive:n}):e.addEventListener(r,t,!1)}function Of(e,r,t,a,n){var i=a;if(0==(1&r)&&0==(2&r)&&null!==a)e:for(;;){if(null===a)return;var o=a.tag;if(3===o||4===o){var s=a.stateNode.containerInfo;if(s===n||8===s.nodeType&&s.parentNode===n)break;if(4===o)for(o=a.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===n||8===l.nodeType&&l.parentNode===n))return;o=o.return}for(;null!==s;){if(null===(o=Fe(s)))return;if(5===(l=o.tag)||6===l||26===l||27===l){a=i=o;continue e}s=s.parentNode}}a=a.return}mu((function(){var a=i,n=Mr(t),o=[];e:{var s=bf.get(e);if(void 0!==s){var l=Du,u=e;switch(e){case"keypress":if(0===bu(t))break e;case"keydown":case"keyup":l=Wu;break;case"focusin":u="focus",l=Ou;break;case"focusout":u="blur",l=Ou;break;case"beforeblur":case"afterblur":l=Ou;break;case"click":if(2===t.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=Nu;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=Ru;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=ju;break;case mf:case pf:case Sf:l=Iu;break;case gf:l=Xu;break;case"scroll":case"scrollend":l=xu;break;case"wheel":l=Ku;break;case"copy":case"cut":case"paste":l=Fu;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=$u}var c=0!=(4&r),f=!c&&("scroll"===e||"scrollend"===e),v=c?null!==s?s+"Capture":null:s;c=[];for(var d,h=a;null!==h;){var _=h;if(d=_.stateNode,5!==(_=_.tag)&&26!==_&&27!==_||null===d||null===v||null!=(_=pu(h,v))&&c.push(If(h,_,d)),f)break;h=h.return}0<c.length&&(s=new l(s,u,null,t,n),o.push({event:s,listeners:c}))}}if(0==(7&r)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||t===Ar||!(u=t.relatedTarget||t.fromElement)||!Fe(u)&&!u[He])&&(l||s)&&(s=n.window===n?n:(s=n.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=a,null!==(u=(u=t.relatedTarget||t.toElement)?Fe(u):null)&&(f=Rr(u),c=u.tag,u!==f||5!==c&&27!==c&&6!==c)&&(u=null)):(l=null,u=a),l!==u)){if(c=Nu,_="onMouseLeave",v="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=$u,_="onPointerLeave",v="onPointerEnter",h="pointer"),f=null==l?s:Pe(l),d=null==u?s:Pe(u),(s=new c(_,h+"leave",l,t,n)).target=f,s.relatedTarget=d,_=null,Fe(n)===a&&((c=new c(v,h+"enter",u,t,n)).target=d,c.relatedTarget=f,_=c),f=_,l&&u)e:{for(v=u,h=0,d=c=l;d;d=Lf(d))h++;for(d=0,_=v;_;_=Lf(_))d++;for(;0<h-d;)c=Lf(c),h--;for(;0<d-h;)v=Lf(v),d--;for(;h--;){if(c===v||null!==v&&c===v.alternate)break e;c=Lf(c),v=Lf(v)}c=null}else c=null;null!==l&&Pf(o,s,l,c,!1),null!==u&&null!==f&&Pf(o,f,u,c,!0)}if("select"===(l=(s=a?Pe(a):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Uc;else if(Fc(s))if(Wc)m=Zc;else{m=qc;var p=Yc}else!(l=s.nodeName)||"input"!==l.toLowerCase()||"checkbox"!==s.type&&"radio"!==s.type?a&&kr(a.elementType)&&(m=Uc):m=Qc;switch(m&&(m=m(e,a))?Lc(o,m,t,n):(p&&p(e,s,a),"focusout"===e&&a&&"number"===s.type&&null!=a.memoizedProps.value&&_r(s,"number",s.value)),p=a?Pe(a):window,e){case"focusin":(Fc(p)||"true"===p.contentEditable)&&(of=p,sf=a,lf=null);break;case"focusout":lf=sf=of=null;break;case"mousedown":uf=!0;break;case"contextmenu":case"mouseup":case"dragend":uf=!1,cf(o,t,n);break;case"selectionchange":if(nf)break;case"keydown":case"keyup":cf(o,t,n)}var S;if(Ac)e:{switch(e){case"compositionstart":var g="onCompositionStart";break e;case"compositionend":g="onCompositionEnd";break e;case"compositionupdate":g="onCompositionUpdate";break e}g=void 0}else Oc?Nc(e,t)&&(g="onCompositionEnd"):"keydown"===e&&229===t.keyCode&&(g="onCompositionStart");g&&(Hc&&"ko"!==t.locale&&(Oc||"onCompositionStart"!==g?"onCompositionEnd"===g&&Oc&&(S=kc()):(Ec="value"in(wc=n)?wc.value:wc.textContent,Oc=!0)),0<(p=Ff(a,g)).length&&(g=new Lu(g,e,null,t,n),o.push({event:g,listeners:p}),(S||null!==(S=Rc(t)))&&(g.data=S))),(S=Dc?function(e,r){switch(e){case"compositionend":return Rc(r);case"keypress":return 32!==r.which?null:(Tc=!0,xc);case"textInput":return(e=r.data)===xc&&Tc?null:e;default:return null}}(e,t):function(e,r){if(Oc)return"compositionend"===e||!Ac&&Nc(e,r)?(e=kc(),yc=Ec=wc=null,Oc=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(r.ctrlKey||r.altKey||r.metaKey)||r.ctrlKey&&r.altKey){if(r.char&&1<r.char.length)return r.char;if(r.which)return String.fromCharCode(r.which)}return null;case"compositionend":return Hc&&"ko"!==r.locale?null:r.data}}(e,t))&&0<(g=Ff(a,"onBeforeInput")).length&&(p=new Lu("onBeforeInput","beforeinput",null,t,n),o.push({event:p,listeners:g}),p.data=S),function(e,r,t,a,n){if("submit"===r&&t&&t.stateNode===n){var i=ze(n).action,o=a.submitter;if(o&&null!=(r=(r=ze(o))?r.formAction:o.getAttribute("formAction"))&&(i=r,o=null),"function"==typeof i){var s=new Du("action","action",null,a,n);e.push({event:s,listeners:[{instance:null,listener:function(){if(!a.defaultPrevented){if(s.preventDefault(),o){var e=o.ownerDocument.createElement("input");e.name=o.name,e.value=o.value,o.parentNode.insertBefore(e,o);var r=new FormData(n);e.parentNode.removeChild(e)}else r=new FormData(n);Qn(t,{pending:!0,data:r,method:n.method,action:i},i,r)}},currentTarget:n}]})}}}(o,e,a,t,n)}Df(o,r)}))}function If(e,r,t){return{instance:e,listener:r,currentTarget:t}}function Ff(e,r){for(var t=r+"Capture",a=[];null!==e;){var n=e,i=n.stateNode;5!==(n=n.tag)&&26!==n&&27!==n||null===i||(null!=(n=pu(e,t))&&a.unshift(If(e,n,i)),null!=(n=pu(e,r))&&a.push(If(e,n,i))),e=e.return}return a}function Lf(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Pf(e,r,t,a,n){for(var i=r._reactName,o=[];null!==t&&t!==a;){var s=t,l=s.alternate,u=s.stateNode;if(s=s.tag,null!==l&&l===a)break;5!==s&&26!==s&&27!==s||null===u||(l=u,n?null!=(u=pu(t,i))&&o.unshift(If(t,u,l)):n||null!=(u=pu(t,i))&&o.push(If(t,u,l))),t=t.return}0!==o.length&&e.push({event:r,listeners:o})}var zf=/\r\n?/g,Bf=/\u0000|\uFFFD/g;function Vf(e){return("string"==typeof e?e:""+e).replace(zf,"\n").replace(Bf,"")}function Uf(e,r,t){if(r=Vf(r),Vf(e)!==r&&t)throw Error(o(425))}function Wf(){}function $f(e,r,t,a,n,i){switch(t){case"children":"string"==typeof a?"body"===r||"textarea"===r&&""===a||br(e,a):"number"==typeof a&&"body"!==r&&br(e,""+a);break;case"className":Ze(e,"class",a);break;case"tabIndex":Ze(e,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Ze(e,t,a);break;case"style":yr(e,a,i);break;case"src":case"href":if(""===a){e.removeAttribute(t);break}if(null==a||"function"==typeof a||"symbol"==typeof a||"boolean"==typeof a){e.removeAttribute(t);break}e.setAttribute(t,""+a);break;case"action":case"formAction":if("function"==typeof a){e.setAttribute(t,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===t?("input"!==r&&$f(e,r,"name",n.name,n,null),$f(e,r,"formEncType",n.formEncType,n,null),$f(e,r,"formMethod",n.formMethod,n,null),$f(e,r,"formTarget",n.formTarget,n,null)):($f(e,r,"encType",n.encType,n,null),$f(e,r,"method",n.method,n,null),$f(e,r,"target",n.target,n,null))),null==a||"symbol"==typeof a||"boolean"==typeof a){e.removeAttribute(t);break}e.setAttribute(t,""+a);break;case"onClick":null!=a&&(e.onclick=Wf);break;case"onScroll":null!=a&&Hf("scroll",e);break;case"onScrollEnd":null!=a&&Hf("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=a){if("object"!=typeof a||!("__html"in a))throw Error(o(61));if(null!=(a=a.__html)){if(null!=n.children)throw Error(o(60));e.innerHTML=a}}break;case"multiple":e.multiple=a&&"function"!=typeof a&&"symbol"!=typeof a;break;case"muted":e.muted=a&&"function"!=typeof a&&"symbol"!=typeof a;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"autoFocus":case"innerText":case"textContent":break;case"xlinkHref":if(null==a||"function"==typeof a||"boolean"==typeof a||"symbol"==typeof a){e.removeAttribute("xlink:href");break}e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",""+a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(t,""+a):e.removeAttribute(t);break;case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(t,""):e.removeAttribute(t);break;case"capture":case"download":!0===a?e.setAttribute(t,""):!1!==a&&null!=a&&"function"!=typeof a&&"symbol"!=typeof a?e.setAttribute(t,a):e.removeAttribute(t);break;case"cols":case"rows":case"size":case"span":null!=a&&"function"!=typeof a&&"symbol"!=typeof a&&!isNaN(a)&&1<=a?e.setAttribute(t,a):e.removeAttribute(t);break;case"rowSpan":case"start":null==a||"function"==typeof a||"symbol"==typeof a||isNaN(a)?e.removeAttribute(t):e.setAttribute(t,a);break;case"xlinkActuate":Je(e,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":Je(e,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":Je(e,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":Je(e,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":Je(e,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":Je(e,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":Je(e,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":Je(e,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":Je(e,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":Qe(e,"is",a);break;default:(!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&Qe(e,n=Cr.get(t)||t,a)}}function jf(e,r,t,a,n,i){switch(t){case"style":yr(e,a,i);break;case"dangerouslySetInnerHTML":if(null!=a){if("object"!=typeof a||!("__html"in a))throw Error(o(61));if(null!=(t=a.__html)){if(null!=n.children)throw Error(o(60));e.innerHTML=t}}break;case"children":"string"==typeof a?br(e,a):"number"==typeof a&&br(e,""+a);break;case"onScroll":null!=a&&Hf("scroll",e);break;case"onScrollEnd":null!=a&&Hf("scrollend",e);break;case"onClick":null!=a&&(e.onclick=Wf);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"innerText":case"textContent":break;default:We.hasOwnProperty(t)||("o"!==t[0]||"n"!==t[1]||(n=t.endsWith("Capture"),r=t.slice(2,n?t.length-7:void 0),"function"==typeof(i=null!=(i=ze(e))?i[t]:null)&&e.removeEventListener(r,i,n),"function"!=typeof a)?t in e?e[t]=a:!0===a?e.setAttribute(t,""):Qe(e,t,a):("function"!=typeof i&&null!==i&&(t in e?e[t]=null:e.hasAttribute(t)&&e.removeAttribute(t)),e.addEventListener(r,a,n)))}}function Xf(e,r,t){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":Hf("invalid",e);var a=null,n=null,i=null,s=null,l=null,u=null;for(f in t)if(t.hasOwnProperty(f)){var c=t[f];if(null!=c)switch(f){case"name":a=c;break;case"type":n=c;break;case"checked":l=c;break;case"defaultChecked":u=c;break;case"value":i=c;break;case"defaultValue":s=c;break;case"children":case"dangerouslySetInnerHTML":if(null!=c)throw Error(o(137,r));break;default:$f(e,r,f,c,t,null)}}return hr(e,i,s,l,u,n,a,!1),void lr(e);case"select":Hf("invalid",e);var f=n=i=null;for(a in t)if(t.hasOwnProperty(a)&&null!=(s=t[a]))switch(a){case"value":i=s;break;case"defaultValue":n=s;break;case"multiple":f=s;default:$f(e,r,a,s,t,null)}return r=i,t=n,e.multiple=!!f,void(null!=r?pr(e,!!f,r,!1):null!=t&&pr(e,!!f,t,!0));case"textarea":for(n in Hf("invalid",e),i=a=f=null,t)if(t.hasOwnProperty(n)&&null!=(s=t[n]))switch(n){case"value":f=s;break;case"defaultValue":a=s;break;case"children":i=s;break;case"dangerouslySetInnerHTML":if(null!=s)throw Error(o(91));break;default:$f(e,r,n,s,t,null)}return gr(e,f,a,i),void lr(e);case"option":for(s in t)t.hasOwnProperty(s)&&null!=(f=t[s])&&("selected"===s?e.selected=f&&"function"!=typeof f&&"symbol"!=typeof f:$f(e,r,s,f,t,null));return;case"dialog":Hf("cancel",e),Hf("close",e);break;case"iframe":case"object":Hf("load",e);break;case"video":case"audio":for(f=0;f<Cf.length;f++)Hf(Cf[f],e);break;case"image":Hf("error",e),Hf("load",e);break;case"details":Hf("toggle",e);break;case"embed":case"source":case"img":case"link":Hf("error",e),Hf("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(l in t)if(t.hasOwnProperty(l)&&null!=(f=t[l]))switch(l){case"children":case"dangerouslySetInnerHTML":throw Error(o(137,r));default:$f(e,r,l,f,t,null)}return;default:if(kr(r)){for(u in t)t.hasOwnProperty(u)&&null!=(f=t[u])&&jf(e,r,u,f,t,null);return}}for(i in t)t.hasOwnProperty(i)&&null!=(f=t[i])&&$f(e,r,i,f,t,null)}function Kf(e,r,t,a){switch(r){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var n=null,i=null,s=null,l=null,u=null,c=null,f=null;for(h in t){var v=t[h];if(t.hasOwnProperty(h)&&null!=v)switch(h){case"checked":case"value":break;case"defaultValue":u=v;default:a.hasOwnProperty(h)||$f(e,r,h,null,a,v)}}for(var d in a){var h=a[d];if(v=t[d],a.hasOwnProperty(d)&&(null!=h||null!=v))switch(d){case"type":i=h;break;case"name":n=h;break;case"checked":c=h;break;case"defaultChecked":f=h;break;case"value":s=h;break;case"defaultValue":l=h;break;case"children":case"dangerouslySetInnerHTML":if(null!=h)throw Error(o(137,r));break;default:h!==v&&$f(e,r,d,h,a,v)}}return void dr(e,s,l,u,c,f,i,n);case"select":for(i in h=s=l=d=null,t)if(u=t[i],t.hasOwnProperty(i)&&null!=u)switch(i){case"value":break;case"multiple":h=u;default:a.hasOwnProperty(i)||$f(e,r,i,null,a,u)}for(n in a)if(i=a[n],u=t[n],a.hasOwnProperty(n)&&(null!=i||null!=u))switch(n){case"value":d=i;break;case"defaultValue":l=i;break;case"multiple":s=i;default:i!==u&&$f(e,r,n,i,a,u)}return r=l,t=s,a=h,void(null!=d?pr(e,!!t,d,!1):!!a!=!!t&&(null!=r?pr(e,!!t,r,!0):pr(e,!!t,t?[]:"",!1)));case"textarea":for(l in h=d=null,t)if(n=t[l],t.hasOwnProperty(l)&&null!=n&&!a.hasOwnProperty(l))switch(l){case"value":case"children":break;default:$f(e,r,l,null,a,n)}for(s in a)if(n=a[s],i=t[s],a.hasOwnProperty(s)&&(null!=n||null!=i))switch(s){case"value":d=n;break;case"defaultValue":h=n;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=n)throw Error(o(91));break;default:n!==i&&$f(e,r,s,n,a,i)}return void Sr(e,d,h);case"option":for(var _ in t)d=t[_],t.hasOwnProperty(_)&&null!=d&&!a.hasOwnProperty(_)&&("selected"===_?e.selected=!1:$f(e,r,_,null,a,d));for(u in a)d=a[u],h=t[u],!a.hasOwnProperty(u)||d===h||null==d&&null==h||("selected"===u?e.selected=d&&"function"!=typeof d&&"symbol"!=typeof d:$f(e,r,u,d,a,h));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var m in t)d=t[m],t.hasOwnProperty(m)&&null!=d&&!a.hasOwnProperty(m)&&$f(e,r,m,null,a,d);for(c in a)if(d=a[c],h=t[c],a.hasOwnProperty(c)&&d!==h&&(null!=d||null!=h))switch(c){case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(o(137,r));break;default:$f(e,r,c,d,a,h)}return;default:if(kr(r)){for(var p in t)d=t[p],t.hasOwnProperty(p)&&null!=d&&!a.hasOwnProperty(p)&&jf(e,r,p,null,a,d);for(f in a)d=a[f],h=t[f],!a.hasOwnProperty(f)||d===h||null==d&&null==h||jf(e,r,f,d,a,h);return}}for(var S in t)d=t[S],t.hasOwnProperty(S)&&null!=d&&!a.hasOwnProperty(S)&&$f(e,r,S,null,a,d);for(v in a)d=a[v],h=t[v],!a.hasOwnProperty(v)||d===h||null==d&&null==h||$f(e,r,v,d,a,h)}var Gf=null,Yf=null;function qf(e){return 9===e.nodeType?e:e.ownerDocument}function Qf(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Zf(e,r){if(0===e)switch(r){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===r?0:e}function Jf(e,r){return"textarea"===e||"noscript"===e||"string"==typeof r.children||"number"==typeof r.children||"object"==typeof r.dangerouslySetInnerHTML&&null!==r.dangerouslySetInnerHTML&&null!=r.dangerouslySetInnerHTML.__html}var ev=null;function rv(){var e=window.event;return e&&"popstate"===e.type?e!==ev&&(ev=e,!0):(ev=null,!1)}var tv="function"==typeof setTimeout?setTimeout:void 0,av="function"==typeof clearTimeout?clearTimeout:void 0,nv="function"==typeof Promise?Promise:void 0,iv="function"==typeof queueMicrotask?queueMicrotask:void 0!==nv?function(e){return nv.resolve(null).then(e).catch(ov)}:tv;function ov(e){setTimeout((function(){throw e}))}function sv(e,r){var t=r,a=0;do{var n=t.nextSibling;if(e.removeChild(t),n&&8===n.nodeType)if("/$"===(t=n.data)){if(0===a)return e.removeChild(n),void fc(r);a--}else"$"!==t&&"$?"!==t&&"$!"!==t||a++;t=n}while(t);fc(r)}function lv(e){var r=e.nodeType;if(9===r)uv(e);else if(1===r)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":uv(e);break;default:e.textContent=""}}function uv(e){var r=e.firstChild;for(r&&10===r.nodeType&&(r=r.nextSibling);r;){var t=r;switch(r=r.nextSibling,t.nodeName){case"HTML":case"HEAD":case"BODY":uv(t),Ie(t);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===t.rel.toLowerCase())continue}e.removeChild(t)}}function cv(e){for(;null!=e;e=e.nextSibling){var r=e.nodeType;if(1===r||3===r)break;if(8===r){if("$"===(r=e.data)||"$!"===r||"$?"===r||"F!"===r||"F"===r)break;if("/$"===r)return null}}return e}function fv(e){return cv(e.nextSibling)}function vv(e,r,t,a,n){switch(e[Me]=n,e[De]=t,a=0!=(1&n.mode),r){case"dialog":Hf("cancel",e),Hf("close",e);break;case"iframe":case"object":case"embed":Hf("load",e);break;case"video":case"audio":for(n=0;n<Cf.length;n++)Hf(Cf[n],e);break;case"source":Hf("error",e);break;case"img":case"image":case"link":Hf("error",e),Hf("load",e);break;case"details":Hf("toggle",e);break;case"input":Hf("invalid",e),hr(e,t.value,t.defaultValue,t.checked,t.defaultChecked,t.type,t.name,!0),lr(e);break;case"select":Hf("invalid",e);break;case"textarea":Hf("invalid",e),gr(e,t.value,t.defaultValue,t.children),lr(e)}"string"!=typeof(n=t.children)&&"number"!=typeof n||e.textContent===""+n||(!0!==t.suppressHydrationWarning&&Uf(e.textContent,n,a),a||"body"===r||(e.textContent=n)),null!=t.onScroll&&Hf("scroll",e),null!=t.onScrollEnd&&Hf("scrollend",e),null!=t.onClick&&(e.onclick=Wf)}function dv(e){e=e.previousSibling;for(var r=0;e;){if(8===e.nodeType){var t=e.data;if("$"===t||"$!"===t||"$?"===t){if(0===r)return e;r--}else"/$"===t&&r++}e=e.previousSibling}return null}function hv(e,r,t){switch(r=qf(t),e){case"html":if(!(e=r.documentElement))throw Error(o(452));return e;case"head":if(!(e=r.head))throw Error(o(453));return e;case"body":if(!(e=r.body))throw Error(o(454));return e;default:throw Error(o(451))}}var _v=new Map,mv=new Set;function pv(e){return"function"==typeof e.getRootNode?e.getRootNode():e.ownerDocument}var Sv={prefetchDNS:function(e){gv("dns-prefetch",e,null)},preconnect:function(e,r){gv("preconnect",e,r)},preload:function(e,r,t){var a=document;if(e&&r&&a){var n='link[rel="preload"][as="'+vr(r)+'"]';"image"===r&&t&&t.imageSrcSet?(n+='[imagesrcset="'+vr(t.imageSrcSet)+'"]',"string"==typeof t.imageSizes&&(n+='[imagesizes="'+vr(t.imageSizes)+'"]')):n+='[href="'+vr(e)+'"]';var i=n;switch(r){case"style":i=bv(e);break;case"script":i=yv(e)}_v.has(i)||(e=s({rel:"preload",href:"image"===r&&t&&t.imageSrcSet?void 0:e,as:r},t),_v.set(i,e),null!==a.querySelector(n)||"style"===r&&a.querySelector(wv(i))||"script"===r&&a.querySelector(kv(i))||(Xf(r=a.createElement("link"),"link",e),Ve(r),a.head.appendChild(r)))}},preloadModule:function(e,r){var t=document;if(e){var a=r&&"string"==typeof r.as?r.as:"script",n='link[rel="modulepreload"][as="'+vr(a)+'"][href="'+vr(e)+'"]',i=n;switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=yv(e)}if(!_v.has(i)&&(e=s({rel:"modulepreload",href:e},r),_v.set(i,e),null===t.querySelector(n))){switch(a){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(t.querySelector(kv(i)))return}Xf(a=t.createElement("link"),"link",e),Ve(a),t.head.appendChild(a)}}},preinitStyle:function(e,r,t){var a=document;if(e){var n=Be(a).hoistableStyles,i=bv(e);r=r||"default";var o=n.get(i);if(!o){var l={loading:0,preload:null};if(o=a.querySelector(wv(i)))l.loading=1;else{e=s({rel:"stylesheet",href:e,"data-precedence":r},t),(t=_v.get(i))&&Mv(e,t);var u=o=a.createElement("link");Ve(u),Xf(u,"link",e),u._p=new Promise((function(e,r){u.onload=e,u.onerror=r})),u.addEventListener("load",(function(){l.loading|=1})),u.addEventListener("error",(function(){l.loading|=2})),l.loading|=4,Av(o,r,a)}o={type:"stylesheet",instance:o,count:1,state:l},n.set(i,o)}}},preinitScript:function(e,r){var t=document;if(e){var a=Be(t).hoistableScripts,n=yv(e),i=a.get(n);i||((i=t.querySelector(kv(n)))||(e=s({src:e,async:!0},r),(r=_v.get(n))&&Dv(e,r),Ve(i=t.createElement("script")),Xf(i,"link",e),t.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}},preinitModuleScript:function(e,r){var t=document;if(e){var a=Be(t).hoistableScripts,n=yv(e),i=a.get(n);i||((i=t.querySelector(kv(n)))||(e=s({src:e,async:!0,type:"module"},r),(r=_v.get(n))&&Dv(e,r),Ve(i=t.createElement("script")),Xf(i,"link",e),t.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},a.set(n,i))}}};function gv(e,r,t){var a=document;if("string"==typeof r&&r){var n=vr(r);n='link[rel="'+e+'"][href="'+n+'"]',"string"==typeof t&&(n+='[crossorigin="'+t+'"]'),mv.has(n)||(mv.add(n),e={rel:e,crossOrigin:t,href:r},null===a.querySelector(n)&&(Xf(r=a.createElement("link"),"link",e),Ve(r),a.head.appendChild(r)))}}function bv(e){return'href="'+vr(e)+'"'}function wv(e){return'link[rel="stylesheet"]['+e+"]"}function Ev(e){return s({},e,{"data-precedence":e.precedence,precedence:null})}function yv(e){return'[src="'+vr(e)+'"]'}function kv(e){return"script[async]"+e}function Cv(e,r,t){if(r.count++,null===r.instance)switch(r.type){case"style":var a=e.querySelector('style[data-href~="'+vr(t.href)+'"]');if(a)return r.instance=a,Ve(a),a;var n=s({},t,{"data-href":t.href,"data-precedence":t.precedence,href:null,precedence:null});return Ve(a=(e.ownerDocument||e).createElement("style")),Xf(a,"style",n),Av(a,t.precedence,e),r.instance=a;case"stylesheet":n=bv(t.href);var i=e.querySelector(wv(n));if(i)return r.instance=i,Ve(i),i;a=Ev(t),(n=_v.get(n))&&Mv(a,n),Ve(i=(e.ownerDocument||e).createElement("link"));var l=i;return l._p=new Promise((function(e,r){l.onload=e,l.onerror=r})),Xf(i,"link",a),r.state.loading|=4,Av(i,t.precedence,e),r.instance=i;case"script":return i=yv(t.src),(n=e.querySelector(kv(i)))?(r.instance=n,Ve(n),n):(a=t,(n=_v.get(i))&&Dv(a=s({},t),n),Ve(n=(e=e.ownerDocument||e).createElement("script")),Xf(n,"link",a),e.head.appendChild(n),r.instance=n);case"void":return null;default:throw Error(o(443,r.type))}else"stylesheet"===r.type&&0==(4&r.state.loading)&&(a=r.instance,r.state.loading|=4,Av(a,t.precedence,e));return r.instance}function Av(e,r,t){for(var a=t.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=a.length?a[a.length-1]:null,i=n,o=0;o<a.length;o++){var s=a[o];if(s.dataset.precedence===r)i=s;else if(i!==n)break}i?i.parentNode.insertBefore(e,i.nextSibling):(r=9===t.nodeType?t.head:t).insertBefore(e,r.firstChild)}function Mv(e,r){null==e.crossOrigin&&(e.crossOrigin=r.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=r.referrerPolicy),null==e.title&&(e.title=r.title)}function Dv(e,r){null==e.crossOrigin&&(e.crossOrigin=r.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=r.referrerPolicy),null==e.integrity&&(e.integrity=r.integrity)}var Hv=null;function xv(e,r,t){if(null===Hv){var a=new Map,n=Hv=new Map;n.set(t,a)}else(a=(n=Hv).get(t))||(a=new Map,n.set(t,a));if(a.has(e))return a;for(a.set(e,null),t=t.getElementsByTagName(e),n=0;n<t.length;n++){var i=t[n];if(!(i[Oe]||i[Me]||"link"===e&&"stylesheet"===i.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==i.namespaceURI){var o=i.getAttribute(r)||"";o=e+o;var s=a.get(o);s?s.push(i):a.set(o,[i])}}return a}function Tv(e,r,t){(e=e.ownerDocument||e).head.insertBefore(t,"title"===r?e.querySelector("head > title"):null)}var Nv=null;function Rv(){}function Ov(){if(this.count--,0===this.count)if(this.stylesheets)Fv(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Iv=null;function Fv(e,r){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Iv=new Map,r.forEach(Lv,e),Iv=null,Ov.call(e))}function Lv(e,r){if(!(4&r.state.loading)){var t=Iv.get(e);if(t)var a=t.get("last");else{t=new Map,Iv.set(e,t);for(var n=e.querySelectorAll("link[data-precedence],style[data-precedence]"),i=0;i<n.length;i++){var o=n[i];"link"!==o.nodeName&&"not all"===o.getAttribute("media")||(t.set("p"+o.dataset.precedence,o),a=o)}a&&t.set("last",a)}o=(n=r.instance).getAttribute("data-precedence"),(i=t.get("p"+o)||a)===a&&t.set("last",n),t.set(o,n),this.count++,a=Ov.bind(this),n.addEventListener("load",a),n.addEventListener("error",a),i?i.parentNode.insertBefore(n,i.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(n,e.firstChild),r.state.loading|=4}}var Pv=i.Dispatcher;"undefined"!=typeof document&&(Pv.current=Sv);var zv="function"==typeof reportError?reportError:function(e){console.error(e)};function Bv(e){this._internalRoot=e}function Vv(e){this._internalRoot=e}function Uv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Wv(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function $v(){}function jv(e,r,t,a,n){var i=t._reactRootContainer;if(i){var o=i;if("function"==typeof n){var s=n;n=function(){var e=cu(o);s.call(e)}}uu(r,o,e,n)}else o=function(e,r,t,a,n){if(n){if("function"==typeof a){var i=a;a=function(){var e=cu(o);i.call(e)}}var o=lu(r,a,e,0,null,!1,0,"",$v,0,null);return e._reactRootContainer=o,e[He]=o.current,Nf(8===e.nodeType?e.parentNode:e),kl(),o}if(lv(e),"function"==typeof a){var s=a;a=function(){var e=cu(l);s.call(e)}}var l=ou(e,0,!1,null,0,!1,0,"",$v,0,null);return e._reactRootContainer=l,e[He]=l.current,Nf(8===e.nodeType?e.parentNode:e),kl((function(){uu(r,l,t,a)})),l}(t,r,e,n,a);return cu(o)}function Xv(e,r){return"font"===e?"":"string"==typeof r?"use-credentials"===r?r:"":void 0}Vv.prototype.render=Bv.prototype.render=function(e){var r=this._internalRoot;if(null===r)throw Error(o(409));uu(e,r,null,null)},Vv.prototype.unmount=Bv.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var r=e.containerInfo;kl((function(){uu(null,e,null,null)})),r[He]=null}},Vv.prototype.unstable_scheduleHydration=function(e){if(e){var r=Ee;e={blockedOn:null,target:e,priority:r};for(var t=0;t<ec.length&&0!==r&&r<ec[t].priority;t++);ec.splice(t,0,e),0===t&&nc(e)}};var Kv=i.Dispatcher;i.Events=[Le,Pe,ze,Tr,Nr,yl];var Gv={findFiberByHostInstance:Fe,bundleType:0,version:"18.3.0-experimental-51ffd3564-20231025",rendererPackageName:"react-dom"},Yv={bundleType:Gv.bundleType,version:Gv.version,rendererPackageName:Gv.rendererPackageName,rendererConfig:Gv.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:l.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Fr(e))?null:e.stateNode},findFiberByHostInstance:Gv.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.0-experimental-51ffd3564-20231025"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var qv=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!qv.isDisabled&&qv.supportsFiber)try{oe=qv.inject(Yv),se=qv}catch(e){}}r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=i,r.createPortal=function(e,r){var t=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Uv(r))throw Error(o(200));return function(e,r,t){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:g,key:null==a?null:""+a,children:e,containerInfo:r,implementation:t}}(e,r,null,t)},r.createRoot=function(e,r){if(!Uv(e))throw Error(o(299));var t=!1,a="",n=zv;return null!=r&&(!0===r.unstable_strictMode&&(t=!0),void 0!==r.identifierPrefix&&(a=r.identifierPrefix),void 0!==r.onRecoverableError&&(n=r.onRecoverableError),void 0!==r.unstable_transitionCallbacks&&r.unstable_transitionCallbacks),r=ou(e,1,!1,null,0,t,0,a,n,0,null),e[He]=r.current,Pv.current=Sv,Nf(8===e.nodeType?e.parentNode:e),new Bv(r)},r.experimental_useFormState=function(e,r,t){return v(e,r,t)},r.experimental_useFormStatus=function(){return f()},r.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var r=e._reactInternals;if(void 0===r){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=Fr(r))?null:e.stateNode},r.flushSync=function(e){return kl(e)},r.hydrate=function(e,r,t){if(!Wv(r))throw Error(o(200));return jv(null,e,r,!0,t)},r.hydrateRoot=function(e,r,t){if(!Uv(e))throw Error(o(405));var a=!1,n="",i=zv,s=null;return null!=t&&(!0===t.unstable_strictMode&&(a=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.unstable_transitionCallbacks&&t.unstable_transitionCallbacks,void 0!==t.formState&&(s=t.formState)),r=lu(r,null,e,1,null!=t?t:null,a,0,n,i,0,s),e[He]=r.current,Pv.current=Sv,Nf(e),new Vv(r)},r.preconnect=function(e,r){var t=Kv.current;t&&"string"==typeof e&&(r=r?"string"==typeof(r=r.crossOrigin)?"use-credentials"===r?r:"":void 0:null,t.preconnect(e,r))},r.prefetchDNS=function(e){var r=Kv.current;r&&"string"==typeof e&&r.prefetchDNS(e)},r.preinit=function(e,r){var t=Kv.current;if(t&&"string"==typeof e&&r&&"string"==typeof r.as){var a=r.as,n=Xv(a,r.crossOrigin),i="string"==typeof r.integrity?r.integrity:void 0,o="string"==typeof r.fetchPriority?r.fetchPriority:void 0;"style"===a?t.preinitStyle(e,"string"==typeof r.precedence?r.precedence:void 0,{crossOrigin:n,integrity:i,fetchPriority:o}):"script"===a&&t.preinitScript(e,{crossOrigin:n,integrity:i,fetchPriority:o,nonce:"string"==typeof r.nonce?r.nonce:void 0})}},r.preinitModule=function(e,r){var t=Kv.current;if(t&&"string"==typeof e)if("object"==typeof r&&null!==r){if(null==r.as||"script"===r.as){var a=Xv(r.as,r.crossOrigin);t.preinitModuleScript(e,{crossOrigin:a,integrity:"string"==typeof r.integrity?r.integrity:void 0,nonce:"string"==typeof r.nonce?r.nonce:void 0})}}else null==r&&t.preinitModuleScript(e)},r.preload=function(e,r){var t=Kv.current;if(t&&"string"==typeof e&&"object"==typeof r&&null!==r&&"string"==typeof r.as){var a=r.as,n=Xv(a,r.crossOrigin);t.preload(e,a,{crossOrigin:n,integrity:"string"==typeof r.integrity?r.integrity:void 0,nonce:"string"==typeof r.nonce?r.nonce:void 0,type:"string"==typeof r.type?r.type:void 0,fetchPriority:"string"==typeof r.fetchPriority?r.fetchPriority:void 0,referrerPolicy:"string"==typeof r.referrerPolicy?r.referrerPolicy:void 0,imageSrcSet:"string"==typeof r.imageSrcSet?r.imageSrcSet:void 0,imageSizes:"string"==typeof r.imageSizes?r.imageSizes:void 0})}},r.preloadModule=function(e,r){var t=Kv.current;if(t&&"string"==typeof e)if(r){var a=Xv(r.as,r.crossOrigin);t.preloadModule(e,{as:"string"==typeof r.as&&"script"!==r.as?r.as:void 0,crossOrigin:a,integrity:"string"==typeof r.integrity?r.integrity:void 0})}else t.preloadModule(e)},r.render=function(e,r,t){if(!Wv(r))throw Error(o(200));return jv(null,e,r,!1,t)},r.unmountComponentAtNode=function(e){if(!Wv(e))throw Error(o(40));return!!e._reactRootContainer&&(kl((function(){jv(null,null,e,!1,(function(){e._reactRootContainer=null,e[He]=null}))})),!0)},r.unstable_batchedUpdates=yl,r.unstable_renderSubtreeIntoContainer=function(e,r,t,a){if(!Wv(t))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return jv(e,r,t,!1,a)},r.unstable_runWithPriority=ye,r.useFormState=v,r.useFormStatus=f,r.version="18.3.0-experimental-51ffd3564-20231025"},2852:(e,r,t)=>{"use strict";var a=t(9443);r.s=a.createRoot,a.hydrateRoot},9443:(e,r,t)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=t(3287)},440:(e,r)=>{"use strict";var t=Symbol.for("react.element"),a=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy");Symbol.for("react.offscreen"),Symbol.for("react.cache"),Symbol.for("react.client.reference");function _(e){if("object"==typeof e&&null!==e){var r=e.$$typeof;switch(r){case t:switch(e=e.type){case n:case o:case i:case f:case v:return e;default:switch(e=e&&e.$$typeof){case u:case l:case c:case h:case d:case s:return e;default:return r}}case a:return r}}}r.ContextConsumer=l,r.ContextProvider=s,r.ForwardRef=c,r.Fragment=n,r.Lazy=h,r.Memo=d,r.Portal=a,r.Profiler=o,r.StrictMode=i,r.Suspense=f,r.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},r.isFragment=function(e){return _(e)===n},r.typeOf=_},2954:(e,r,t)=>{"use strict";e.exports=t(440)},5793:(e,r)=>{"use strict";var t=Symbol.for("react.element"),a=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),_=Symbol.for("react.debug_trace_mode"),m=Symbol.for("react.offscreen"),p=Symbol.for("react.cache"),S=Symbol.for("react.default_value"),g=Symbol.for("react.postpone"),b=Symbol.iterator,w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},E=Object.assign,y={};function k(e,r,t){this.props=e,this.context=r,this.refs=y,this.updater=t||w}function C(){}function A(e,r,t){this.props=e,this.context=r,this.refs=y,this.updater=t||w}k.prototype.isReactComponent={},k.prototype.setState=function(e,r){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,r,"setState")},k.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},C.prototype=k.prototype;var M=A.prototype=new C;M.constructor=A,E(M,k.prototype),M.isPureReactComponent=!0;var D=Array.isArray,H=Object.prototype.hasOwnProperty,x={current:null},T={key:!0,ref:!0,__self:!0,__source:!0};function N(e,r,a){var n,i={},o=null,s=null;if(null!=r)for(n in void 0!==r.ref&&(s=r.ref),void 0!==r.key&&(o=""+r.key),r)H.call(r,n)&&!T.hasOwnProperty(n)&&(i[n]=r[n]);var l=arguments.length-2;if(1===l)i.children=a;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps)void 0===i[n]&&(i[n]=l[n]);return{$$typeof:t,type:e,key:o,ref:s,props:i,_owner:x.current}}function R(e){return"object"==typeof e&&null!==e&&e.$$typeof===t}var O=/\/+/g;function I(e,r){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var r={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return r[e]}))}(""+e.key):r.toString(36)}function F(e,r,n,i,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case t:case a:l=!0}}if(l)return o=o(l=e),e=""===i?"."+I(l,0):i,D(o)?(n="",null!=e&&(n=e.replace(O,"$&/")+"/"),F(o,r,n,"",(function(e){return e}))):null!=o&&(R(o)&&(o=function(e,r){return{$$typeof:t,type:e.type,key:r,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(O,"$&/")+"/")+e)),r.push(o)),1;if(l=0,i=""===i?".":i+":",D(e))for(var u=0;u<e.length;u++){var c=i+I(s=e[u],u);l+=F(s,r,n,c,o)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=b&&e[b]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=F(s=s.value,r,n,c=i+I(s,u++),o);else if("object"===s)throw r=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(e).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return l}function L(e,r,t){if(null==e)return e;var a=[],n=0;return F(e,a,"","",(function(e){return r.call(t,e,n++)})),a}function P(e){if(-1===e._status){var r=e._result;(r=r()).then((function(r){0!==e._status&&-1!==e._status||(e._status=1,e._result=r)}),(function(r){0!==e._status&&-1!==e._status||(e._status=2,e._result=r)})),-1===e._status&&(e._status=0,e._result=r)}if(1===e._status)return e._result.default;throw e._result}var z={current:null};function B(){return new WeakMap}var V={current:null};function U(e,r){return V.current.useOptimistic(e,r)}var W={transition:null},$={},j={ReactCurrentDispatcher:V,ReactCurrentCache:z,ReactCurrentBatchConfig:W,ReactCurrentOwner:x,ContextRegistry:$};r.Children={map:L,forEach:function(e,r,t){L(e,(function(){r.apply(this,arguments)}),t)},count:function(e){var r=0;return L(e,(function(){r++})),r},toArray:function(e){return L(e,(function(e){return e}))||[]},only:function(e){if(!R(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},r.Component=k,r.Fragment=n,r.Profiler=o,r.PureComponent=A,r.StrictMode=i,r.Suspense=f,r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,r.cache=function(e){return function(){var r=z.current;if(!r)return e.apply(null,arguments);var t=r.getCacheForType(B);void 0===(r=t.get(e))&&(r={s:0,v:void 0,o:null,p:null},t.set(e,r)),t=0;for(var a=arguments.length;t<a;t++){var n=arguments[t];if("function"==typeof n||"object"==typeof n&&null!==n){var i=r.o;null===i&&(r.o=i=new WeakMap),void 0===(r=i.get(n))&&(r={s:0,v:void 0,o:null,p:null},i.set(n,r))}else null===(i=r.p)&&(r.p=i=new Map),void 0===(r=i.get(n))&&(r={s:0,v:void 0,o:null,p:null},i.set(n,r))}if(1===r.s)return r.v;if(2===r.s)throw r.v;try{var o=e.apply(null,arguments);return(t=r).s=1,t.v=o}catch(e){throw(o=r).s=2,o.v=e,e}}},r.cloneElement=function(e,r,a){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var n=E({},e.props),i=e.key,o=e.ref,s=e._owner;if(null!=r){if(void 0!==r.ref&&(o=r.ref,s=x.current),void 0!==r.key&&(i=""+r.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in r)H.call(r,u)&&!T.hasOwnProperty(u)&&(n[u]=void 0===r[u]&&void 0!==l?l[u]:r[u])}var u=arguments.length-2;if(1===u)n.children=a;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];n.children=l}return{$$typeof:t,type:e.type,key:i,ref:o,props:n,_owner:s}},r.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},r.createElement=N,r.createFactory=function(e){var r=N.bind(null,e);return r.type=e,r},r.createRef=function(){return{current:null}},r.createServerContext=function(e,r){var t=!0;if(!$[e]){t=!1;var a={$$typeof:u,_currentValue:r,_currentValue2:r,_defaultValue:r,_threadCount:0,Provider:null,Consumer:null,_globalName:e};a.Provider={$$typeof:s,_context:a},$[e]=a}if((a=$[e])._defaultValue===S)a._defaultValue=r,a._currentValue===S&&(a._currentValue=r),a._currentValue2===S&&(a._currentValue2=r);else if(t)throw Error("ServerContext: "+e+" already defined");return a},r.experimental_useEffectEvent=function(e){return V.current.useEffectEvent(e)},r.experimental_useOptimistic=function(e,r){return U(e,r)},r.forwardRef=function(e){return{$$typeof:c,render:e}},r.isValidElement=R,r.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:P}},r.memo=function(e,r){return{$$typeof:d,type:e,compare:void 0===r?null:r}},r.startTransition=function(e){var r=W.transition;W.transition={};try{e()}finally{W.transition=r}},r.unstable_Cache=p,r.unstable_DebugTracingMode=_,r.unstable_Offscreen=m,r.unstable_SuspenseList=v,r.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},r.unstable_getCacheForType=function(e){var r=z.current;return r?r.getCacheForType(e):e()},r.unstable_getCacheSignal=function(){var e=z.current;return e?e.getCacheSignal():((e=new AbortController).abort(Error("This CacheSignal was requested outside React which means that it is immediately aborted.")),e.signal)},r.unstable_postpone=function(e){throw(e=Error(e)).$$typeof=g,e},r.unstable_useCacheRefresh=function(){return V.current.useCacheRefresh()},r.unstable_useMemoCache=function(e){return V.current.useMemoCache(e)},r.use=function(e){return V.current.use(e)},r.useCallback=function(e,r){return V.current.useCallback(e,r)},r.useContext=function(e){return V.current.useContext(e)},r.useDebugValue=function(){},r.useDeferredValue=function(e,r){return V.current.useDeferredValue(e,r)},r.useEffect=function(e,r){return V.current.useEffect(e,r)},r.useId=function(){return V.current.useId()},r.useImperativeHandle=function(e,r,t){return V.current.useImperativeHandle(e,r,t)},r.useInsertionEffect=function(e,r){return V.current.useInsertionEffect(e,r)},r.useLayoutEffect=function(e,r){return V.current.useLayoutEffect(e,r)},r.useMemo=function(e,r){return V.current.useMemo(e,r)},r.useOptimistic=U,r.useReducer=function(e,r,t){return V.current.useReducer(e,r,t)},r.useRef=function(e){return V.current.useRef(e)},r.useState=function(e){return V.current.useState(e)},r.useSyncExternalStore=function(e,r,t){return V.current.useSyncExternalStore(e,r,t)},r.useTransition=function(){return V.current.useTransition()},r.version="18.3.0-experimental-51ffd3564-20231025"},1147:(e,r,t)=>{"use strict";e.exports=t(5793)},1945:(e,r)=>{"use strict";function t(e,r){var t=e.length;e.push(r);e:for(;0<t;){var a=t-1>>>1,n=e[a];if(!(0<i(n,r)))break e;e[a]=r,e[t]=n,t=a}}function a(e){return 0===e.length?null:e[0]}function n(e){if(0===e.length)return null;var r=e[0],t=e.pop();if(t!==r){e[0]=t;e:for(var a=0,n=e.length,o=n>>>1;a<o;){var s=2*(a+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,t))u<n&&0>i(c,l)?(e[a]=c,e[u]=t,a=u):(e[a]=l,e[s]=t,a=s);else{if(!(u<n&&0>i(c,t)))break e;e[a]=c,e[u]=t,a=u}}}return r}function i(e,r){var t=e.sortIndex-r.sortIndex;return 0!==t?t:e.id-r.id}if(r.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var o=performance;r.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();r.unstable_now=function(){return s.now()-l}}var u=[],c=[],f=1,v=null,d=3,h=!1,_=!1,m=!1,p="function"==typeof setTimeout?setTimeout:null,S="function"==typeof clearTimeout?clearTimeout:null,g="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var r=a(c);null!==r;){if(null===r.callback)n(c);else{if(!(r.startTime<=e))break;n(c),r.sortIndex=r.expirationTime,t(u,r)}r=a(c)}}function w(e){if(m=!1,b(e),!_)if(null!==a(u))_=!0,T();else{var r=a(c);null!==r&&N(w,r.startTime-e)}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,y=!1,k=-1,C=5,A=-1;function M(){return!(r.unstable_now()-A<C)}function D(){if(y){var e=r.unstable_now();A=e;var t=!0;try{e:{_=!1,m&&(m=!1,S(k),k=-1),h=!0;var i=d;try{r:{for(b(e),v=a(u);null!==v&&!(v.expirationTime>e&&M());){var o=v.callback;if("function"==typeof o){v.callback=null,d=v.priorityLevel;var s=o(v.expirationTime<=e);if(e=r.unstable_now(),"function"==typeof s){v.callback=s,b(e),t=!0;break r}v===a(u)&&n(u),b(e)}else n(u);v=a(u)}if(null!==v)t=!0;else{var l=a(c);null!==l&&N(w,l.startTime-e),t=!1}}break e}finally{v=null,d=i,h=!1}t=void 0}}finally{t?E():y=!1}}}if("function"==typeof g)E=function(){g(D)};else if("undefined"!=typeof MessageChannel){var H=new MessageChannel,x=H.port2;H.port1.onmessage=D,E=function(){x.postMessage(null)}}else E=function(){p(D,0)};function T(){y||(y=!0,E())}function N(e,t){k=p((function(){e(r.unstable_now())}),t)}r.unstable_IdlePriority=5,r.unstable_ImmediatePriority=1,r.unstable_LowPriority=4,r.unstable_NormalPriority=3,r.unstable_Profiling=null,r.unstable_UserBlockingPriority=2,r.unstable_cancelCallback=function(e){e.callback=null},r.unstable_continueExecution=function(){_||h||(_=!0,T())},r.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<e?Math.floor(1e3/e):5},r.unstable_getCurrentPriorityLevel=function(){return d},r.unstable_getFirstCallbackNode=function(){return a(u)},r.unstable_next=function(e){switch(d){case 1:case 2:case 3:var r=3;break;default:r=d}var t=d;d=r;try{return e()}finally{d=t}},r.unstable_pauseExecution=function(){},r.unstable_requestPaint=function(){},r.unstable_runWithPriority=function(e,r){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var t=d;d=e;try{return r()}finally{d=t}},r.unstable_scheduleCallback=function(e,n,i){var o=r.unstable_now();switch(i="object"==typeof i&&null!==i&&"number"==typeof(i=i.delay)&&0<i?o+i:o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:f++,callback:n,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>o?(e.sortIndex=i,t(c,e),null===a(u)&&e===a(c)&&(m?(S(k),k=-1):m=!0,N(w,i-o))):(e.sortIndex=s,t(u,e),_||h||(_=!0,T())),e},r.unstable_shouldYield=M,r.unstable_wrapCallback=function(e){var r=d;return function(){var t=d;d=r;try{return e.apply(this,arguments)}finally{d=t}}}},2572:(e,r,t)=>{"use strict";e.exports=t(1945)},3496:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.importFromOldV8CPUProfile=r.importFromChromeCPUProfile=r.importFromChromeTimeline=r.isChromeTimeline=void 0;const a=t(2211),n=t(7844),i=t(8218),o=t(7320);r.isChromeTimeline=function(e){if(!Array.isArray(e))return!1;if(e.length<1)return!1;const r=e[0];return"pid"in r&&"tid"in r&&"ph"in r&&"cat"in r&&!!e.find((e=>"CpuProfile"===e.name||"Profile"===e.name||"ProfileChunk"===e.name))},r.importFromChromeTimeline=function(e,r){const t=new Map,a=new Map,i=new Map;n.sortBy(e,(e=>e.ts));for(let r of e){if("CpuProfile"===r.name){const e=`${r.pid}:${r.tid}`,n=r.id||e;t.set(n,r.args.data.cpuProfile),a.set(n,e)}if("Profile"===r.name){const e=`${r.pid}:${r.tid}`;t.set(r.id||e,Object.assign({startTime:0,endTime:0,nodes:[],samples:[],timeDeltas:[]},r.args.data)),r.id&&a.set(r.id,`${r.pid}:${r.tid}`)}if("thread_name"===r.name&&i.set(`${r.pid}:${r.tid}`,r.args.name),"ProfileChunk"===r.name){const e=`${r.pid}:${r.tid}`,a=t.get(r.id||e);if(a){const e=r.args.data;e.cpuProfile&&(e.cpuProfile.nodes&&(a.nodes=a.nodes.concat(e.cpuProfile.nodes)),e.cpuProfile.samples&&(a.samples=a.samples.concat(e.cpuProfile.samples))),e.timeDeltas&&(a.timeDeltas=a.timeDeltas.concat(e.timeDeltas)),null!=e.startTime&&(a.startTime=e.startTime),null!=e.endTime&&(a.endTime=e.endTime)}else console.warn(`Ignoring ProfileChunk for undeclared Profile with id ${r.id||e}`)}}if(t.size>0){const e=[];let o=0;return n.itForEach(t.keys(),(n=>{let s=null,l=a.get(n);l&&(s=i.get(l)||null);const u=f(t.get(n));s&&t.size>1?(u.setName(`${r} - ${s}`),"CrRendererMain"===s&&(o=e.length)):u.setName(`${r}`),e.push(u)})),{name:r,indexToView:o,profiles:e}}throw new Error("Could not find CPU profile in Timeline")};const s=new Map;function l(e){return n.getOrInsert(s,e,(e=>{const r=e.functionName||"(anonymous)",t=e.url,a=e.lineNumber,n=e.columnNumber;return{key:`${r}:${t}:${a}:${n}`,name:r,file:t,line:a,col:n}}))}function u(e){const{functionName:r,url:t}=e;return"native dummy.js"===t||"(root)"===r||"(idle)"===r}function c(e){return"(garbage collector)"===e||"(program)"===e}function f(e){const r=new a.CallTreeProfileBuilder(e.endTime-e.startTime),t=new Map;for(let r of e.nodes)t.set(r.id,r);for(let r of e.nodes)if("number"==typeof r.parent&&(r.parent=t.get(r.parent)),r.children)for(let e of r.children){const a=t.get(e);a&&(a.parent=r)}const o=[],s=[];let f=e.timeDeltas[0],v=f,d=NaN;for(let r=0;r<e.samples.length;r++){const t=e.samples[r];t!=d&&(o.push(t),f<v?s.push(v):(s.push(f),v=f)),r===e.samples.length-1?isNaN(d)||(o.push(d),f<v?s.push(v):(s.push(f),v=f)):(f+=e.timeDeltas[r+1],d=t)}let h=[];for(let e=0;e<o.length;e++){const a=s[e],i=o[e];let f=t.get(i);if(!f)continue;let v=null;for(v=f;v&&-1===h.indexOf(v);v=c(v.callFrame.functionName)?n.lastOf(h):v.parent||null);for(;h.length>0&&n.lastOf(h)!=v;){const e=l(h.pop().callFrame);r.leaveFrame(e,a)}const d=[];for(let e=f;e&&e!=v&&!u(e.callFrame);e=c(e.callFrame.functionName)?n.lastOf(h):e.parent||null)d.push(e);d.reverse();for(let e of d)r.enterFrame(l(e.callFrame),a);h=h.concat(d)}for(let e=h.length-1;e>=0;e--)r.leaveFrame(l(h[e].callFrame),n.lastOf(s));return r.setValueFormatter(new i.TimeFormatter("microseconds")),r.build()}r.importFromChromeCPUProfile=f,r.importFromOldV8CPUProfile=function(e){return f(o.chromeTreeToNodes(e))}},7320:(e,r)=>{"use strict";function t(e){const r=[];return function e(t){r.push({id:t.id,callFrame:{columnNumber:0,functionName:t.functionName,lineNumber:t.lineNumber,scriptId:t.scriptId,url:t.url},hitCount:t.hitCount,children:t.children.map((e=>e.id))}),t.children.forEach(e)}(e),r}Object.defineProperty(r,"__esModule",{value:!0}),r.chromeTreeToNodes=void 0,r.chromeTreeToNodes=function(e){return{samples:e.samples,startTime:1e6*e.startTime,endTime:1e6*e.endTime,nodes:t(e.head),timeDeltas:(r=e.timestamps,a=e.startTime,r.map(((e,t)=>e-(0===t?1e6*a:r[t-1]))))};var r,a}},765:(e,r)=>{"use strict";let t;Object.defineProperty(r,"__esModule",{value:!0}),r.demangleCpp=void 0;const a=new Map;r.demangleCpp=function(e){if(e.startsWith("__Z")){let r=a.get(e);void 0!==r||(t||(t=new Function("exports",n)()),r=t(e.slice(1)),r="(null)"===r?e:r,a.set(e,r)),e=r}return e};const n='\nreturn function(){function r(r){eval.call(null,r)}function a(r){throw print(r+":\\n"+(new Error).stack),ke=!0,"Assertion: "+r}function e(r,e){r||a("Assertion failed: "+e)}function i(r,a,i,v){function t(r,a){if("string"==a){var e=Oe;return le.stackAlloc(r.length+1),A(r,e),e}return r}function f(r,a){return"string"==a?s(r):r}try{func=ce.Module["_"+r]}catch(r){}e(func,"Cannot call unknown function "+r+" (perhaps LLVM optimizations or closure removed it?)");var _=0,n=v?v.map(function(r){return t(r,i[_++])}):[];return f(func.apply(null,n),a)}function v(r,a,e){return function(){return i(r,a,e,Array.prototype.slice.call(arguments))}}function t(r,e,i,v){switch(i=i||"i8","*"===i[i.length-1]&&(i="i32"),i){case"i1":Ae[r]=e;break;case"i8":Ae[r]=e;break;case"i16":ye[r>>1]=e;break;case"i32":Se[r>>2]=e;break;case"i64":Se[r>>2]=e;break;case"float":Ce[r>>2]=e;break;case"double":ze[0]=e,Se[r>>2]=xe[0],Se[r+4>>2]=xe[1];break;default:a("invalid type for setValue: "+i)}}function f(r,e,i){switch(e=e||"i8","*"===e[e.length-1]&&(e="i32"),e){case"i1":return Ae[r];case"i8":return Ae[r];case"i16":return ye[r>>1];case"i32":return Se[r>>2];case"i64":return Se[r>>2];case"float":return Ce[r>>2];case"double":return xe[0]=Se[r>>2],xe[1]=Se[r+4>>2],ze[0];default:a("invalid type for setValue: "+e)}return null}function _(r,a,e){var i,v;"number"==typeof r?(i=!0,v=r):(i=!1,v=r.length);var f="string"==typeof a?a:null,_=[Jr,le.stackAlloc,le.staticAlloc][void 0===e?we:e](Math.max(v,f?1:a.length));if(i)return Fa(_,0,v),_;for(var s,n=0;n<v;){var o=r[n];"function"==typeof o&&(o=le.getFunctionIndex(o)),s=f||a[n],0!==s?("i64"==s&&(s="i32"),t(_+n,o,s),n+=le.getNativeTypeSize(s)):n++}return _}function s(r,a){for(var e,i="undefined"==typeof a,v="",t=0,f=String.fromCharCode(0);;){if(e=String.fromCharCode(ge[r+t]),i&&e==f)break;if(v+=e,t+=1,!i&&t==a)break}return v}function n(r){for(var a="",e=0;e<r.length;e++)a+=String.fromCharCode(r[e]);return a}function o(r){return r+4095>>12<<12}function l(){for(;Le<=Ie;)Le=o(2*Le);var r=Ae,a=new ArrayBuffer(Le);Ae=new Int8Array(a),ye=new Int16Array(a),Se=new Int32Array(a),ge=new Uint8Array(a),me=new Uint16Array(a),Me=new Uint32Array(a),Ce=new Float32Array(a),Re=new Float64Array(a),Ae.set(r)}function b(r){for(;r.length>0;){var a=r.shift(),e=a.func;"number"==typeof e&&(e=pe[e]),e(void 0===a.arg?null:a.arg)}}function k(){b(Ve)}function u(){b(Be),be.print()}function c(r,a){return Array.prototype.slice.call(Ae.subarray(r,r+a))}function h(r,a){for(var e=new Uint8Array(a),i=0;i<a;++i)e[i]=Ae[r+i];return e.buffer}function d(r){for(var a=0;Ae[r+a];)a++;return a}function w(r,a){var e=d(r);a&&e++;var i=c(r,e);return a&&(i[e-1]=0),i}function p(r,a){for(var e=[],i=0;i<r.length;){var v=r.charCodeAt(i);v>255&&(v&=255),e.push(v),i+=1}return a||e.push(0),e}function E(r){for(var a=[],e=0;e<r.length;e++){var i=r[e];i>255&&(i&=255),a.push(String.fromCharCode(i))}return a.join("")}function A(r,a,e){for(var i=0;i<r.length;){var v=r.charCodeAt(i);v>255&&(v&=255),Ae[a+i]=v,i+=1}e||(Ae[a+i]=0)}function g(r,a,e,i){return r>=0?r:a<=32?2*Math.abs(1<<a-1)+r:Math.pow(2,a)+r}function y(r,a,e,i){if(r<=0)return r;var v=a<=32?Math.abs(1<<a-1):Math.pow(2,a-1);return r>=v&&(a<=32||r>v)&&(r=-2*v+r),r}function m(r,a,e){if(0==(0|r)|0==(0|a)|0==(0|e))var i=0;else{Se[r>>2]=0,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function S(r,a,e){if(0==(0|r)|(0|a)<0|0==(0|e))var i=0;else{Se[r>>2]=41,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function M(r,a,e){if(0==(0|r)|0==(0|e))var i=0;else{Se[r>>2]=6,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function C(r,a,e){if(0==(0|r)|0==(0|e))var i=0;else{Se[r>>2]=7,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function R(r,a){var e,i=0==(0|a);do if(i)var v=0;else{var e=(r+32|0)>>2,t=Se[e];if((0|t)>=(0|Se[r+36>>2])){var v=0;break}var f=(t<<2)+Se[r+28>>2]|0;Se[f>>2]=a;var _=Se[e]+1|0;Se[e]=_;var v=1}while(0);var v;return v}function T(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=i+1|0;Se[e]=v;var t=Ae[i]<<24>>24==95;do if(t){var f=i+2|0;if(Se[e]=f,Ae[v]<<24>>24!=90){var _=0;break}var s=O(r,a),_=s}else var _=0;while(0);var _;return _}function O(r,a){var e=r+12|0,i=Ae[Se[e>>2]];r:do if(i<<24>>24==71||i<<24>>24==84)var v=Tr(r),t=v;else{var f=Ar(r),_=0==(0|f)|0==(0|a);do if(!_){if(0!=(1&Se[r+8>>2]|0))break;var s=Me[f>>2],n=(s-25|0)>>>0<3;a:do if(n)for(var o=f;;){var o,l=Me[o+4>>2],b=Me[l>>2];if((b-25|0)>>>0>=3){var k=l,u=b;break a}var o=l}else var k=f,u=s;while(0);var u,k;if(2!=(0|u)){var t=k;break r}var c=k+8|0,h=Me[c>>2],d=(Se[h>>2]-25|0)>>>0<3;a:do if(d)for(var w=h;;){var w,p=Me[w+4>>2];if((Se[p>>2]-25|0)>>>0>=3){var E=p;break a}var w=p}else var E=h;while(0);var E;Se[c>>2]=E;var t=k;break r}while(0);var A=Ae[Se[e>>2]];if(A<<24>>24==0||A<<24>>24==69){var t=f;break}var g=Or(f),y=Sr(r,g),m=D(r,3,f,y),t=m}while(0);var t;return t}function N(r){var a,e,i=Oe;Oe+=4;var v=i,e=v>>2,a=(r+12|0)>>2,t=Me[a],f=Ae[t],_=f<<24>>24;r:do if(f<<24>>24==114||f<<24>>24==86||f<<24>>24==75){var s=I(r,v,0);if(0==(0|s)){var n=0;break}var o=N(r);Se[s>>2]=o;var l=Se[e],b=R(r,l);if(0==(0|b)){var n=0;break}var n=Se[e]}else{do{if(97==(0|_)||98==(0|_)||99==(0|_)||100==(0|_)||101==(0|_)||102==(0|_)||103==(0|_)||104==(0|_)||105==(0|_)||106==(0|_)||108==(0|_)||109==(0|_)||110==(0|_)||111==(0|_)||115==(0|_)||116==(0|_)||118==(0|_)||119==(0|_)||120==(0|_)||121==(0|_)||122==(0|_)){var k=ai+20*(_-97)|0,u=P(r,k);Se[e]=u;var c=r+48|0,h=Se[c>>2]+Se[Se[u+4>>2]+4>>2]|0;Se[c>>2]=h;var d=Se[a]+1|0;Se[a]=d;var n=u;break r}if(117==(0|_)){Se[a]=t+1|0;var w=L(r),p=D(r,34,w,0);Se[e]=p;var E=p}else if(70==(0|_)){var A=F(r);Se[e]=A;var E=A}else if(48==(0|_)||49==(0|_)||50==(0|_)||51==(0|_)||52==(0|_)||53==(0|_)||54==(0|_)||55==(0|_)||56==(0|_)||57==(0|_)||78==(0|_)||90==(0|_)){var g=X(r);Se[e]=g;var E=g}else if(65==(0|_)){var y=j(r);Se[e]=y;var E=y}else if(77==(0|_)){var m=U(r);Se[e]=m;var E=m}else if(84==(0|_)){var S=x(r);if(Se[e]=S,Ae[Se[a]]<<24>>24!=73){var E=S;break}var M=R(r,S);if(0==(0|M)){var n=0;break r}var C=Se[e],T=z(r),O=D(r,4,C,T);Se[e]=O;var E=O}else if(83==(0|_)){var B=ge[t+1|0];if((B-48&255&255)<10|B<<24>>24==95|(B-65&255&255)<26){var H=V(r,0);if(Se[e]=H,Ae[Se[a]]<<24>>24!=73){var n=H;break r}var K=z(r),Y=D(r,4,H,K);Se[e]=Y;var E=Y}else{var G=X(r);if(Se[e]=G,0==(0|G)){var E=0;break}if(21==(0|Se[G>>2])){var n=G;break r}var E=G}}else if(80==(0|_)){Se[a]=t+1|0;var W=N(r),Z=D(r,29,W,0);Se[e]=Z;var E=Z}else if(82==(0|_)){Se[a]=t+1|0;var Q=N(r),q=D(r,30,Q,0);Se[e]=q;var E=q}else if(67==(0|_)){Se[a]=t+1|0;var $=N(r),J=D(r,31,$,0);Se[e]=J;var E=J}else if(71==(0|_)){Se[a]=t+1|0;var rr=N(r),ar=D(r,32,rr,0);Se[e]=ar;var E=ar}else{if(85!=(0|_)){var n=0;break r}Se[a]=t+1|0;var er=L(r);Se[e]=er;var ir=N(r),vr=Se[e],tr=D(r,28,ir,vr);Se[e]=tr;var E=tr}}while(0);var E,fr=R(r,E);if(0==(0|fr)){var n=0;break}var n=Se[e]}while(0);var n;return Oe=i,n}function I(r,a,e){for(var i,v=r+12|0,t=0!=(0|e),f=t?25:22,i=(r+48|0)>>2,_=t?26:23,s=t?27:24,n=a;;){var n,o=Se[v>>2],l=Ae[o];if(l<<24>>24!=114&&l<<24>>24!=86&&l<<24>>24!=75){var b=n;break}var k=o+1|0;if(Se[v>>2]=k,l<<24>>24==114){var u=Se[i]+9|0;Se[i]=u;var c=f}else if(l<<24>>24==86){var h=Se[i]+9|0;Se[i]=h;var c=_}else{var d=Se[i]+6|0;Se[i]=d;var c=s}var c,w=D(r,c,0,0);if(Se[n>>2]=w,0==(0|w)){var b=0;break}var n=w+4|0}var b;return b}function P(r,a){var e=0==(0|a);do if(e)var i=0;else{var v=J(r);if(0==(0|v)){var i=0;break}Se[v>>2]=33,Se[v+4>>2]=a;var i=v}while(0);var i;return i}function D(r,a,e,i){var v,t;do{if(1==(0|a)||2==(0|a)||3==(0|a)||4==(0|a)||10==(0|a)||28==(0|a)||37==(0|a)||43==(0|a)||44==(0|a)||45==(0|a)||46==(0|a)||47==(0|a)||48==(0|a)||49==(0|a)||50==(0|a)){if(0==(0|e)|0==(0|i)){var f=0;t=7;break}t=5;break}if(8==(0|a)||9==(0|a)||11==(0|a)||12==(0|a)||13==(0|a)||14==(0|a)||15==(0|a)||16==(0|a)||17==(0|a)||18==(0|a)||19==(0|a)||20==(0|a)||29==(0|a)||30==(0|a)||31==(0|a)||32==(0|a)||34==(0|a)||38==(0|a)||39==(0|a)||42==(0|a)){if(0==(0|e)){var f=0;t=7;break}t=5;break}if(36==(0|a)){if(0==(0|i)){var f=0;t=7;break}t=5;break}if(35==(0|a)||22==(0|a)||23==(0|a)||24==(0|a)||25==(0|a)||26==(0|a)||27==(0|a))t=5;else{var f=0;t=7}}while(0);do if(5==t){var _=J(r),v=_>>2;if(0==(0|_)){var f=0;break}Se[v]=a,Se[v+1]=e,Se[v+2]=i;var f=_}while(0);var f;return f}function L(r){var a=sr(r);if((0|a)<1)var e=0;else{var i=Rr(r,a);Se[r+44>>2]=i;var e=i}var e;return e}function F(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;if(Se[a]=i,Ae[e]<<24>>24==70){if(Ae[i]<<24>>24==89){var v=e+2|0;Se[a]=v}var t=Sr(r,1),f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==69?t:0,n=s}else var n=0;var n;return n}function X(r){var a=Ar(r);return a}function j(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==65;do if(v){var t=Ae[i];if(t<<24>>24==95)var f=0;else if((t-48&255&255)<10){for(var _=i;;){var _,s=_+1|0;if(Se[a]=s,(Ae[s]-48&255&255)>=10)break;var _=s}var n=s-i|0,o=lr(r,i,n);if(0==(0|o)){var l=0;break}var f=o}else{var b=nr(r);if(0==(0|b)){var l=0;break}var f=b}var f,k=Se[a],u=k+1|0;if(Se[a]=u,Ae[k]<<24>>24!=95){var l=0;break}var c=N(r),h=D(r,36,f,c),l=h}else var l=0;while(0);var l;return l}function U(r){var a=Oe;Oe+=4;var e=a,i=r+12|0,v=Se[i>>2],t=v+1|0;Se[i>>2]=t;var f=Ae[v]<<24>>24==77;r:do if(f){var _=N(r),s=I(r,e,1);if(0==(0|s)){var n=0;break}var o=N(r);Se[s>>2]=o;var l=(0|s)==(0|e);do if(!l){if(35==(0|Se[o>>2]))break;var b=Se[e>>2],k=R(r,b);if(0==(0|k)){var n=0;break r}}while(0);var u=Se[e>>2],c=D(r,37,_,u),n=c}else var n=0;while(0);var n;return Oe=a,n}function x(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==84;do if(v){if(Ae[i]<<24>>24==95)var t=0,f=i;else{var _=sr(r);if((0|_)<0){var s=0;break}var t=_+1|0,f=Se[a]}var f,t;if(Se[a]=f+1|0,Ae[f]<<24>>24!=95){var s=0;break}var n=r+40|0,o=Se[n>>2]+1|0;Se[n>>2]=o;var l=Er(r,t),s=l}else var s=0;while(0);var s;return s}function z(r){var a,e=Oe;Oe+=4;var i=e,v=r+44|0,t=Se[v>>2],a=(r+12|0)>>2,f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==73;r:do if(s){Se[i>>2]=0;for(var n=i;;){var n,o=_r(r);if(0==(0|o)){var l=0;break r}var b=D(r,39,o,0);if(Se[n>>2]=b,0==(0|b)){var l=0;break r}var k=Se[a];if(Ae[k]<<24>>24==69)break;var n=b+8|0}var u=k+1|0;Se[a]=u,Se[v>>2]=t;var l=Se[i>>2]}else var l=0;while(0);var l;return Oe=e,l}function V(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=i+1|0;Se[e]=v;var t=Ae[i]<<24>>24==83;r:do if(t){var f=i+2|0;Se[e]=f;var _=ge[v];if(_<<24>>24==95)var s=0;else{if(!((_-48&255&255)<10|(_-65&255&255)<26)){var n=8&Se[r+8>>2],o=n>>>3,l=0!=(0|n)|0==(0|a);do if(l)var b=o;else{if((Ae[f]-67&255&255)>=2){var b=o;break}var b=1}while(0);for(var b,k=0|ei;;){var k;if(k>>>0>=(ei+196|0)>>>0){var u=0;break r}if(_<<24>>24==Ae[0|k]<<24>>24)break;var k=k+28|0}var c=Se[k+20>>2];if(0!=(0|c)){var h=Se[k+24>>2],d=fr(r,c,h);Se[r+44>>2]=d}if(0==(0|b))var w=k+8|0,p=k+4|0;else var w=k+16|0,p=k+12|0;var p,w,E=Se[w>>2],A=Se[p>>2],g=r+48|0,y=Se[g>>2]+E|0;Se[g>>2]=y;var m=fr(r,A,E),u=m;break}for(var S=_,M=0,C=f;;){var C,M,S;if((S-48&255&255)<10)var R=36*M-48|0;else{if((S-65&255&255)>=26){var u=0;break r}var R=36*M-55|0}var R,T=(S<<24>>24)+R|0;if((0|T)<0){var u=0;break r}var O=C+1|0;Se[e]=O;var N=ge[C];if(N<<24>>24==95)break;var S=N,M=T,C=O}var s=T+1|0}var s;if((0|s)>=(0|Se[r+32>>2])){var u=0;break}var I=r+40|0,P=Se[I>>2]+1|0;Se[I>>2]=P;var u=Se[Se[r+28>>2]+(s<<2)>>2]}else var u=0;while(0);var u;return u}function B(r,a,e,i){var v,t,f,_,s=Oe;Oe+=28;var n,o=s,_=o>>2;Se[_]=r;var l=e+1|0,f=(o+12|0)>>2;Se[f]=l;var b=Jr(l),t=(o+4|0)>>2;if(Se[t]=b,0==(0|b))var k=0,u=1;else{var v=(o+8|0)>>2;Se[v]=0,Se[_+4]=0,Se[_+5]=0;var c=o+24|0;Se[c>>2]=0,H(o,a);var h=Me[t],d=0==(0|h);do{if(!d){var w=Me[v];if(w>>>0>=Me[f]>>>0){n=5;break}Se[v]=w+1|0,Ae[h+w|0]=0,n=6;break}n=5}while(0);5==n&&Y(o,0);var p=Se[t],E=0==(0|p)?Se[c>>2]:Se[f],k=p,u=E}var u,k;return Se[i>>2]=u,Oe=s,k}function H(r,a){var e,i,v,t,f,_,s,n,o,l,b,k,u,c,h,d,w,p,E,A,g,y,m,S,M,C,R,T,O,N,I,P,D,L,F,X,j,U,x,z,V,B,K,G,W,J,vr,tr,fr,_r,sr,nr,or,lr,br,kr,ur,cr,hr,dr,wr,pr=a>>2,Er=r>>2,Ar=Oe;Oe+=184;var gr,yr=Ar,wr=yr>>2,mr=Ar+64,dr=mr>>2,Sr=Ar+72,Mr=Ar+88,Cr=Ar+104,hr=Cr>>2,Rr=Ar+168,Tr=0==(0|a);r:do if(Tr)Z(r);else{var cr=(r+4|0)>>2,Or=Me[cr];if(0==(0|Or))break;var Nr=0|a,Ir=Me[Nr>>2];a:do{if(0==(0|Ir)){if(0!=(4&Se[Er]|0)){var Pr=Se[pr+1],Dr=Se[pr+2];q(r,Pr,Dr);break r}var ur=(r+8|0)>>2,Lr=Me[ur],Fr=a+8|0,Xr=Me[Fr>>2];if((Xr+Lr|0)>>>0>Me[Er+3]>>>0){var jr=Se[pr+1];Q(r,jr,Xr);break r}var Ur=Or+Lr|0,xr=Se[pr+1];Pa(Ur,xr,Xr,1);var zr=Se[ur]+Se[Fr>>2]|0;Se[ur]=zr;break r}if(1==(0|Ir)||2==(0|Ir)){var Vr=Se[pr+1];H(r,Vr);var Br=0==(4&Se[Er]|0),Hr=Me[cr],Kr=0!=(0|Hr);e:do if(Br){do if(Kr){var kr=(r+8|0)>>2,Yr=Me[kr];if((Yr+2|0)>>>0>Me[Er+3]>>>0)break;var Gr=Hr+Yr|0;oe=14906,Ae[Gr]=255&oe,oe>>=8,Ae[Gr+1]=255&oe;var Wr=Se[kr]+2|0;Se[kr]=Wr;break e}while(0);Q(r,0|He.__str120,2)}else{do if(Kr){var Zr=r+8|0,Qr=Me[Zr>>2];if(Qr>>>0>=Me[Er+3]>>>0)break;Se[Zr>>2]=Qr+1|0,Ae[Hr+Qr|0]=46;break e}while(0);Y(r,46)}while(0);var qr=Se[pr+2];H(r,qr);break r}if(3==(0|Ir)){for(var br=(r+20|0)>>2,$r=Me[br],lr=(r+16|0)>>2,Jr=a,ra=0,aa=$r;;){var aa,ra,Jr,ea=Me[Jr+4>>2];if(0==(0|ea)){var ia=ra,va=0;gr=33;break}if(ra>>>0>3){Z(r);break r}var ta=(ra<<4)+yr|0;Se[ta>>2]=aa,Se[br]=ta,Se[((ra<<4)+4>>2)+wr]=ea,Se[((ra<<4)+8>>2)+wr]=0;var fa=Me[lr];Se[((ra<<4)+12>>2)+wr]=fa;var _a=ra+1|0,sa=0|ea,na=Me[sa>>2];if((na-25|0)>>>0>=3){gr=25;break}var Jr=ea,ra=_a,aa=ta}e:do if(25==gr){if(4==(0|na)){Se[dr]=fa,Se[lr]=mr,Se[dr+1]=ea;var oa=Se[sa>>2],la=mr}else var oa=na,la=fa;var la,oa;if(2!=(0|oa)){var ia=_a,va=sa;break}for(var ba=_a,ka=ea+8|0;;){var ka,ba,ua=Me[ka>>2];if((Se[ua>>2]-25|0)>>>0>=3){var ia=ba,va=sa;break e}if(ba>>>0>3)break;var ca=(ba<<4)+yr|0,ha=ba-1|0,da=(ha<<4)+yr|0,or=ca>>2,nr=da>>2;Se[or]=Se[nr],Se[or+1]=Se[nr+1],Se[or+2]=Se[nr+2],Se[or+3]=Se[nr+3],Se[ca>>2]=da,Se[br]=ca,Se[((ha<<4)+4>>2)+wr]=ua,Se[((ha<<4)+8>>2)+wr]=0,Se[((ha<<4)+12>>2)+wr]=la;var ba=ba+1|0,ka=ua+4|0}Z(r);break r}while(0);var va,ia,wa=Se[pr+2];if(H(r,wa),4==(0|Se[va>>2])){var pa=Se[dr];Se[lr]=pa}var Ea=0==(0|ia);e:do if(!Ea)for(var Aa=r+8|0,ga=r+12|0,ya=ia;;){var ya,ma=ya-1|0;if(0==(0|Se[((ma<<4)+8>>2)+wr])){var Sa=Me[cr],Ma=0==(0|Sa);do{if(!Ma){var Ca=Me[Aa>>2];if(Ca>>>0>=Me[ga>>2]>>>0){gr=41;break}Se[Aa>>2]=Ca+1|0,Ae[Sa+Ca|0]=32,gr=42;break}gr=41}while(0);41==gr&&Y(r,32);var Ra=Se[((ma<<4)+4>>2)+wr];$(r,Ra)}if(0==(0|ma))break e;var ya=ma}while(0);Se[br]=$r;break r}if(4==(0|Ir)){var sr=(r+20|0)>>2,Ta=Se[sr];Se[sr]=0;var Oa=Se[pr+1];H(r,Oa);var Na=Me[cr],Ia=0==(0|Na);do{if(!Ia){var _r=(r+8|0)>>2,Da=Me[_r],La=0==(0|Da);do if(!La){if(Ae[Na+(Da-1)|0]<<24>>24!=60)break;Da>>>0<Me[Er+3]>>>0?(Se[_r]=Da+1|0,Ae[Na+Da|0]=32):Y(r,32)}while(0);var Fa=Me[cr];if(0==(0|Fa)){gr=54;break}var Xa=Me[_r];if(Xa>>>0>=Me[Er+3]>>>0){gr=54;break}Se[_r]=Xa+1|0,Ae[Fa+Xa|0]=60,gr=55;break}gr=54}while(0);54==gr&&Y(r,60);var ja=Se[pr+2];H(r,ja);var Ua=Me[cr],xa=0==(0|Ua);do{if(!xa){var fr=(r+8|0)>>2,za=Me[fr],Va=0==(0|za);do if(!Va){if(Ae[Ua+(za-1)|0]<<24>>24!=62)break;za>>>0<Me[Er+3]>>>0?(Se[fr]=za+1|0,Ae[Ua+za|0]=32):Y(r,32)}while(0);var Ba=Me[cr];if(0==(0|Ba)){gr=64;break}var Ha=Me[fr];if(Ha>>>0>=Me[Er+3]>>>0){gr=64;break}Se[fr]=Ha+1|0,Ae[Ba+Ha|0]=62,gr=65;break}gr=64}while(0);64==gr&&Y(r,62),Se[sr]=Ta;break r}if(5==(0|Ir)){var tr=(r+16|0)>>2,Ka=Me[tr];if(0==(0|Ka)){Z(r);break r}for(var Ya=Se[pr+1],Ga=Se[Ka+4>>2];;){var Ga,Ya,Wa=Se[Ga+8>>2];if(0==(0|Wa))break;if(39!=(0|Se[Wa>>2])){Z(r);break r}if((0|Ya)<1){if(0!=(0|Ya))break;var Za=Se[Ka>>2];Se[tr]=Za;var Qa=Se[Wa+4>>2];H(r,Qa),Se[tr]=Ka;break r}var Ya=Ya-1|0,Ga=Wa}Z(r);break r}if(6==(0|Ir)){var qa=Se[pr+2];H(r,qa);break r}if(7==(0|Ir)){var $a=r+8|0,Ja=Me[$a>>2];Ja>>>0<Me[Er+3]>>>0?(Se[$a>>2]=Ja+1|0,Ae[Or+Ja|0]=126):Y(r,126);var re=Se[pr+2];H(r,re);break r}if(8==(0|Ir)){var vr=(r+8|0)>>2,ae=Me[vr];if((ae+11|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str121,11);else{for(var ee=Or+ae|0,ie=0|He.__str121,ve=ee,te=ie+11;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var fe=Se[vr]+11|0;Se[vr]=fe}var _e=Se[pr+1];H(r,_e);break r}if(9==(0|Ir)){var J=(r+8|0)>>2,se=Me[J];if((se+8|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str122,8);else{var ne=Or+se|0,le=0|ne;oe=542397526,Ae[le]=255&oe,oe>>=8,Ae[le+1]=255&oe,oe>>=8,Ae[le+2]=255&oe,oe>>=8,Ae[le+3]=255&oe;var be=ne+4|0;oe=544370534,Ae[be]=255&oe,oe>>=8,Ae[be+1]=255&oe,oe>>=8,Ae[be+2]=255&oe,oe>>=8,Ae[be+3]=255&oe;var ke=Se[J]+8|0;Se[J]=ke}var ue=Se[pr+1];H(r,ue);break r}if(10==(0|Ir)){var W=(r+8|0)>>2,ce=Me[W],he=r+12|0;if((ce+24|0)>>>0>Me[he>>2]>>>0)Q(r,0|He.__str123,24);else{var de=Or+ce|0;Pa(de,0|He.__str123,24,1);var we=Se[W]+24|0;Se[W]=we}var pe=Se[pr+1];H(r,pe);var Ee=Me[cr],ge=0==(0|Ee);do{if(!ge){var ye=Me[W];if((ye+4|0)>>>0>Me[he>>2]>>>0){gr=96;break}var me=Ee+ye|0;oe=762210605,Ae[me]=255&oe,oe>>=8,Ae[me+1]=255&oe,oe>>=8,Ae[me+2]=255&oe,oe>>=8,Ae[me+3]=255&oe;var Ce=Se[W]+4|0;Se[W]=Ce,gr=97;break}gr=96}while(0);96==gr&&Q(r,0|He.__str124,4);var Re=Se[pr+2];H(r,Re);break r}if(11==(0|Ir)){var G=(r+8|0)>>2,Te=Me[G];if((Te+13|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str125,13);else{for(var Ne=Or+Te|0,ie=0|He.__str125,ve=Ne,te=ie+13;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Ie=Se[G]+13|0;Se[G]=Ie}var Pe=Se[pr+1];H(r,Pe);break r}if(12==(0|Ir)){var K=(r+8|0)>>2,De=Me[K];if((De+18|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str126,18);else{for(var Le=Or+De|0,ie=0|He.__str126,ve=Le,te=ie+18;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Fe=Se[K]+18|0;Se[K]=Fe}var Xe=Se[pr+1];H(r,Xe);break r}if(13==(0|Ir)){var B=(r+8|0)>>2,je=Me[B];if((je+16|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str127,16);else{for(var Ue=Or+je|0,ie=0|He.__str127,ve=Ue,te=ie+16;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var xe=Se[B]+16|0;Se[B]=xe}var ze=Se[pr+1];H(r,ze);break r}if(14==(0|Ir)){var V=(r+8|0)>>2,Ve=Me[V];if((Ve+21|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str128,21);else{var Be=Or+Ve|0;Pa(Be,0|He.__str128,21,1);var Ke=Se[V]+21|0;Se[V]=Ke}var Ye=Se[pr+1];H(r,Ye);break r}if(15==(0|Ir)){var z=(r+8|0)>>2,Ge=Me[z];if((Ge+17|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str129,17);else{for(var We=Or+Ge|0,ie=0|He.__str129,ve=We,te=ie+17;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Ze=Se[z]+17|0;Se[z]=Ze}var Qe=Se[pr+1];H(r,Qe);break r}if(16==(0|Ir)){var x=(r+8|0)>>2,qe=Me[x];if((qe+26|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str130,26);else{var $e=Or+qe|0;Pa($e,0|He.__str130,26,1);var Je=Se[x]+26|0;Se[x]=Je}var ri=Se[pr+1];H(r,ri);break r}if(17==(0|Ir)){var U=(r+8|0)>>2,ai=Me[U];if((ai+15|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str131,15);else{for(var ei=Or+ai|0,ie=0|He.__str131,ve=ei,te=ie+15;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var ii=Se[U]+15|0;Se[U]=ii}var vi=Se[pr+1];H(r,vi);break r}if(18==(0|Ir)){var j=(r+8|0)>>2,ti=Me[j];if((ti+19|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str132,19);else{for(var fi=Or+ti|0,ie=0|He.__str132,ve=fi,te=ie+19;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var _i=Se[j]+19|0;Se[j]=_i}var si=Se[pr+1];H(r,si);break r}if(19==(0|Ir)){var X=(r+8|0)>>2,ni=Me[X];if((ni+24|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str133,24);else{var oi=Or+ni|0;Pa(oi,0|He.__str133,24,1);var li=Se[X]+24|0;Se[X]=li}var bi=Se[pr+1];H(r,bi);break r}if(20==(0|Ir)){var F=(r+8|0)>>2,ki=Me[F];if((ki+17|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str134,17);else{for(var ui=Or+ki|0,ie=0|He.__str134,ve=ui,te=ie+17;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var ci=Se[F]+17|0;Se[F]=ci}var hi=Se[pr+1];H(r,hi);break r}if(21==(0|Ir)){var L=(r+8|0)>>2,di=Me[L],wi=a+8|0,pi=Me[wi>>2];if((pi+di|0)>>>0>Me[Er+3]>>>0){var Ei=Se[pr+1];Q(r,Ei,pi);break r}var Ai=Or+di|0,gi=Se[pr+1];Pa(Ai,gi,pi,1);var yi=Se[L]+Se[wi>>2]|0;Se[L]=yi;break r}if(22==(0|Ir)||23==(0|Ir)||24==(0|Ir)){for(var mi=r+20|0;;){var mi,Si=Me[mi>>2];if(0==(0|Si))break a;if(0==(0|Se[Si+8>>2])){var Mi=Me[Se[Si+4>>2]>>2];if((Mi-22|0)>>>0>=3)break a;if((0|Mi)==(0|Ir))break}var mi=0|Si}var Ci=Se[pr+1];H(r,Ci);break r}if(25!=(0|Ir)&&26!=(0|Ir)&&27!=(0|Ir)&&28!=(0|Ir)&&29!=(0|Ir)&&30!=(0|Ir)&&31!=(0|Ir)&&32!=(0|Ir)){if(33==(0|Ir)){var D=(r+8|0)>>2,Ri=Me[D],P=(a+4|0)>>2,I=Me[P]>>2;if(0==(4&Se[Er]|0)){var Ti=Me[I+1];if((Ti+Ri|0)>>>0>Me[Er+3]>>>0){var Oi=Se[I];Q(r,Oi,Ti);break r}var Ni=Or+Ri|0,Ii=Se[I];Pa(Ni,Ii,Ti,1);var Pi=Se[D]+Se[Se[P]+4>>2]|0;Se[D]=Pi;break r}var Di=Me[I+3];if((Di+Ri|0)>>>0>Me[Er+3]>>>0){var Li=Se[I+2];Q(r,Li,Di);break r}var Fi=Or+Ri|0,Xi=Se[I+2];Pa(Fi,Xi,Di,1);var ji=Se[D]+Se[Se[P]+12>>2]|0;Se[D]=ji;break r}if(34==(0|Ir)){var Ui=Se[pr+1];H(r,Ui);break r}if(35==(0|Ir)){var N=(0|r)>>2;if(0!=(32&Se[N]|0)){var xi=Se[Er+5];rr(r,a,xi)}var zi=a+4|0,Vi=0==(0|Se[zi>>2]);e:do if(!Vi){var O=(r+20|0)>>2,Bi=Se[O],Hi=0|Mr;Se[Hi>>2]=Bi,Se[O]=Mr,Se[Mr+4>>2]=a;var Ki=Mr+8|0;Se[Ki>>2]=0;var Yi=Se[Er+4];Se[Mr+12>>2]=Yi;var Gi=Se[zi>>2];H(r,Gi);var Wi=Se[Hi>>2];if(Se[O]=Wi,0!=(0|Se[Ki>>2]))break r;if(0!=(32&Se[N]|0))break;var Zi=Me[cr],Qi=0==(0|Zi);do if(!Qi){var qi=r+8|0,$i=Me[qi>>2];if($i>>>0>=Me[Er+3]>>>0)break;Se[qi>>2]=$i+1|0,Ae[Zi+$i|0]=32;break e}while(0);Y(r,32)}while(0);if(0!=(32&Se[N]|0))break r;var Ji=Se[Er+5];rr(r,a,Ji);break r}if(36==(0|Ir)){var T=(r+20|0)>>2,rv=Me[T],av=0|Cr;Se[hr]=rv,Se[T]=av,Se[hr+1]=a;var ev=Cr+8|0;Se[ev>>2]=0;var iv=Se[Er+4];Se[hr+3]=iv;for(var vv=rv,tv=1;;){var tv,vv;if(0==(0|vv))break;if((Se[Se[vv+4>>2]>>2]-22|0)>>>0>=3)break;var fv=vv+8|0;if(0==(0|Se[fv>>2])){if(tv>>>0>3){Z(r);break r}var _v=(tv<<4)+Cr|0,R=_v>>2,C=vv>>2;Se[R]=Se[C],Se[R+1]=Se[C+1],Se[R+2]=Se[C+2],Se[R+3]=Se[C+3];var sv=Se[T];Se[_v>>2]=sv,Se[T]=_v,Se[fv>>2]=1;var nv=tv+1|0}else var nv=tv;var nv,vv=Se[vv>>2],tv=nv}var ov=Se[pr+2];if(H(r,ov),Se[T]=rv,0!=(0|Se[ev>>2]))break r;if(tv>>>0>1){for(var lv=tv;;){var lv,bv=lv-1|0,kv=Se[((bv<<4)+4>>2)+hr];if($(r,kv),bv>>>0<=1)break;var lv=bv}var uv=Se[T]}else var uv=rv;var uv;ar(r,a,uv);break r}if(37==(0|Ir)){var M=(r+20|0)>>2,cv=Se[M],hv=0|Rr;Se[hv>>2]=cv,Se[M]=Rr,Se[Rr+4>>2]=a;var dv=Rr+8|0;Se[dv>>2]=0;var wv=Se[Er+4];Se[Rr+12>>2]=wv;var pv=a+4|0,Ev=Se[pr+2];H(r,Ev);var Av=0==(0|Se[dv>>2]);e:do if(Av){var gv=Me[cr],yv=0==(0|gv);do{if(!yv){var mv=r+8|0,Sv=Me[mv>>2];if(Sv>>>0>=Me[Er+3]>>>0){gr=187;break}Se[mv>>2]=Sv+1|0,Ae[gv+Sv|0]=32,gr=188;break}gr=187}while(0);187==gr&&Y(r,32);var Mv=Se[pv>>2];H(r,Mv);var Cv=Me[cr],Rv=0==(0|Cv);do if(!Rv){var S=(r+8|0)>>2,Tv=Me[S];if((Tv+3|0)>>>0>Me[Er+3]>>>0)break;var Ov=Cv+Tv|0;Ae[Ov]=Ae[0|He.__str135],Ae[Ov+1]=Ae[(0|He.__str135)+1],Ae[Ov+2]=Ae[(0|He.__str135)+2];var Nv=Se[S]+3|0;Se[S]=Nv;break e}while(0);Q(r,0|He.__str135,3)}while(0);var Iv=Se[hv>>2];Se[M]=Iv;break r}if(38==(0|Ir)||39==(0|Ir)){var Pv=Se[pr+1];H(r,Pv);var Dv=a+8|0;if(0==(0|Se[Dv>>2]))break r;var Lv=Me[cr],Fv=0==(0|Lv);do{if(!Fv){var m=(r+8|0)>>2,Xv=Me[m];if((Xv+2|0)>>>0>Me[Er+3]>>>0){gr=197;break}var jv=Lv+Xv|0;oe=8236,Ae[jv]=255&oe,oe>>=8,Ae[jv+1]=255&oe;var Uv=Se[m]+2|0;Se[m]=Uv,gr=198;break}gr=197}while(0);197==gr&&Q(r,0|He.__str136,2);var xv=Se[Dv>>2];H(r,xv);break r}if(40==(0|Ir)){var y=(r+8|0)>>2,zv=Me[y],g=(r+12|0)>>2;if((zv+8|0)>>>0>Me[g]>>>0)Q(r,0|He.__str137,8);else{var Vv=Or+zv|0,le=0|Vv;oe=1919250543,Ae[le]=255&oe,oe>>=8,Ae[le+1]=255&oe,oe>>=8,Ae[le+2]=255&oe,oe>>=8,Ae[le+3]=255&oe;var be=Vv+4|0;oe=1919906913,Ae[be]=255&oe,oe>>=8,Ae[be+1]=255&oe,oe>>=8,Ae[be+2]=255&oe,oe>>=8,Ae[be+3]=255&oe;var Bv=Se[y]+8|0;Se[y]=Bv}var A=(a+4|0)>>2,Hv=(Ae[Se[Se[A]+4>>2]]-97&255&255)<26;e:do if(Hv){var Kv=Me[cr],Yv=0==(0|Kv);do if(!Yv){var Gv=Me[y];if(Gv>>>0>=Me[g]>>>0)break;Se[y]=Gv+1|0,Ae[Kv+Gv|0]=32;break e}while(0);Y(r,32)}while(0);var Wv=Me[cr],Zv=0==(0|Wv);do{if(!Zv){var Qv=Me[y],qv=Me[A],$v=Me[qv+8>>2];if(($v+Qv|0)>>>0>Me[g]>>>0){var Jv=qv,rt=$v;break}var at=Wv+Qv|0,et=Se[qv+4>>2];Pa(at,et,$v,1);var it=Se[y]+Se[Se[A]+8>>2]|0;Se[y]=it;break r}var vt=Me[A],Jv=vt,rt=Se[vt+8>>2]}while(0);var rt,Jv,tt=Se[Jv+4>>2];Q(r,tt,rt);break r}if(41==(0|Ir)){var E=(r+8|0)>>2,ft=Me[E];if((ft+9|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str10180,9);else{for(var _t=Or+ft|0,ie=0|He.__str10180,ve=_t,te=ie+9;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var st=Se[E]+9|0;Se[E]=st}var nt=Se[pr+2];H(r,nt);break r}if(42==(0|Ir)){var p=(r+8|0)>>2,ot=Me[p];if((ot+9|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str10180,9);else{for(var lt=Or+ot|0,ie=0|He.__str10180,ve=lt,te=ie+9;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var bt=Se[p]+9|0;Se[p]=bt}er(r,a);break r}if(43==(0|Ir)){var kt=a+4|0,ut=Se[kt>>2],ct=42==(0|Se[ut>>2]);e:do if(ct){var w=(r+8|0)>>2,ht=Me[w],dt=r+12|0;ht>>>0<Me[dt>>2]>>>0?(Se[w]=ht+1|0,Ae[Or+ht|0]=40):Y(r,40);var wt=Se[kt>>2];er(r,wt);var pt=Me[cr],Et=0==(0|pt);do if(!Et){var At=Me[w];if(At>>>0>=Me[dt>>2]>>>0)break;Se[w]=At+1|0,Ae[pt+At|0]=41;break e}while(0);Y(r,41)}else ir(r,ut);while(0);var gt=Me[cr],yt=0==(0|gt);do{if(!yt){var mt=r+8|0,St=Me[mt>>2];if(St>>>0>=Me[Er+3]>>>0){gr=232;break}Se[mt>>2]=St+1|0,Ae[gt+St|0]=40,gr=233;break}gr=232}while(0);232==gr&&Y(r,40);var Mt=Se[pr+2];H(r,Mt);var Ct=Me[cr],Rt=0==(0|Ct);do if(!Rt){var Tt=r+8|0,Ot=Me[Tt>>2];if(Ot>>>0>=Me[Er+3]>>>0)break;Se[Tt>>2]=Ot+1|0,Ae[Ct+Ot|0]=41;break r}while(0);Y(r,41);break r}if(44==(0|Ir)){var d=(a+8|0)>>2;if(45==(0|Se[Se[d]>>2])){var h=(a+4|0)>>2,Nt=Se[h],It=40==(0|Se[Nt>>2]);do if(It){var Pt=Se[Nt+4>>2];if(1!=(0|Se[Pt+8>>2]))break;if(Ae[Se[Pt+4>>2]]<<24>>24!=62)break;var Dt=r+8|0,Lt=Me[Dt>>2];Lt>>>0<Me[Er+3]>>>0?(Se[Dt>>2]=Lt+1|0,Ae[Or+Lt|0]=40):Y(r,40)}while(0);var Ft=Me[cr],Xt=0==(0|Ft);do{if(!Xt){var jt=r+8|0,Ut=Me[jt>>2];if(Ut>>>0>=Me[Er+3]>>>0){gr=248;break}Se[jt>>2]=Ut+1|0,Ae[Ft+Ut|0]=40,gr=249;break}gr=248}while(0);248==gr&&Y(r,40);var xt=Se[Se[d]+4>>2];H(r,xt);var zt=Me[cr],Vt=0==(0|zt);do{if(!Vt){var c=(r+8|0)>>2,Bt=Me[c];if((Bt+2|0)>>>0>Me[Er+3]>>>0){gr=252;break}var Ht=zt+Bt|0;oe=8233,Ae[Ht]=255&oe,oe>>=8,Ae[Ht+1]=255&oe;var Kt=Se[c]+2|0;Se[c]=Kt,gr=253;break}gr=252}while(0);252==gr&&Q(r,0|He.__str139,2);var Yt=Se[h];ir(r,Yt);var Gt=Me[cr],Wt=0==(0|Gt);do{if(!Wt){var u=(r+8|0)>>2,Zt=Me[u];if((Zt+2|0)>>>0>Me[Er+3]>>>0){gr=256;break}var Qt=Gt+Zt|0;oe=10272,Ae[Qt]=255&oe,oe>>=8,Ae[Qt+1]=255&oe;var qt=Se[u]+2|0;Se[u]=qt,gr=257;break}gr=256}while(0);256==gr&&Q(r,0|He.__str140,2);var $t=Se[Se[d]+8>>2];H(r,$t);var Jt=Me[cr],rf=0==(0|Jt);do{if(!rf){var af=r+8|0,ef=Me[af>>2];if(ef>>>0>=Me[Er+3]>>>0){gr=260;break}Se[af>>2]=ef+1|0,Ae[Jt+ef|0]=41,gr=261;break}gr=260}while(0);260==gr&&Y(r,41);var vf=Se[h];if(40!=(0|Se[vf>>2]))break r;var tf=Se[vf+4>>2];if(1!=(0|Se[tf+8>>2]))break r;if(Ae[Se[tf+4>>2]]<<24>>24!=62)break r;var ff=Me[cr],_f=0==(0|ff);do if(!_f){var sf=r+8|0,nf=Me[sf>>2];if(nf>>>0>=Me[Er+3]>>>0)break;Se[sf>>2]=nf+1|0,Ae[ff+nf|0]=41;break r}while(0);Y(r,41);break r}Z(r);break r}if(45==(0|Ir)){Z(r);break r}if(46==(0|Ir)){var of=a+4|0,k=(a+8|0)>>2,lf=Se[k],bf=47==(0|Se[lf>>2]);do if(bf){if(48!=(0|Se[Se[lf+8>>2]>>2]))break;var b=(r+8|0)>>2,kf=Me[b],l=(r+12|0)>>2;kf>>>0<Me[l]>>>0?(Se[b]=kf+1|0,Ae[Or+kf|0]=40):Y(r,40);var uf=Se[Se[k]+4>>2];H(r,uf);var cf=Me[cr],hf=0==(0|cf);do{if(!hf){var df=Me[b];if((df+2|0)>>>0>Me[l]>>>0){gr=278;break}var wf=cf+df|0;oe=8233,Ae[wf]=255&oe,oe>>=8,Ae[wf+1]=255&oe;var pf=Se[b]+2|0;Se[b]=pf,gr=279;break}gr=278}while(0);278==gr&&Q(r,0|He.__str139,2);var Ef=Se[of>>2];ir(r,Ef);var Af=Me[cr],gf=0==(0|Af);do{if(!gf){var yf=Me[b];if((yf+2|0)>>>0>Me[l]>>>0){gr=282;break}var mf=Af+yf|0;oe=10272,Ae[mf]=255&oe,oe>>=8,Ae[mf+1]=255&oe;var Sf=Se[b]+2|0;Se[b]=Sf,gr=283;break}gr=282}while(0);282==gr&&Q(r,0|He.__str140,2);var Mf=Se[Se[Se[k]+8>>2]+4>>2];H(r,Mf);var Cf=Me[cr],Rf=0==(0|Cf);do{if(!Rf){var Tf=Me[b];if((Tf+5|0)>>>0>Me[l]>>>0){gr=286;break}var Of=Cf+Tf|0;Ae[Of]=Ae[0|He.__str141],Ae[Of+1]=Ae[(0|He.__str141)+1],Ae[Of+2]=Ae[(0|He.__str141)+2],Ae[Of+3]=Ae[(0|He.__str141)+3],Ae[Of+4]=Ae[(0|He.__str141)+4];var Nf=Se[b]+5|0;Se[b]=Nf,gr=287;break}gr=286}while(0);286==gr&&Q(r,0|He.__str141,5);var If=Se[Se[Se[k]+8>>2]+8>>2];H(r,If);var Pf=Me[cr],Df=0==(0|Pf);do if(!Df){var Lf=Me[b];if(Lf>>>0>=Me[l]>>>0)break;Se[b]=Lf+1|0,Ae[Pf+Lf|0]=41;break r}while(0);Y(r,41);break r}while(0);Z(r);break r}if(47==(0|Ir)||48==(0|Ir)){Z(r);break r}if(49==(0|Ir)||50==(0|Ir)){var Ff=a+4|0,Xf=Se[Ff>>2],jf=33==(0|Se[Xf>>2]);do{if(jf){var Uf=Me[Se[Xf+4>>2]+16>>2];if(1==(0|Uf)||2==(0|Uf)||3==(0|Uf)||4==(0|Uf)||5==(0|Uf)||6==(0|Uf)){var xf=a+8|0;if(0!=(0|Se[Se[xf>>2]>>2])){var zf=Uf;break}if(50==(0|Ir)){var Vf=r+8|0,Bf=Me[Vf>>2];Bf>>>0<Me[Er+3]>>>0?(Se[Vf>>2]=Bf+1|0,Ae[Or+Bf|0]=45):Y(r,45)}var Hf=Se[xf>>2];if(H(r,Hf),2==(0|Uf)){var Kf=Me[cr],Yf=0==(0|Kf);do if(!Yf){var Gf=r+8|0,Wf=Me[Gf>>2];if(Wf>>>0>=Me[Er+3]>>>0)break;Se[Gf>>2]=Wf+1|0,Ae[Kf+Wf|0]=117;break r}while(0);Y(r,117);break r}if(3==(0|Uf)){var Zf=Me[cr],Qf=0==(0|Zf);do if(!Qf){var qf=r+8|0,$f=Me[qf>>2];if($f>>>0>=Me[Er+3]>>>0)break;Se[qf>>2]=$f+1|0,Ae[Zf+$f|0]=108;break r}while(0);Y(r,108);break r}if(4==(0|Uf)){var Jf=Me[cr],r_=0==(0|Jf);do if(!r_){var o=(r+8|0)>>2,a_=Me[o];if((a_+2|0)>>>0>Me[Er+3]>>>0)break;var e_=Jf+a_|0;oe=27765,Ae[e_]=255&oe,oe>>=8,Ae[e_+1]=255&oe;var i_=Se[o]+2|0;Se[o]=i_;break r}while(0);Q(r,0|He.__str142,2);break r}if(5==(0|Uf)){var v_=Me[cr],t_=0==(0|v_);do if(!t_){var n=(r+8|0)>>2,f_=Me[n];if((f_+2|0)>>>0>Me[Er+3]>>>0)break;var __=v_+f_|0;oe=27756,Ae[__]=255&oe,oe>>=8,Ae[__+1]=255&oe;var s_=Se[n]+2|0;Se[n]=s_;break r}while(0);Q(r,0|He.__str143,2);break r}if(6==(0|Uf)){var n_=Me[cr],o_=0==(0|n_);do if(!o_){var s=(r+8|0)>>2,l_=Me[s];if((l_+3|0)>>>0>Me[Er+3]>>>0)break;var b_=n_+l_|0;Ae[b_]=Ae[0|He.__str144],Ae[b_+1]=Ae[(0|He.__str144)+1],Ae[b_+2]=Ae[(0|He.__str144)+2];var k_=Se[s]+3|0;Se[s]=k_;break r}while(0);Q(r,0|He.__str144,3);break r}break r}if(7==(0|Uf)){var _=Se[pr+2]>>2;if(0!=(0|Se[_])){var zf=7;break}if(!(1==(0|Se[_+2])&49==(0|Ir))){var zf=Uf;break}var u_=Ae[Se[_+1]]<<24>>24;if(48==(0|u_)){var f=(r+8|0)>>2,c_=Me[f];if((c_+5|0)>>>0>Me[Er+3]>>>0){Q(r,0|He.__str145,5);break r}var h_=Or+c_|0;Ae[h_]=Ae[0|He.__str145],Ae[h_+1]=Ae[(0|He.__str145)+1],Ae[h_+2]=Ae[(0|He.__str145)+2],Ae[h_+3]=Ae[(0|He.__str145)+3],Ae[h_+4]=Ae[(0|He.__str145)+4];var d_=Se[f]+5|0;Se[f]=d_;break r}if(49==(0|u_)){var t=(r+8|0)>>2,w_=Me[t];if((w_+4|0)>>>0>Me[Er+3]>>>0){Q(r,0|He.__str146,4);break r}var p_=Or+w_|0;oe=1702195828,Ae[p_]=255&oe,oe>>=8,Ae[p_+1]=255&oe,oe>>=8,Ae[p_+2]=255&oe,oe>>=8,Ae[p_+3]=255&oe;var E_=Se[t]+4|0;Se[t]=E_;break r}var zf=Uf;break}var zf=Uf;break}var zf=0}while(0);var zf,v=(r+8|0)>>2,A_=Me[v],i=(r+12|0)>>2;A_>>>0<Me[i]>>>0?(Se[v]=A_+1|0,Ae[Or+A_|0]=40):Y(r,40);var g_=Se[Ff>>2];H(r,g_);var y_=Me[cr],m_=0==(0|y_);do{if(!m_){var S_=Me[v];if(S_>>>0>=Me[i]>>>0){gr=335;break}Se[v]=S_+1|0,Ae[y_+S_|0]=41,gr=336;break}gr=335}while(0);335==gr&&Y(r,41);var M_=50==(0|Se[Nr>>2]);e:do if(M_){var C_=Me[cr],R_=0==(0|C_);do if(!R_){var T_=Me[v];if(T_>>>0>=Me[i]>>>0)break;Se[v]=T_+1|0,Ae[C_+T_|0]=45;break e}while(0);Y(r,45)}while(0);if(8==(0|zf)){var O_=Me[cr],N_=0==(0|O_);do{if(!N_){var I_=Me[v];if(I_>>>0>=Me[i]>>>0){gr=345;break}Se[v]=I_+1|0,Ae[O_+I_|0]=91,gr=346;break}gr=345}while(0);345==gr&&Y(r,91);var P_=Se[pr+2];H(r,P_);var D_=Me[cr],L_=0==(0|D_);do if(!L_){var F_=Me[v];if(F_>>>0>=Me[i]>>>0)break;Se[v]=F_+1|0,Ae[D_+F_|0]=93;break r}while(0);Y(r,93);break r}var X_=Se[pr+2];H(r,X_);break r}Z(r);break r}}while(0);var e=(r+20|0)>>2,j_=Se[e],U_=0|Sr;Se[U_>>2]=j_,Se[e]=Sr,Se[Sr+4>>2]=a;var x_=Sr+8|0;Se[x_>>2]=0;var z_=Se[Er+4];Se[Sr+12>>2]=z_;var V_=Se[pr+1];H(r,V_),0==(0|Se[x_>>2])&&$(r,a);var B_=Se[U_>>2];Se[e]=B_}while(0);Oe=Ar}function K(r,a,e,i){var v=i>>2;Se[v]=r,Se[v+1]=r+e|0,Se[v+2]=a,Se[v+3]=r,Se[v+6]=e<<1,Se[v+5]=0,Se[v+9]=e,Se[v+8]=0,Se[v+10]=0,Se[v+11]=0,Se[v+12]=0}function Y(r,a){var e,i=r+4|0,v=Me[i>>2],t=0==(0|v);do if(!t){var e=(r+8|0)>>2,f=Me[e];if(f>>>0<Me[r+12>>2]>>>0)var _=v,s=f;else{tr(r,1);var n=Me[i>>2];if(0==(0|n))break;var _=n,s=Se[e]}var s,_;Ae[_+s|0]=255&a;var o=Se[e]+1|0;Se[e]=o}while(0)}function G(r,a,e,i){var v,t=i>>2,f=Oe;Oe+=4;var _=f,v=_>>2,s=0==(0|r);do if(s){if(0==(0|i)){var n=0;break}Se[t]=-3;var n=0}else{var o=0==(0|e);if(0!=(0|a)&o){if(0==(0|i)){var n=0;break}Se[t]=-3;var n=0}else{var l=W(r,_);if(0==(0|l)){if(0==(0|i)){var n=0;break}if(1==(0|Se[v])){Se[t]=-1;var n=0}else{Se[t]=-2;var n=0}}else{var b=0==(0|a);do if(b){if(o){var k=l;break}var u=Se[v];Se[e>>2]=u;var k=l}else{var c=Ca(l);if(c>>>0<Me[e>>2]>>>0){Ra(a,l);va(l);var k=a}else{va(a);var h=Se[v];Se[e>>2]=h;var k=l}}while(0);var k;if(0==(0|i)){var n=k;break}Se[t]=0;var n=k}}}while(0);var n;return Oe=f,n}function W(r,a){var e,i=Oe;Oe+=52;var v,t=i,e=t>>2;Se[a>>2]=0;var f=Ca(r),_=Ae[r]<<24>>24==95;do{if(_){if(Ae[r+1|0]<<24>>24==90){var s=0;v=13;break}v=3;break}v=3}while(0);do if(3==v){var n=Na(r,0|He.__str117,8);if(0!=(0|n)){var s=1;v=13;break}var o=Ae[r+8|0];if(o<<24>>24!=46&&o<<24>>24!=95&&o<<24>>24!=36){var s=1;v=13;break}var l=r+9|0,b=Ae[l];if(b<<24>>24!=68&&b<<24>>24!=73){\nvar s=1;v=13;break}if(Ae[r+10|0]<<24>>24!=95){var s=1;v=13;break}var k=f+29|0,u=Jr(k);if(0==(0|u)){Se[a>>2]=1;var c=0;v=19;break}Ae[l]<<24>>24==73?Pa(u,0|He.__str118,30,1):Pa(u,0|He.__str119,29,1);var h=r+11|0,c=(Ia(u,h),u);v=19;break}while(0);if(13==v){var s;K(r,17,f,t);var d=Se[e+6],w=Ta(),p=Oe;Oe+=12*d,Oe=Oe+3>>2<<2;var E=Oe;if(Oe+=4*Se[e+9],Oe=Oe+3>>2<<2,Se[e+4]=p,Se[e+7]=E,s)var A=N(t),g=A;else var y=T(t,1),g=y;var g,m=Ae[Se[e+3]]<<24>>24==0?g:0,S=Se[e+12]+f+10*Se[e+10]|0;if(0==(0|m))var M=0;else var C=S/8+S|0,R=B(17,m,C,a),M=R;var M;Oa(w);var c=M}var c;return Oe=i,c}function Z(r){var a=r+4|0,e=Se[a>>2];va(e),Se[a>>2]=0}function Q(r,a,e){var i,v=r+4|0,t=Me[v>>2],f=0==(0|t);do if(!f){var i=(r+8|0)>>2,_=Me[i];if((_+e|0)>>>0>Me[r+12>>2]>>>0){tr(r,e);var s=Me[v>>2];if(0==(0|s))break;var n=s,o=Se[i]}else var n=t,o=_;var o,n;Pa(n+o|0,a,e,1);var l=Se[i]+e|0;Se[i]=l}while(0)}function q(r,a,e){var i,v,t=a+e|0,f=(0|e)>0;r:do if(f)for(var _=t,s=r+4|0,i=(r+8|0)>>2,n=r+12|0,o=a;;){var o,l=(_-o|0)>3;a:do{if(l){if(Ae[o]<<24>>24!=95){v=21;break}if(Ae[o+1|0]<<24>>24!=95){v=21;break}if(Ae[o+2|0]<<24>>24!=85){v=21;break}for(var b=o+3|0,k=0;;){var k,b;if(b>>>0>=t>>>0){v=21;break a}var u=ge[b],c=u<<24>>24;if((u-48&255&255)<10)var h=c-48|0;else if((u-65&255&255)<6)var h=c-55|0;else{if((u-97&255&255)>=6)break;var h=c-87|0}var h,b=b+1|0,k=(k<<4)+h|0}if(!(u<<24>>24==95&k>>>0<256)){v=21;break}var d=Me[s>>2],w=0==(0|d);do if(!w){var p=Me[i];if(p>>>0>=Me[n>>2]>>>0)break;Se[i]=p+1|0,Ae[d+p|0]=255&k;var E=b;v=25;break a}while(0);Y(r,k);var E=b;v=25;break}v=21}while(0);a:do if(21==v){var A=Me[s>>2],g=0==(0|A);do if(!g){var y=Me[i];if(y>>>0>=Me[n>>2]>>>0)break;var m=Ae[o];Se[i]=y+1|0,Ae[A+y|0]=m;var E=o;break a}while(0);var S=Ae[o]<<24>>24;Y(r,S);var E=o}while(0);var E,M=E+1|0;if(M>>>0>=t>>>0)break r;var o=M}while(0)}function $(r,a){var e,i,v,t,f,_,s,n=r>>2,o=Se[a>>2];r:do if(22==(0|o)||25==(0|o)){var l=Me[n+1],b=0==(0|l);do if(!b){var _=(r+8|0)>>2,k=Me[_];if((k+9|0)>>>0>Me[n+3]>>>0)break;for(var u=l+k|0,c=0|He.__str147,h=u,d=c+9;c<d;c++,h++)Ae[h]=Ae[c];var w=Se[_]+9|0;Se[_]=w;break r}while(0);Q(r,0|He.__str147,9)}else if(23==(0|o)||26==(0|o)){var p=Me[n+1],E=0==(0|p);do if(!E){var f=(r+8|0)>>2,A=Me[f];if((A+9|0)>>>0>Me[n+3]>>>0)break;for(var g=p+A|0,c=0|He.__str148,h=g,d=c+9;c<d;c++,h++)Ae[h]=Ae[c];var y=Se[f]+9|0;Se[f]=y;break r}while(0);Q(r,0|He.__str148,9)}else if(24==(0|o)||27==(0|o)){var m=Me[n+1],S=0==(0|m);do if(!S){var t=(r+8|0)>>2,M=Me[t];if((M+6|0)>>>0>Me[n+3]>>>0)break;var C=m+M|0;Ae[C]=Ae[0|He.__str149],Ae[C+1]=Ae[(0|He.__str149)+1],Ae[C+2]=Ae[(0|He.__str149)+2],Ae[C+3]=Ae[(0|He.__str149)+3],Ae[C+4]=Ae[(0|He.__str149)+4],Ae[C+5]=Ae[(0|He.__str149)+5];var R=Se[t]+6|0;Se[t]=R;break r}while(0);Q(r,0|He.__str149,6)}else if(28==(0|o)){var T=Me[n+1],O=0==(0|T);do{if(!O){var N=r+8|0,I=Me[N>>2];if(I>>>0>=Me[n+3]>>>0){s=17;break}Se[N>>2]=I+1|0,Ae[T+I|0]=32,s=18;break}s=17}while(0);17==s&&Y(r,32);var P=Se[a+8>>2];H(r,P)}else if(29==(0|o)){if(0!=(4&Se[n]|0))break;var D=Me[n+1],L=0==(0|D);do if(!L){var F=r+8|0,X=Me[F>>2];if(X>>>0>=Me[n+3]>>>0)break;Se[F>>2]=X+1|0,Ae[D+X|0]=42;break r}while(0);Y(r,42)}else if(30==(0|o)){var j=Me[n+1],U=0==(0|j);do if(!U){var x=r+8|0,z=Me[x>>2];if(z>>>0>=Me[n+3]>>>0)break;Se[x>>2]=z+1|0,Ae[j+z|0]=38;break r}while(0);Y(r,38)}else if(31==(0|o)){var V=Me[n+1],B=0==(0|V);do if(!B){var v=(r+8|0)>>2,K=Me[v];if((K+8|0)>>>0>Me[n+3]>>>0)break;var G=V+K|0,W=0|G;oe=1886220131,Ae[W]=255&oe,oe>>=8,Ae[W+1]=255&oe,oe>>=8,Ae[W+2]=255&oe,oe>>=8,Ae[W+3]=255&oe;var Z=G+4|0;oe=544761196,Ae[Z]=255&oe,oe>>=8,Ae[Z+1]=255&oe,oe>>=8,Ae[Z+2]=255&oe,oe>>=8,Ae[Z+3]=255&oe;var q=Se[v]+8|0;Se[v]=q;break r}while(0);Q(r,0|He.__str150,8)}else if(32==(0|o)){var $=Me[n+1],J=0==(0|$);do if(!J){var i=(r+8|0)>>2,rr=Me[i];if((rr+10|0)>>>0>Me[n+3]>>>0)break;for(var ar=$+rr|0,c=0|He.__str151,h=ar,d=c+10;c<d;c++,h++)Ae[h]=Ae[c];var er=Se[i]+10|0;Se[i]=er;break r}while(0);Q(r,0|He.__str151,10)}else if(37==(0|o)){var ir=r+4|0,vr=Me[ir>>2],tr=0==(0|vr);do{if(!tr){var fr=r+8|0,_r=Me[fr>>2];if(0!=(0|_r)&&Ae[vr+(_r-1)|0]<<24>>24==40){s=42;break}if(_r>>>0>=Me[n+3]>>>0){s=41;break}Se[fr>>2]=_r+1|0,Ae[vr+_r|0]=32,s=42;break}s=41}while(0);41==s&&Y(r,32);var sr=Se[a+4>>2];H(r,sr);var nr=Me[ir>>2],or=0==(0|nr);do if(!or){var e=(r+8|0)>>2,lr=Me[e];if((lr+3|0)>>>0>Me[n+3]>>>0)break;var br=nr+lr|0;Ae[br]=Ae[0|He.__str135],Ae[br+1]=Ae[(0|He.__str135)+1],Ae[br+2]=Ae[(0|He.__str135)+2];var kr=Se[e]+3|0;Se[e]=kr;break r}while(0);Q(r,0|He.__str135,3)}else if(3==(0|o)){var ur=Se[a+4>>2];H(r,ur)}else H(r,a);while(0)}function J(r){var a=r+20|0,e=Se[a>>2];if((0|e)<(0|Se[r+24>>2])){var i=Se[r+16>>2]+12*e|0,v=e+1|0;Se[a>>2]=v;var t=i}else var t=0;var t;return t}function rr(r,a,e){var i,v,t,f,_=r>>2,s=e,t=s>>2,n=0;r:for(;;){var n,s,o=0==(0|s);do if(!o){if(0!=(0|Se[t+2]))break;var l=Se[Se[t+1]>>2];if(29==(0|l)||30==(0|l)){f=9;break r}if(22==(0|l)||23==(0|l)||24==(0|l)||28==(0|l)||31==(0|l)||32==(0|l)||37==(0|l)){var b=Se[_+1];f=12;break r}var s=Se[t],t=s>>2,n=1;continue r}while(0);if(0!=(0|Se[a+4>>2])&0==(0|n)){f=9;break}var k=0,u=r+4|0,v=u>>2;f=22;break}do if(9==f){var c=Se[_+1];if(0==(0|c)){f=17;break}var h=Se[_+2];if(0==(0|h)){var d=c;f=13;break}var w=Ae[c+(h-1)|0];if(w<<24>>24==40||w<<24>>24==42){f=18;break}var b=c;f=12;break}while(0);do if(12==f){var b;if(0==(0|b)){f=17;break}var d=b;f=13;break}while(0);do if(13==f){var d,p=r+8|0,E=Me[p>>2];if(0!=(0|E)&&Ae[d+(E-1)|0]<<24>>24==32){f=18;break}if(E>>>0>=Me[_+3]>>>0){f=17;break}Se[p>>2]=E+1|0,Ae[d+E|0]=32,f=18;break}while(0);do if(17==f){Y(r,32),f=18;break}while(0);r:do if(18==f){var A=r+4|0,g=Me[A>>2],y=0==(0|g);do if(!y){var m=r+8|0,S=Me[m>>2];if(S>>>0>=Me[_+3]>>>0)break;Se[m>>2]=S+1|0,Ae[g+S|0]=40;var k=1,u=A,v=u>>2;break r}while(0);Y(r,40);var k=1,u=A,v=u>>2}while(0);var u,k,i=(r+20|0)>>2,M=Se[i];Se[i]=0,vr(r,e,0);r:do if(k){var C=Me[v],R=0==(0|C);do if(!R){var T=r+8|0,O=Me[T>>2];if(O>>>0>=Me[_+3]>>>0)break;Se[T>>2]=O+1|0,Ae[C+O|0]=41;break r}while(0);Y(r,41)}while(0);var N=Me[v],I=0==(0|N);do{if(!I){var P=r+8|0,D=Me[P>>2];if(D>>>0>=Me[_+3]>>>0){f=30;break}Se[P>>2]=D+1|0,Ae[N+D|0]=40,f=31;break}f=30}while(0);30==f&&Y(r,40);var L=Se[a+8>>2];0!=(0|L)&&H(r,L);var F=Me[v],X=0==(0|F);do{if(!X){var j=r+8|0,U=Me[j>>2];if(U>>>0>=Me[_+3]>>>0){f=36;break}Se[j>>2]=U+1|0,Ae[F+U|0]=41,f=37;break}f=36}while(0);36==f&&Y(r,41),vr(r,e,1),Se[i]=M}function ar(r,a,e){var i,v,t,f=r>>2,_=0==(0|e);do{if(!_){var s=e,v=s>>2;r:for(;;){var s;if(0==(0|s)){var n=1;t=14;break}if(0==(0|Se[v+2])){var o=36==(0|Se[Se[v+1]>>2]),l=1&o^1;if(o){var n=l;t=14;break}var b=r+4|0,k=Me[b>>2],u=0==(0|k);do{if(!u){var i=(r+8|0)>>2,c=Me[i];if((c+2|0)>>>0>Me[f+3]>>>0){t=9;break}var h=k+c|0;oe=10272,Ae[h]=255&oe,oe>>=8,Ae[h+1]=255&oe;var d=Se[i]+2|0;Se[i]=d,vr(r,e,0),t=10;break}t=9}while(0);9==t&&(Q(r,0|He.__str140,2),vr(r,e,0));var w=Me[b>>2],p=0==(0|w);do if(!p){var E=r+8|0,A=Me[E>>2];if(A>>>0>=Me[f+3]>>>0)break;Se[E>>2]=A+1|0,Ae[w+A|0]=41;var g=l;t=15;break r}while(0);Y(r,41);var g=l;t=15;break}var s=Se[v],v=s>>2}if(14==t){var n;vr(r,e,0);var g=n}var g;if(0!=(0|g)){t=17;break}var y=r+4|0;t=21;break}t=17}while(0);r:do if(17==t){var m=r+4|0,S=Me[m>>2],M=0==(0|S);do if(!M){var C=r+8|0,R=Me[C>>2];if(R>>>0>=Me[f+3]>>>0)break;Se[C>>2]=R+1|0,Ae[S+R|0]=32;var y=m;break r}while(0);Y(r,32);var y=m}while(0);var y,T=Me[y>>2],O=0==(0|T);do{if(!O){var N=r+8|0,I=Me[N>>2];if(I>>>0>=Me[f+3]>>>0){t=24;break}Se[N>>2]=I+1|0,Ae[T+I|0]=91,t=25;break}t=24}while(0);24==t&&Y(r,91);var P=Se[a+4>>2];0!=(0|P)&&H(r,P);var D=Me[y>>2],L=0==(0|D);do{if(!L){var F=r+8|0,X=Me[F>>2];if(X>>>0>=Me[f+3]>>>0){t=30;break}Se[F>>2]=X+1|0,Ae[D+X|0]=93,t=31;break}t=30}while(0);30==t&&Y(r,93)}function er(r,a){var e,i,v,t,f,_,s=Oe;Oe+=8;var n,o=s,_=(a+4|0)>>2,l=Se[_];if(4==(0|Se[l>>2])){var f=(r+20|0)>>2,b=Se[f];Se[f]=0;var t=(r+16|0)>>2,k=Se[t],u=0|o;Se[u>>2]=k,Se[t]=o;var c=Se[_];Se[o+4>>2]=c;var h=Se[c+4>>2];H(r,h);var d=Se[u>>2];Se[t]=d;var v=(r+4|0)>>2,w=Me[v],p=0==(0|w);do{if(!p){var i=(r+8|0)>>2,E=Me[i],A=0==(0|E);do if(!A){if(Ae[w+(E-1)|0]<<24>>24!=60)break;E>>>0<Me[r+12>>2]>>>0?(Se[i]=E+1|0,Ae[w+E|0]=32):Y(r,32)}while(0);var g=Me[v];if(0==(0|g)){n=12;break}var y=Me[i];if(y>>>0>=Me[r+12>>2]>>>0){n=12;break}Se[i]=y+1|0,Ae[g+y|0]=60,n=13;break}n=12}while(0);12==n&&Y(r,60);var m=Se[Se[_]+8>>2];H(r,m);var S=Me[v],M=0==(0|S);do{if(!M){var e=(r+8|0)>>2,C=Me[e],R=0==(0|C);do if(!R){if(Ae[S+(C-1)|0]<<24>>24!=62)break;C>>>0<Me[r+12>>2]>>>0?(Se[e]=C+1|0,Ae[S+C|0]=32):Y(r,32)}while(0);var T=Me[v];if(0==(0|T)){n=22;break}var O=Me[e];if(O>>>0>=Me[r+12>>2]>>>0){n=22;break}Se[e]=O+1|0,Ae[T+O|0]=62,n=23;break}n=22}while(0);22==n&&Y(r,62),Se[f]=b}else H(r,l);Oe=s}function ir(r,a){var e,i=40==(0|Se[a>>2]);r:do if(i){var v=Me[r+4>>2],t=0==(0|v);do{if(!t){var e=(r+8|0)>>2,f=Me[e],_=a+4|0,s=Me[_>>2],n=Me[s+8>>2];if((n+f|0)>>>0>Me[r+12>>2]>>>0){var o=s,l=n;break}var b=v+f|0,k=Se[s+4>>2];Pa(b,k,n,1);var u=Se[e]+Se[Se[_>>2]+8>>2]|0;Se[e]=u;break r}var c=Me[a+4>>2],o=c,l=Se[c+8>>2]}while(0);var l,o,h=Se[o+4>>2];Q(r,h,l)}else H(r,a);while(0)}function vr(r,a,e){var i,v,t,f,_,f=(r+4|0)>>2,s=0==(0|e),t=(r+16|0)>>2;r:do if(s)for(var n=a;;){var n;if(0==(0|n)){_=29;break r}if(0==(0|Se[f])){_=29;break r}var o=n+8|0,l=0==(0|Se[o>>2]);do if(l){var b=n+4|0;if((Se[Se[b>>2]>>2]-25|0)>>>0<3)break;Se[o>>2]=1;var k=Me[t],u=Se[n+12>>2];Se[t]=u;var c=Me[b>>2],h=Se[c>>2];if(35==(0|h)){var d=n,w=k,p=c;_=14;break r}if(36==(0|h)){var E=n,A=k,g=c;_=15;break r}if(2==(0|h)){var y=k,m=b;_=16;break r}$(r,c),Se[t]=k}while(0);var n=Se[n>>2]}else for(var S=a;;){var S;if(0==(0|S)){_=29;break r}if(0==(0|Se[f])){_=29;break r}var M=S+8|0;if(0==(0|Se[M>>2])){Se[M>>2]=1;var C=Me[t],R=Se[S+12>>2];Se[t]=R;var T=S+4|0,O=Me[T>>2],N=Se[O>>2];if(35==(0|N)){var d=S,w=C,p=O;_=14;break r}if(36==(0|N)){var E=S,A=C,g=O;_=15;break r}if(2==(0|N)){var y=C,m=T;_=16;break r}$(r,O),Se[t]=C}var S=Se[S>>2]}while(0);if(14==_){var p,w,d,I=Se[d>>2];rr(r,p,I),Se[t]=w}else if(15==_){var g,A,E,P=Se[E>>2];ar(r,g,P),Se[t]=A}else if(16==_){var m,y,v=(r+20|0)>>2,D=Se[v];Se[v]=0;var L=Se[Se[m>>2]+4>>2];H(r,L),Se[v]=D;var F=0==(4&Se[r>>2]|0),X=Me[f],j=0!=(0|X);r:do if(F){do if(j){var i=(r+8|0)>>2,U=Me[i];if((U+2|0)>>>0>Me[r+12>>2]>>>0)break;var x=X+U|0;oe=14906,Ae[x]=255&oe,oe>>=8,Ae[x+1]=255&oe;var z=Se[i]+2|0;Se[i]=z;break r}while(0);Q(r,0|He.__str120,2)}else{do if(j){var V=r+8|0,B=Me[V>>2];if(B>>>0>=Me[r+12>>2]>>>0)break;Se[V>>2]=B+1|0,Ae[X+B|0]=46;break r}while(0);Y(r,46)}while(0);var K=Me[Se[m>>2]+8>>2],G=(Se[K>>2]-25|0)>>>0<3;r:do if(G)for(var W=K;;){var W,Z=Me[W+4>>2];if((Se[Z>>2]-25|0)>>>0>=3){var q=Z;break r}var W=Z}else var q=K;while(0);var q;H(r,q),Se[t]=y}}function tr(r,a){var e,e=(r+4|0)>>2,i=Se[e],v=0==(0|i);r:do if(!v){for(var t=Se[r+8>>2]+a|0,f=r+12|0,_=Se[f>>2],s=i;;){var s,_;if(t>>>0<=_>>>0)break r;var n=_<<1,o=fa(s,n);if(0==(0|o))break;Se[e]=o,Se[f>>2]=n;var _=n,s=o}var l=Se[e];va(l),Se[e]=0,Se[r+24>>2]=1}while(0)}function fr(r,a,e){var i,v=J(r),i=v>>2;return 0!=(0|v)&&(Se[i]=21,Se[i+1]=a,Se[i+2]=e),v}function _r(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e]<<24>>24;if(88==(0|i)){var v=e+1|0;Se[a]=v;var t=nr(r),f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==69?t:0,n=s}else if(76==(0|i))var o=or(r),n=o;else var l=N(r),n=l;var n;return n}function sr(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e];if(i<<24>>24==110){var v=e+1|0;Se[a]=v;var t=1,f=Ae[v],_=v}else var t=0,f=i,_=e;var _,f,t,s=(f-48&255&255)<10;r:do if(s)for(var n=f,o=0,l=_;;){var l,o,n,b=(n<<24>>24)-48+10*o|0,k=l+1|0;Se[a]=k;var u=ge[k];if((u-48&255&255)>=10){var c=b;break r}var n=u,o=b,l=k}else var c=0;while(0);var c,h=0==(0|t)?c:0|-c;return h}function nr(r){var a,e,a=(r+12|0)>>2,i=Se[a],v=Ae[i];do{if(v<<24>>24==76){var t=or(r),f=t;e=21;break}if(v<<24>>24==84){var _=x(r),f=_;e=21;break}if(v<<24>>24==115){if(Ae[i+1|0]<<24>>24!=114){e=8;break}var s=i+2|0;Se[a]=s;var n=N(r),o=br(r);if(Ae[Se[a]]<<24>>24==73){var l=z(r),b=D(r,4,o,l),k=D(r,1,n,b),f=k;e=21;break}var u=D(r,1,n,o),f=u;e=21;break}e=8}while(0);r:do if(8==e){var c=kr(r);if(0==(0|c)){var f=0;break}var h=0|c,d=Se[h>>2],w=40==(0|d);do{if(w){var p=c+4|0,E=r+48|0,A=Se[Se[p>>2]+8>>2]-2+Se[E>>2]|0;Se[E>>2]=A;var g=Se[h>>2];if(40!=(0|g)){var y=g;e=13;break}var m=Se[p>>2],S=Se[m>>2],M=Da(S,0|He.__str90);if(0!=(0|M)){var C=m;e=15;break}var R=N(r),T=D(r,43,c,R),f=T;break r}var y=d;e=13}while(0);do if(13==e){var y;if(40==(0|y)){var C=Se[c+4>>2];e=15;break}if(41==(0|y)){var O=c+4|0;e=17;break}if(42==(0|y)){e=18;break}var f=0;break r}while(0);do if(15==e){var C,O=C+12|0;e=17;break}while(0);do if(17==e){var O,I=Se[O>>2];if(1==(0|I))break;if(2==(0|I)){var P=nr(r),L=nr(r),F=D(r,45,P,L),X=D(r,44,c,F);return X}if(3==(0|I)){var j=nr(r),U=nr(r),V=nr(r),B=D(r,48,U,V),H=D(r,47,j,B),K=D(r,46,c,H);return K}var f=0;break r}while(0);var Y=nr(r),G=D(r,43,c,Y);return G}while(0);var f;return f}function or(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==76;r:do if(v){if(Ae[i]<<24>>24==95)var t=T(r,0),f=t;else{var _=N(r);if(0==(0|_)){var s=0;break}var n=33==(0|Se[_>>2]);do if(n){var o=Se[_+4>>2];if(0==(0|Se[o+16>>2]))break;var l=r+48|0,b=Se[l>>2]-Se[o+4>>2]|0;Se[l>>2]=b}while(0);var k=Se[a];if(Ae[k]<<24>>24==110){var u=k+1|0;Se[a]=u;var c=50,h=u}else var c=49,h=k;for(var h,c,d=h;;){var d,w=Ae[d];if(w<<24>>24==69)break;if(w<<24>>24==0){var s=0;break r}var p=d+1|0;Se[a]=p;var d=p}var E=lr(r,h,d-h|0),A=D(r,c,_,E),f=A}var f,g=Se[a],y=g+1|0;Se[a]=y;var m=Ae[g]<<24>>24==69?f:0,s=m}else var s=0;while(0);var s;return s}function lr(r,a,e){var i=J(r),v=m(i,a,e),t=0==(0|v)?0:i;return t}function br(r){var a=r+12|0,e=Me[a>>2],i=ge[e],v=(i-48&255&255)<10;do if(v)var t=L(r),f=t;else if((i-97&255&255)<26){var _=kr(r);if(0==(0|_)){var f=0;break}if(40!=(0|Se[_>>2])){var f=_;break}var s=r+48|0,n=Se[Se[_+4>>2]+8>>2]+Se[s>>2]+7|0;Se[s>>2]=n;var f=_}else if(i<<24>>24==67||i<<24>>24==68)var o=hr(r),f=o;else{if(i<<24>>24!=76){var f=0;break}Se[a>>2]=e+1|0;var l=L(r);if(0==(0|l)){var f=0;break}var b=dr(r),k=0==(0|b)?0:l,f=k}while(0);var f;return f}function kr(r){var a,e,a=(r+12|0)>>2,i=Se[a],v=i+1|0;Se[a]=v;var t=ge[i],f=i+2|0;Se[a]=f;var _=ge[v];do{if(t<<24>>24==118){if((_-48&255&255)>=10){var s=49,n=0;e=6;break}var o=(_<<24>>24)-48|0,l=L(r),b=ur(r,o,l),k=b;e=14;break}if(t<<24>>24==99){if(_<<24>>24!=118){var s=49,n=0;e=6;break}var u=N(r),c=D(r,42,u,0),k=c;e=14;break}var s=49,n=0;e=6}while(0);r:do if(6==e){for(;;){var n,s,h=(s-n)/2+n|0,d=(h<<4)+ri|0,w=Se[d>>2],p=Ae[w],E=t<<24>>24==p<<24>>24;if(E&&_<<24>>24==Ae[w+1|0]<<24>>24)break;var A=t<<24>>24<p<<24>>24;do if(A)var g=h,y=n;else{if(E&&_<<24>>24<Ae[w+1|0]<<24>>24){var g=h,y=n;break}var g=s,y=h+1|0}while(0);var y,g;if((0|y)==(0|g)){var k=0;break r}var s=g,n=y}var m=cr(r,d),k=m}while(0);var k;return k}function ur(r,a,e){var i=J(r),v=S(i,a,e),t=0==(0|v)?0:i;return t}function cr(r,a){var e=J(r);return 0!=(0|e)&&(Se[e>>2]=40,Se[e+4>>2]=a),e}function hr(r){var a,e,i=Se[r+44>>2],e=i>>2,v=0==(0|i);do if(!v){var t=Se[e];if(0==(0|t)){var f=r+48|0,_=Se[f>>2]+Se[e+2]|0;Se[f>>2]=_}else{if(21!=(0|t))break;var s=r+48|0,n=Se[s>>2]+Se[e+2]|0;Se[s>>2]=n}}while(0);var a=(r+12|0)>>2,o=Se[a],l=o+1|0;Se[a]=l;var b=Ae[o]<<24>>24;do if(67==(0|b)){var k=o+2|0;Se[a]=k;var u=Ae[l]<<24>>24;if(49==(0|u))var c=1;else if(50==(0|u))var c=2;else{if(51!=(0|u)){var h=0;break}var c=3}var c,d=wr(r,c,i),h=d}else if(68==(0|b)){var w=o+2|0;Se[a]=w;var p=Ae[l]<<24>>24;if(48==(0|p))var E=1;else if(49==(0|p))var E=2;else{if(50!=(0|p)){var h=0;break}var E=3}var E,A=pr(r,E,i),h=A}else var h=0;while(0);var h;return h}function dr(r){var a=r+12|0,e=Se[a>>2];if(Ae[e]<<24>>24==95){var i=e+1|0;Se[a>>2]=i;var v=sr(r),t=v>>>31^1}else var t=1;var t;return t}function wr(r,a,e){var i=J(r),v=M(i,a,e),t=0==(0|v)?0:i;return t}function pr(r,a,e){var i=J(r),v=C(i,a,e),t=0==(0|v)?0:i;return t}function Er(r,a){var e=J(r);return 0!=(0|e)&&(Se[e>>2]=5,Se[e+4>>2]=a),e}function Ar(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e]<<24>>24;do if(78==(0|i))var v=gr(r),t=v;else if(90==(0|i))var f=yr(r),t=f;else if(76==(0|i))var _=br(r),t=_;else if(83==(0|i)){if(Ae[e+1|0]<<24>>24==116){var s=e+2|0;Se[a]=s;var n=lr(r,0|He.__str152,3),o=br(r),l=D(r,1,n,o),b=r+48|0,k=Se[b>>2]+3|0;Se[b>>2]=k;var u=0,c=l}else var h=V(r,0),u=1,c=h;var c,u;if(Ae[Se[a]]<<24>>24!=73){var t=c;break}if(0==(0|u)){var d=R(r,c);if(0==(0|d)){var t=0;break}}var w=z(r),p=D(r,4,c,w),t=p}else{var E=br(r);if(Ae[Se[a]]<<24>>24!=73){var t=E;break}var A=R(r,E);if(0==(0|A)){var t=0;break}var g=z(r),y=D(r,4,E,g),t=y}while(0);var t;return t}function gr(r){var a,e=Oe;Oe+=4;var i=e,a=(r+12|0)>>2,v=Se[a],t=v+1|0;Se[a]=t;var f=Ae[v]<<24>>24==78;do if(f){var _=I(r,i,1);if(0==(0|_)){var s=0;break}var n=mr(r);if(Se[_>>2]=n,0==(0|n)){var s=0;break}var o=Se[a],l=o+1|0;if(Se[a]=l,Ae[o]<<24>>24!=69){var s=0;break}var s=Se[i>>2]}else var s=0;while(0);var s;return Oe=e,s}function yr(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==90;do if(v){var t=O(r,0),f=Se[a],_=f+1|0;if(Se[a]=_,Ae[f]<<24>>24!=69){var s=0;break}if(Ae[_]<<24>>24==115){var n=f+2|0;Se[a]=n;var o=dr(r);if(0==(0|o)){var s=0;break}var l=lr(r,0|He.__str168,14),b=D(r,2,t,l),s=b}else{var k=Ar(r),u=dr(r);if(0==(0|u)){var s=0;break}var c=D(r,2,t,k),s=c}}else var s=0;while(0);var s;return s}function mr(r){var a,e=r+12|0,i=0;r:for(;;){var i,v=ge[Se[e>>2]];if(v<<24>>24==0){var t=0;break}var f=(v-48&255&255)<10|(v-97&255&255)<26;do{if(!f){if(v<<24>>24==76||v<<24>>24==68||v<<24>>24==67){a=5;break}if(v<<24>>24==83){var _=V(r,1),s=_;a=10;break}if(v<<24>>24==73){if(0==(0|i)){var t=0;break r}var n=z(r),o=4,l=n;a=11;break}if(v<<24>>24==84){var b=x(r),s=b;a=10;break}if(v<<24>>24==69){var t=i;break r}var t=0;break r}a=5}while(0);do if(5==a){var k=br(r),s=k;a=10;break}while(0);do if(10==a){var s;if(0==(0|i)){var u=s;a=12;break}var o=1,l=s;a=11;break}while(0);if(11==a)var l,o,c=D(r,o,i,l),u=c;var u;if(v<<24>>24!=83)if(Ae[Se[e>>2]]<<24>>24!=69){var h=R(r,u);if(0==(0|h)){var t=0;break}var i=u}else var i=u;else var i=u}var t;return t}function Sr(r,a){var e,i,v=Oe;Oe+=4;var t=v,i=t>>2,e=(r+12|0)>>2,f=Se[e];if(Ae[f]<<24>>24==74){var _=f+1|0;Se[e]=_;var s=1}else var s=a;var s;Se[i]=0;var n=s,o=0,l=t;r:for(;;)for(var l,o,n,b=n,k=o;;){var k,b,u=Ae[Se[e]];if(u<<24>>24==0||u<<24>>24==69){var c=Se[i];if(0==(0|c)){var h=0;break r}var d=0==(0|Se[c+8>>2]);do if(d){var w=Se[c+4>>2];if(33!=(0|Se[w>>2])){var p=c;break}var E=Se[w+4>>2];if(9!=(0|Se[E+16>>2])){var p=c;break}var A=r+48|0,g=Se[A>>2]-Se[E+4>>2]|0;Se[A>>2]=g,Se[i]=0;var p=0}else var p=c;while(0);var p,y=D(r,35,k,p),h=y;break r}var m=N(r);if(0==(0|m)){var h=0;break r}if(0==(0|b)){var S=D(r,38,m,0);if(Se[l>>2]=S,0==(0|S)){var h=0;break r}var n=0,o=k,l=S+8|0;continue r}var b=0,k=m}var h;return Oe=v,h}function Mr(r){for(var a=r;;){var a;if(0==(0|a)){var e=0;break}var i=Se[a>>2];if(1!=(0|i)&&2!=(0|i)){if(6==(0|i)||7==(0|i)||42==(0|i)){var e=1;break}var e=0;break}var a=Se[a+8>>2]}var e;return e}function Cr(r){var a=r>>2;Se[a+3]=0,Se[a+2]=0,Se[a+1]=0,Se[a]=0,Se[a+4]=0}function Rr(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=(Se[r+4>>2]-i|0)<(0|a);r:do if(v)var t=0;else{var f=i+a|0;Se[e]=f;var _=0==(4&Se[r+8>>2]|0);do if(!_){if(Ae[f]<<24>>24!=36)break;var s=a+(i+1)|0;Se[e]=s}while(0);var n=(0|a)>9;do if(n){var o=La(i,0|He.__str117,8);if(0!=(0|o))break;var l=Ae[i+8|0];if(l<<24>>24!=46&&l<<24>>24!=95&&l<<24>>24!=36)break;if(Ae[i+9|0]<<24>>24!=78)break;var b=r+48|0,k=22-a+Se[b>>2]|0;Se[b>>2]=k;var u=lr(r,0|He.__str169,21),t=u;break r}while(0);var c=lr(r,i,a),t=c}while(0);var t;return t}function Tr(r){var a,e,e=(r+48|0)>>2,i=Se[e],v=i+20|0;Se[e]=v;var a=(r+12|0)>>2,t=Se[a],f=t+1|0;Se[a]=f;var _=Ae[t];do if(_<<24>>24==84){var s=t+2|0;Se[a]=s;var n=Ae[f]<<24>>24;if(86==(0|n)){var o=i+15|0;Se[e]=o;var l=N(r),b=D(r,8,l,0),k=b}else if(84==(0|n)){var u=i+10|0;Se[e]=u;var c=N(r),h=D(r,9,c,0),k=h}else if(73==(0|n))var d=N(r),w=D(r,11,d,0),k=w;else if(83==(0|n))var p=N(r),E=D(r,12,p,0),k=E;else if(104==(0|n)){var A=Nr(r,104);if(0==(0|A)){var k=0;break}var g=O(r,0),y=D(r,14,g,0),k=y}else if(118==(0|n)){var m=Nr(r,118);if(0==(0|m)){var k=0;break}var S=O(r,0),M=D(r,15,S,0),k=M}else if(99==(0|n)){var C=Nr(r,0);if(0==(0|C)){var k=0;break}var R=Nr(r,0);if(0==(0|R)){var k=0;break}var T=O(r,0),I=D(r,16,T,0),k=I}else if(67==(0|n)){var P=N(r),L=sr(r);if((0|L)<0){var k=0;break}var F=Se[a],X=F+1|0;if(Se[a]=X,Ae[F]<<24>>24!=95){var k=0;break}var j=N(r),U=Se[e]+5|0;Se[e]=U;var x=D(r,10,j,P),k=x}else if(70==(0|n))var z=N(r),V=D(r,13,z,0),k=V;else{if(74!=(0|n)){var k=0;break}var B=N(r),H=D(r,17,B,0),k=H}}else if(_<<24>>24==71){var K=t+2|0;Se[a]=K;var Y=Ae[f]<<24>>24;if(86==(0|Y))var G=Ar(r),W=D(r,18,G,0),k=W;else if(82==(0|Y))var Z=Ar(r),Q=D(r,19,Z,0),k=Q;else{if(65!=(0|Y)){var k=0;break}var q=O(r,0),$=D(r,20,q,0),k=$}}else var k=0;while(0);var k;return k}function Or(r){for(var a,e=r,a=e>>2;;){var e;if(0==(0|e)){var i=0;break}var v=Se[a];if(4==(0|v)){var t=Se[a+1],f=Mr(t),i=0==(0|f)&1;break}if(25!=(0|v)&&26!=(0|v)&&27!=(0|v)){var i=0;break}var e=Se[a+1],a=e>>2}var i;return i}function Nr(r,a){var e;if(0==(0|a)){var i=r+12|0,v=Se[i>>2],t=v+1|0;Se[i>>2]=t;var f=Ae[v]<<24>>24}else var f=a;var f;do{if(104==(0|f)){var _=(sr(r),r+12|0);e=7;break}if(118==(0|f)){var s=(sr(r),r+12|0),n=Se[s>>2],o=n+1|0;if(Se[s>>2]=o,Ae[n]<<24>>24!=95){var l=0;e=8;break}var _=(sr(r),s);e=7;break}var l=0;e=8}while(0);if(7==e){var _,b=Se[_>>2],k=b+1|0;Se[_>>2]=k;var l=Ae[b]<<24>>24==95&1}var l;return l}function Ir(r){var a,e,i=r>>2,v=Oe;Oe+=56;var t,f=v,_=v+8,s=v+16,n=v+36,e=(0|r)>>2,o=Se[e],l=0==(8192&o|0);r:do{if(l){var a=(r+12|0)>>2,b=Se[a];if(Ae[b]<<24>>24!=63){var k=0;t=111;break}var u=b+1|0;Se[a]=u;var c=Ae[u];do if(c<<24>>24==63){if(Ae[b+2|0]<<24>>24==36){var h=b+3|0;if(Ae[h]<<24>>24!=63){var d=5;t=90;break}Se[a]=h;var w=6,p=h}else var w=0,p=u;var p,w,E=p+1|0;Se[a]=E;var A=Ae[E]<<24>>24;do if(48==(0|A)){var g=1;t=81}else{if(49==(0|A)){var g=2;t=81;break}if(50!=(0|A)){if(51==(0|A)){var y=0|He.__str2172,m=E;t=82;break}if(52==(0|A)){var y=0|He.__str3173,m=E;t=82;break}if(53==(0|A)){var y=0|He.__str4174,m=E;t=82;break}if(54==(0|A)){var y=0|He.__str5175,m=E;t=82;break}if(55==(0|A)){var y=0|He.__str6176,m=E;t=82;break}if(56==(0|A)){var y=0|He.__str7177,m=E;t=82;break}if(57==(0|A)){var y=0|He.__str8178,m=E;t=82;break}if(65==(0|A)){var y=0|He.__str9179,m=E;t=82;break}if(66==(0|A)){Se[a]=p+2|0;var S=0|He.__str10180,M=3;t=88;break}if(67==(0|A)){var y=0|He.__str11181,m=E;t=82;break}if(68==(0|A)){var y=0|He.__str12182,m=E;t=82;break}if(69==(0|A)){var y=0|He.__str13183,m=E;t=82;break}if(70==(0|A)){var y=0|He.__str14184,m=E;t=82;break}if(71==(0|A)){var y=0|He.__str15185,m=E;t=82;break}if(72==(0|A)){var y=0|He.__str16186,m=E;t=82;break}if(73==(0|A)){var y=0|He.__str17187,m=E;t=82;break}if(74==(0|A)){var y=0|He.__str18188,m=E;t=82;break}if(75==(0|A)){var y=0|He.__str19189,m=E;t=82;break}if(76==(0|A)){var y=0|He.__str20190,m=E;t=82;break}if(77==(0|A)){var y=0|He.__str21191,m=E;t=82;break}if(78==(0|A)){var y=0|He.__str22192,m=E;t=82;break}if(79==(0|A)){var y=0|He.__str23193,m=E;t=82;break}if(80==(0|A)){var y=0|He.__str24194,m=E;t=82;break}if(81==(0|A)){var y=0|He.__str25195,m=E;t=82;break}if(82==(0|A)){var y=0|He.__str26196,m=E;t=82;break}if(83==(0|A)){var y=0|He.__str27197,m=E;t=82;break}if(84==(0|A)){var y=0|He.__str28198,m=E;t=82;break}if(85==(0|A)){var y=0|He.__str29199,m=E;t=82;break}if(86==(0|A)){var y=0|He.__str30200,m=E;t=82;break}if(87==(0|A)){var y=0|He.__str31201,m=E;t=82;break}if(88==(0|A)){var y=0|He.__str32202,m=E;t=82;break}if(89==(0|A)){var y=0|He.__str33203,m=E;t=82;break}if(90==(0|A)){var y=0|He.__str34204,m=E;t=82;break}if(95==(0|A)){var C=p+2|0;Se[a]=C;var R=Ae[C]<<24>>24;if(48==(0|R)){var y=0|He.__str35205,m=C;t=82;break}if(49==(0|R)){var y=0|He.__str36206,m=C;t=82;break}if(50==(0|R)){var y=0|He.__str37207,m=C;t=82;break}if(51==(0|R)){var y=0|He.__str38208,m=C;t=82;break}if(52==(0|R)){var y=0|He.__str39209,m=C;t=82;break}if(53==(0|R)){var y=0|He.__str40210,m=C;t=82;break}if(54==(0|R)){var y=0|He.__str41211,m=C;t=82;break}if(55==(0|R)){var y=0|He.__str42212,m=C;t=82;break}if(56==(0|R)){var y=0|He.__str43213,m=C;t=82;break}if(57==(0|R)){var y=0|He.__str44214,m=C;t=82;break}if(65==(0|R)){var y=0|He.__str45215,m=C;t=82;break}if(66==(0|R)){var y=0|He.__str46216,m=C;t=82;break}if(67==(0|R)){Se[a]=p+3|0;var T=0|He.__str47217;t=84;break}if(68==(0|R)){var y=0|He.__str48218,m=C;t=82;break}if(69==(0|R)){var y=0|He.__str49219,m=C;t=82;break}if(70==(0|R)){var y=0|He.__str50220,m=C;t=82;break}if(71==(0|R)){var y=0|He.__str51221,m=C;t=82;break}if(72==(0|R)){var y=0|He.__str52222,m=C;t=82;break}if(73==(0|R)){var y=0|He.__str53223,m=C;t=82;break}if(74==(0|R)){var y=0|He.__str54224,m=C;t=82;break}if(75==(0|R)){var y=0|He.__str55225,m=C;t=82;break}if(76==(0|R)){var y=0|He.__str56226,m=C;t=82;break}if(77==(0|R)){var y=0|He.__str57227,m=C;t=82;break}if(78==(0|R)){var y=0|He.__str58228,m=C;t=82;break}if(79==(0|R)){var y=0|He.__str59229,m=C;t=82;break}if(82==(0|R)){var O=4|o;Se[e]=O;var N=p+3|0;Se[a]=N;var I=Ae[N]<<24>>24;if(48==(0|I)){Se[a]=p+4|0,Cr(s);var P=(Pr(r,_,s,0),Se[_>>2]),D=Se[_+4>>2],L=Dr(r,0|He.__str60230,(ne=Oe,Oe+=8,Se[ne>>2]=P,Se[ne+4>>2]=D,ne)),F=Se[a]-1|0;Se[a]=F;var y=L,m=F;t=82;break}if(49==(0|I)){Se[a]=p+4|0;var X=Lr(r),j=Lr(r),U=Lr(r),x=Lr(r),z=Se[a]-1|0;Se[a]=z;var V=Dr(r,0|He.__str61231,(ne=Oe,Oe+=16,Se[ne>>2]=X,Se[ne+4>>2]=j,Se[ne+8>>2]=U,Se[ne+12>>2]=x,ne)),y=V,m=Se[a];t=82;break}if(50==(0|I)){var y=0|He.__str62232,m=N;t=82;break}if(51==(0|I)){var y=0|He.__str63233,m=N;t=82;break}if(52==(0|I)){var y=0|He.__str64234,m=N;t=82;break}var y=0,m=N;t=82;break}if(83==(0|R)){var y=0|He.__str65235,m=C;t=82;break}if(84==(0|R)){var y=0|He.__str66236,m=C;t=82;break}if(85==(0|R)){var y=0|He.__str67237,m=C;t=82;break}if(86==(0|R)){var y=0|He.__str68238,m=C;t=82;break}if(88==(0|R)){var y=0|He.__str69239,m=C;t=82;break}if(89==(0|R)){var y=0|He.__str70240,m=C;t=82;break}var k=0;t=111;break r}var k=0;t=111;break r}var y=0|He.__str1171,m=E;t=82}while(0);do{if(81==t){var g;Se[a]=p+2|0;var B=g;t=83;break}if(82==t){var m,y;if(Se[a]=m+1|0,1==(0|w)||2==(0|w)){var B=w;t=83;break}if(4==(0|w)){var T=y;t=84;break}if(6!=(0|w)){var S=y,M=w;t=88;break}Cr(n);var H=Xr(r,n,0,60,62);if(0==(0|H))var K=y;else var Y=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=y,Se[ne+4>>2]=H,ne)),K=Y;var K;Se[i+6]=0;var S=K,M=w;t=88;break}}while(0);if(83==t){var B,G=r+40|0,W=Fr(r,0|He._symbol_demangle_dashed_null,-1,G);if(0==(0|W)){var k=0;t=111;break r}var d=B;t=90;break}if(84==t){var T;Se[i+4]=T;var Z=1,Q=T;t=109;break r}if(88==t){var M,S,q=r+40|0,$=Fr(r,S,-1,q);if(0==(0|$)){var k=0;t=111;break r}var d=M;t=90;break}}else{if(c<<24>>24==36){var J=b+2|0;Se[a]=J;var rr=jr(r);Se[i+4]=rr;var ar=0!=(0|rr)&1;t=107;break}var d=0;t=90}while(0);if(90==t){var d,er=Me[a],ir=Ae[er]<<24>>24;if(64==(0|ir))Se[a]=er+1|0;else if(36==(0|ir))t=93;else{var vr=zr(r);if(0==(0|vr)){var k=-1;t=111;break}}if(5==(0|d)){var tr=r+20|0,fr=Se[tr>>2]+1|0;Se[tr>>2]=fr}else if(1==(0|d)||2==(0|d)){if(Me[i+11]>>>0<2){var k=-1;t=111;break}var _r=r+56|0,sr=Me[_r>>2],nr=Se[sr+4>>2];if(1==(0|d))Se[sr>>2]=nr;else{var or=Dr(r,0|He.__str71241,(ne=Oe,Oe+=4,Se[ne>>2]=nr,ne)),lr=Se[_r>>2];Se[lr>>2]=or}var br=4|Se[e];Se[e]=br}else if(3==(0|d)){var kr=Se[e]&-5;Se[e]=kr}var ur=ge[Se[a]];if((ur-48&255&255)<10)var cr=Vr(r),ar=cr;else if((ur-65&255&255)<26)var hr=Br(r,3==(0|d)&1),ar=hr;else{if(ur<<24>>24!=36){var k=-1;t=111;break}var dr=Hr(r),ar=dr}}var ar;if(0==(0|ar)){var k=-1;t=111;break}var Z=ar,Q=Se[i+4];t=109;break}var wr=Pr(r,f,0,0);if(0==(0|wr)){var k=-1;t=111;break}var pr=Se[f>>2],Er=Se[f+4>>2],Ar=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=pr,Se[ne+4>>2]=Er,ne));Se[i+4]=Ar;var Z=1,Q=Ar;t=109;break}while(0);do if(109==t){var Q,Z;if(0!=(0|Q)){var k=Z;break}Xa(0|He.__str72242,1499,0|He.___func___symbol_demangle,0|He.__str73243);var k=Z}while(0);var k;return Oe=v,k}function Pr(r,a,e,i){var v,t,f,_=Oe;Oe+=24;var s=_,n=_+4,o=_+8,l=_+16,b=_+20;0==(0|a)&&Xa(0|He.__str72242,829,0|He.___func___demangle_datatype,0|He.__str121291);var f=(a+4|0)>>2;Se[f]=0;var t=(0|a)>>2;Se[t]=0;var v=(r+12|0)>>2,k=Me[v],u=k+1|0;Se[v]=u;var c=Ae[k],h=c<<24>>24;do if(95==(0|h)){Se[v]=k+2|0;var d=Ae[u],w=Zr(d);Se[t]=w}else if(67==(0|h)||68==(0|h)||69==(0|h)||70==(0|h)||71==(0|h)||72==(0|h)||73==(0|h)||74==(0|h)||75==(0|h)||77==(0|h)||78==(0|h)||79==(0|h)||88==(0|h)||90==(0|h)){var p=Qr(c);Se[t]=p}else if(84==(0|h)||85==(0|h)||86==(0|h)||89==(0|h)){var E=qr(r);if(0==(0|E))break;var A=0==(32768&Se[r>>2]|0);do if(A)if(84==(0|h))var g=0|He.__str122292;else if(85==(0|h))var g=0|He.__str123293;else if(86==(0|h))var g=0|He.__str124294;else{if(89!=(0|h)){var g=0;break}var g=0|He.__str125295}else var g=0;while(0);var g,y=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=g,Se[ne+4>>2]=E,ne));Se[t]=y}else if(63==(0|h))if(0==(0|i))$r(a,r,e,63,0);else{var m=Lr(r);if(0==(0|m))break;var S=Dr(r,0|He.__str126296,(ne=Oe,Oe+=4,Se[ne>>2]=m,ne));Se[t]=S}else if(65==(0|h)||66==(0|h))$r(a,r,e,c,i);else if(81==(0|h)||82==(0|h)||83==(0|h)){var M=0==(0|i)?80:c;$r(a,r,e,M,i)}else if(80==(0|h))if(((Ae[u]<<24>>24)-48|0)>>>0<10){var C=k+2|0;if(Se[v]=C,Ae[u]<<24>>24!=54)break;var R=r+44|0,T=Se[R>>2];Se[v]=k+3|0;var O=Ae[C],N=Se[r>>2]&-17,I=Ur(O,s,n,N);if(0==(0|I))break;var P=Pr(r,o,e,0);if(0==(0|P))break;var D=Xr(r,e,1,40,41);if(0==(0|D))break;Se[R>>2]=T;var L=Se[o>>2],F=Se[o+4>>2],X=Se[s>>2],j=Dr(r,0|He.__str127297,(ne=Oe,Oe+=12,Se[ne>>2]=L,Se[ne+4>>2]=F,Se[ne+8>>2]=X,ne));Se[t]=j;var U=Dr(r,0|He.__str128298,(ne=Oe,Oe+=4,Se[ne>>2]=D,ne));Se[f]=U}else $r(a,r,e,80,i);else if(87==(0|h)){if(Ae[u]<<24>>24!=52)break;Se[v]=k+2|0;var x=qr(r);if(0==(0|x))break;if(0==(32768&Se[r>>2]|0)){var z=Dr(r,0|He.__str129299,(ne=Oe,Oe+=4,Se[ne>>2]=x,ne));Se[t]=z}else Se[t]=x}else if(48==(0|h)||49==(0|h)||50==(0|h)||51==(0|h)||52==(0|h)||53==(0|h)||54==(0|h)||55==(0|h)||56==(0|h)||57==(0|h)){var V=h<<1,B=V-96|0,H=Yr(e,B);Se[t]=H;var K=V-95|0,Y=Yr(e,K);Se[f]=Y}else if(36==(0|h)){var G=k+2|0;Se[v]=G;var W=Ae[u]<<24>>24;if(48==(0|W)){var Z=Lr(r);Se[t]=Z}else if(68==(0|W)){var Q=Lr(r);if(0==(0|Q))break;var q=Dr(r,0|He.__str130300,(ne=Oe,Oe+=4,Se[ne>>2]=Q,ne));Se[t]=q}else if(70==(0|W)){var $=Lr(r);if(0==(0|$))break;var J=Lr(r);if(0==(0|J))break;var rr=Dr(r,0|He.__str131301,(ne=Oe,Oe+=8,Se[ne>>2]=$,Se[ne+4>>2]=J,ne));Se[t]=rr}else if(71==(0|W)){var ar=Lr(r);if(0==(0|ar))break;var er=Lr(r);if(0==(0|er))break;var ir=Lr(r);if(0==(0|ir))break;var vr=Dr(r,0|He.__str132302,(ne=Oe,Oe+=12,Se[ne>>2]=ar,Se[ne+4>>2]=er,Se[ne+8>>2]=ir,ne));Se[t]=vr}else if(81==(0|W)){var tr=Lr(r);if(0==(0|tr))break;var fr=Dr(r,0|He.__str133303,(ne=Oe,Oe+=4,Se[ne>>2]=tr,ne));Se[t]=fr}else{if(36!=(0|W))break;if(Ae[G]<<24>>24!=67)break;Se[v]=k+3|0;var _r=xr(r,l,b);if(0==(0|_r))break;var sr=Pr(r,a,e,i);if(0==(0|sr))break;var nr=Se[t],or=Se[l>>2],lr=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=nr,Se[ne+4>>2]=or,ne));Se[t]=lr}}while(0);var br=0!=(0|Se[t])&1;return Oe=_,br}function Dr(r,a){var e,i=Oe;Oe+=4;var v=i,e=v>>2,t=v;Se[t>>2]=arguments[Dr.length];var f=1,_=0;r:for(;;){var _,f,s=Ae[a+_|0];do{if(s<<24>>24==0)break r;if(s<<24>>24==37){var n=_+1|0,o=Ae[a+n|0]<<24>>24;if(115==(0|o)){var l=Se[e],b=l,k=l+4|0;Se[e]=k;var u=Se[b>>2];if(0==(0|u)){var c=f,h=n;break}var d=Ca(u),c=d+f|0,h=n;break}if(99==(0|o)){var w=Se[e]+4|0;Se[e]=w;var c=f+1|0,h=n;break}if(37==(0|o))var p=n;else var p=_;var p,c=f+1|0,h=p}else var c=f+1|0,h=_}while(0);var h,c,f=c,_=h+1|0}var E=Wr(r,f);if(0==(0|E))var A=0;else{Se[t>>2]=arguments[Dr.length];var g=E,y=0;r:for(;;){var y,g,m=Ae[a+y|0];do{if(m<<24>>24==0)break r;if(m<<24>>24==37){var S=y+1|0,M=Ae[a+S|0]<<24>>24;if(115==(0|M)){var C=Se[e],R=C,T=C+4|0;Se[e]=T;var O=Se[R>>2];if(0==(0|O)){var N=g,I=S;break}var P=Ca(O);Pa(g,O,P,1);var N=g+P|0,I=S;break}if(99==(0|M)){var D=Se[e],L=D,F=D+4|0;Se[e]=F,Ae[g]=255&Se[L>>2];var N=g+1|0,I=S;break}if(37==(0|M))var X=S;else var X=y;var X;Ae[g]=37;var N=g+1|0,I=X}else{Ae[g]=m;var N=g+1|0,I=y}}while(0);var I,N,g=N,y=I+1|0}Ae[g]=0;var A=E}var A;return Oe=i,A}function Lr(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e];if(i<<24>>24==63){var v=e+1|0;Se[a]=v;var t=1,f=v,_=Ae[v]}else var t=0,f=e,_=i;var _,f,t,s=(_-48&255&255)<9;do if(s){var n=Wr(r,3),o=0!=(0|t);o&&(Ae[n]=45);var l=Ae[Se[a]]+1&255;Ae[n+t|0]=l;var b=o?2:1;\nAe[n+b|0]=0;var k=Se[a]+1|0;Se[a]=k;var u=n}else if(_<<24>>24==57){var c=Wr(r,4),h=0!=(0|t);h&&(Ae[c]=45),Ae[c+t|0]=49;var d=h?2:1;Ae[c+d|0]=48;var w=h?3:2;Ae[c+w|0]=0;var p=Se[a]+1|0;Se[a]=p;var u=c}else{if((_-65&255&255)>=16){var u=0;break}for(var E=0,A=f;;){var A,E,g=A+1|0;Se[a]=g;var y=(Ae[A]<<24>>24)+((E<<4)-65)|0,m=ge[g];if((m-65&255&255)>=16)break;var E=y,A=g}if(m<<24>>24!=64){var u=0;break}var S=Wr(r,17),M=0!=(0|t)?0|He.__str119289:0|ii,C=(za(S,0|He.__str118288,(ne=Oe,Oe+=8,Se[ne>>2]=M,Se[ne+4>>2]=y,ne)),Se[a]+1|0);Se[a]=C;var u=S}while(0);var u;return u}function Fr(r,a,e,i){var v,t,f,_;0==(0|a)&&Xa(0|He.__str72242,212,0|He.___func___str_array_push,0|He.__str115285),0==(0|i)&&Xa(0|He.__str72242,213,0|He.___func___str_array_push,0|He.__str116286);var f=(i+12|0)>>2,s=Me[f],n=0==(0|s);do{if(n){Se[f]=32;var o=Wr(r,128);if(0==(0|o)){var l=0;_=17;break}Se[i+16>>2]=o,_=11;break}if(Me[i+8>>2]>>>0<s>>>0){_=11;break}var b=s<<3,k=Wr(r,b);if(0==(0|k)){var l=0;_=17;break}var u=k,c=i+16|0,h=Se[c>>2],d=Se[f]<<2;Pa(k,h,d,1);var w=Se[f]<<1;Se[f]=w,Se[c>>2]=u,_=11;break}while(0);do if(11==_){if((0|e)==-1)var p=Ca(a),E=p;else var E=e;var E,A=ja(a),g=E+1|0,y=Wr(r,g),t=(i+4|0)>>2,v=(i+16|0)>>2,m=(Se[t]<<2)+Se[v]|0;Se[m>>2]=y;var S=Se[Se[v]+(Se[t]<<2)>>2];if(0==(0|S)){Xa(0|He.__str72242,233,0|He.___func___str_array_push,0|He.__str117287);var M=Se[Se[v]+(Se[t]<<2)>>2]}else var M=S;var M;Pa(M,A,E,1),va(A),Ae[Se[Se[v]+(Se[t]<<2)>>2]+g|0]=0;var C=Se[t]+1|0;Se[t]=C;var R=i+8|0;if(C>>>0<Me[R>>2]>>>0){var l=1;break}Se[R>>2]=C;var l=1}while(0);var l;return l}function Xr(r,a,e,i,v){var t,f,_=Oe;Oe+=28;var s,n=_,o=_+8;Cr(o);var f=(r+12|0)>>2,l=0==(0|e),t=(0|n)>>2,b=n+4|0;r:do if(l)for(;;){var k=Se[f],u=Ae[k];if(u<<24>>24==0){s=12;break r}if(u<<24>>24==64){var c=k;s=7;break r}var h=Pr(r,n,a,1);if(0==(0|h)){var d=0;s=25;break r}var w=Se[t],p=Se[b>>2],E=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=w,Se[ne+4>>2]=p,ne)),A=Fr(r,E,-1,o);if(0==(0|A)){var d=0;s=25;break r}var g=Se[t],y=Da(g,0|He.__str110280);if(0==(0|y)){s=12;break r}}else for(;;){var m=Se[f],S=Ae[m];if(S<<24>>24==0){s=12;break r}if(S<<24>>24==64){var c=m;s=7;break r}var M=Pr(r,n,a,1);if(0==(0|M)){var d=0;s=25;break r}var C=Se[t],R=Da(C,0|He.__str84254);if(0==(0|R)){s=13;break r}var T=Se[b>>2],O=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=C,Se[ne+4>>2]=T,ne)),N=Fr(r,O,-1,o);if(0==(0|N)){var d=0;s=25;break r}var I=Se[t],P=Da(I,0|He.__str110280);if(0==(0|P)){s=12;break r}}while(0);do if(7==s){var c;Se[f]=c+1|0,s=12;break}while(0);do if(12==s){if(l){s=14;break}s=13;break}while(0);do if(13==s){var D=Se[f],L=D+1|0;if(Se[f]=L,Ae[D]<<24>>24==90){s=14;break}var d=0;s=25;break}while(0);r:do if(14==s){var F=o+4|0,X=Me[F>>2];do{if(0!=(0|X)){if(1==(0|X)){var j=o+16|0,U=Se[Se[j>>2]>>2],x=Da(U,0|He.__str84254);if(0==(0|x)){s=17;break}var z=j;s=20;break}var V=o+16|0;if(X>>>0<=1){var z=V;s=20;break}for(var B=0,H=1;;){var H,B,K=Se[Se[V>>2]+(H<<2)>>2],Y=Dr(r,0|He.__str112282,(ne=Oe,Oe+=8,Se[ne>>2]=B,Se[ne+4>>2]=K,ne)),G=H+1|0;if(G>>>0>=Me[F>>2]>>>0)break;var B=Y,H=G}if(0==(0|Y)){var z=V;s=20;break}var W=Y,Z=Y;s=21;break}s=17}while(0);if(17==s){var Q=i<<24>>24,q=v<<24>>24,$=Dr(r,0|He.__str111281,(ne=Oe,Oe+=8,Se[ne>>2]=Q,Se[ne+4>>2]=q,ne)),d=$;break}if(20==s)var z,W=Se[Se[z>>2]>>2],Z=0;var Z,W,J=v<<24>>24,rr=v<<24>>24==62;do if(rr){var ar=Ca(W);if(Ae[W+(ar-1)|0]<<24>>24!=62)break;var er=i<<24>>24,ir=Se[Se[o+16>>2]>>2],vr=Dr(r,0|He.__str113283,(ne=Oe,Oe+=16,Se[ne>>2]=er,Se[ne+4>>2]=ir,Se[ne+8>>2]=Z,Se[ne+12>>2]=J,ne)),d=vr;break r}while(0);var tr=i<<24>>24,fr=Se[Se[o+16>>2]>>2],_r=Dr(r,0|He.__str114284,(ne=Oe,Oe+=16,Se[ne>>2]=tr,Se[ne+4>>2]=fr,Se[ne+8>>2]=Z,Se[ne+12>>2]=J,ne)),d=_r}while(0);var d;return Oe=_,d}function jr(r){var a,e=Oe;Oe+=20;var i=e,v=r+24|0,t=Se[v>>2],a=(r+20|0)>>2,f=Se[a],_=r+44|0,s=Se[_>>2];Se[a]=t;var n=Kr(r);if(0==(0|n))var o=0;else{Cr(i);var l=Xr(r,i,0,60,62);if(0==(0|l))var b=n;else var k=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=n,Se[ne+4>>2]=l,ne)),b=k;var b;Se[v>>2]=t,Se[a]=f,Se[_>>2]=s;var o=b}var o;return Oe=e,o}function Ur(r,a,e,i){var v,t=a>>2;Se[e>>2]=0,Se[t]=0;var f=0==(18&i|0);do{if(f){var _=r<<24>>24,s=1==((_-65)%2|0);if(0==(1&i|0)){if(s?Se[e>>2]=0|He.__str95265:v=14,65==(0|_)||66==(0|_)){Se[t]=0|He.__str96266,v=21;break}if(67==(0|_)||68==(0|_)){Se[t]=0|He.__str97267,v=21;break}if(69==(0|_)||70==(0|_)){Se[t]=0|He.__str98268,v=21;break}if(71==(0|_)||72==(0|_)){Se[t]=0|He.__str99269,v=21;break}if(73==(0|_)||74==(0|_)){Se[t]=0|He.__str100270,v=21;break}if(75==(0|_)||76==(0|_)){v=21;break}if(77==(0|_)){Se[t]=0|He.__str101271,v=21;break}var n=0;v=22;break}if(s?Se[e>>2]=0|He.__str88258:v=5,65==(0|_)||66==(0|_)){Se[t]=0|He.__str89259,v=21;break}if(67==(0|_)||68==(0|_)){Se[t]=0|He.__str90260,v=21;break}if(69==(0|_)||70==(0|_)){Se[t]=0|He.__str91261,v=21;break}if(71==(0|_)||72==(0|_)){Se[t]=0|He.__str92262,v=21;break}if(73==(0|_)||74==(0|_)){Se[t]=0|He.__str93263,v=21;break}if(75==(0|_)||76==(0|_)){v=21;break}if(77==(0|_)){Se[t]=0|He.__str94264,v=21;break}var n=0;v=22;break}v=21}while(0);if(21==v)var n=1;var n;return n}function xr(r,a,e){var i;Se[e>>2]=0;var i=(r+12|0)>>2,v=Se[i];if(Ae[v]<<24>>24==69){Se[e>>2]=0|He.__str102272;var t=Se[i]+1|0;Se[i]=t;var f=t}else var f=v;var f;Se[i]=f+1|0;var _=Ae[f]<<24>>24;if(65==(0|_)){Se[a>>2]=0;var s=1}else if(66==(0|_)){Se[a>>2]=0|He.__str103273;var s=1}else if(67==(0|_)){Se[a>>2]=0|He.__str104274;var s=1}else if(68==(0|_)){Se[a>>2]=0|He.__str105275;var s=1}else var s=0;var s;return s}function zr(r){var a,e,a=(r+12|0)>>2,i=r+40|0,v=r+20|0,t=0|i,f=r+44|0,_=r+48|0,s=r+52|0,n=r+56|0,o=r+20|0,l=r+24|0,b=r+16|0,k=0;r:for(;;){var k,u=Se[a],c=Ae[u];if(c<<24>>24==64){var h=u+1|0;Se[a]=h;var d=1;break}var w=c<<24>>24;do{if(0==(0|w)){var d=0;break r}if(48==(0|w)||49==(0|w)||50==(0|w)||51==(0|w)||52==(0|w)||53==(0|w)||54==(0|w)||55==(0|w)||56==(0|w)||57==(0|w)){var p=u+1|0;Se[a]=p;var E=(Ae[u]<<24>>24)-48|0,A=Yr(v,E),g=A;e=14;break}if(63==(0|w)){var y=u+1|0;Se[a]=y;var m=Ae[y]<<24>>24;if(36==(0|m)){var S=u+2|0;Se[a]=S;var M=jr(r);if(0==(0|M)){var d=0;break r}var C=Fr(r,M,-1,v);if(0==(0|C)){var d=0;break r}var R=M;e=15;break}if(63==(0|m)){var T=Se[t>>2],O=Se[f>>2],N=Se[_>>2],I=Se[s>>2],P=Se[n>>2],D=Se[o>>2],L=Se[l>>2];Cr(i);var F=Ir(r);if(0==(0|F))var X=k;else var j=Se[b>>2],U=Dr(r,0|He.__str109279,(ne=Oe,Oe+=4,Se[ne>>2]=j,ne)),X=U;var X;Se[o>>2]=D,Se[l>>2]=L,Se[t>>2]=T,Se[f>>2]=O,Se[_>>2]=N,Se[s>>2]=I,Se[n>>2]=P;var g=X;e=14;break}var x=Lr(r);if(0==(0|x)){var d=0;break r}var z=Dr(r,0|He.__str109279,(ne=Oe,Oe+=4,Se[ne>>2]=x,ne)),g=z;e=14;break}var V=Kr(r),g=V;e=14;break}while(0);if(14==e){var g;if(0==(0|g)){var d=0;break}var R=g}var R,B=Fr(r,R,-1,i);if(0==(0|B)){var d=0;break}var k=R}var d;return d}function Vr(r){var a,e,i,v=Oe;Oe+=36;var t,f=v,i=f>>2,_=v+4,s=v+8,e=s>>2,n=v+16;Se[i]=0;var o=0|r,l=Se[o>>2],b=0==(128&l|0),k=r+12|0;do if(b){var u=Ae[Se[k>>2]]<<24>>24;if(48==(0|u))var c=0|He.__str76246,h=k,a=h>>2;else if(49==(0|u))var c=0|He.__str77247,h=k,a=h>>2;else{if(50!=(0|u)){var c=0,h=k,a=h>>2;break}var c=0|He.__str78248,h=k,a=h>>2}}else var c=0,h=k,a=h>>2;while(0);var h,c,d=0==(512&l|0);do if(d){if((Ae[Se[a]]-48&255&255)>=3){var w=0;break}var w=0|He.__str79249}else var w=0;while(0);var w,p=Gr(r,0),E=Se[a],A=E+1|0;Se[a]=A;var g=Ae[E]<<24>>24;do{if(48==(0|g)||49==(0|g)||50==(0|g)||51==(0|g)||52==(0|g)||53==(0|g)){var y=r+44|0,m=Se[y>>2];Cr(n);var S=Pr(r,s,n,0);if(0==(0|S)){var M=0;t=28;break}var C=xr(r,f,_);if(0==(0|C)){var M=0;t=28;break}var R=Se[i],T=0==(0|R),O=Se[_>>2];do if(T)Se[i]=O;else{if(0==(0|O))break;var N=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=R,Se[ne+4>>2]=O,ne));Se[i]=N}while(0);Se[y>>2]=m,t=22;break}if(54==(0|g)||55==(0|g)){var I=s+4|0;Se[I>>2]=0,Se[e]=0;var P=xr(r,f,_);if(0==(0|P)){var M=0;t=28;break}if(Ae[Se[a]]<<24>>24==64){t=22;break}var D=qr(r);if(0==(0|D)){var M=0;t=28;break}var L=Dr(r,0|He.__str107277,(ne=Oe,Oe+=4,Se[ne>>2]=D,ne));Se[I>>2]=L,t=22;break}if(56==(0|g)||57==(0|g)){Se[e+1]=0,Se[e]=0,Se[i]=0,t=22;break}var M=0;t=28}while(0);if(22==t){var F=0==(4096&Se[o>>2]|0);do{if(F){var X=Se[e],j=Se[i];if(0==(0|j)){var U=X;t=26;break}var x=0!=(0|X)?0|He.__str87257:0,z=0|He.__str87257,V=j,B=x,H=X;t=27;break}Se[i]=0,Se[e+1]=0,Se[e]=0;var U=0;t=26;break}while(0);if(26==t)var U,K=0!=(0|U)?0|He.__str87257:0,z=K,V=0,B=0,H=U;var H,B,V,z,Y=Se[e+1],G=Dr(r,0|He.__str108278,(ne=Oe,Oe+=32,Se[ne>>2]=c,Se[ne+4>>2]=w,Se[ne+8>>2]=H,Se[ne+12>>2]=B,Se[ne+16>>2]=V,Se[ne+20>>2]=z,Se[ne+24>>2]=p,Se[ne+28>>2]=Y,ne));Se[r+16>>2]=G;var M=1}var M;return Oe=v,M}function Br(r,a){var e,i,v,t,f=Oe;Oe+=44;var _,s=f,t=s>>2,n=f+8,o=f+12,v=o>>2,l=f+16,b=f+20,k=f+40;Se[v]=0;var i=(r+12|0)>>2,u=Se[i],c=u+1|0;Se[i]=c;var h=ge[u],d=h<<24>>24,w=(h-65&255&255)>25;r:do if(w)var p=0;else{var e=(0|r)>>2,E=Me[e],A=0==(128&E|0),g=d-65|0;do if(A){var y=g/8|0;if(0==(0|y))var m=0|He.__str76246,S=g;else if(1==(0|y))var m=0|He.__str77247,S=g;else{if(2!=(0|y)){var m=0,S=g;break}var m=0|He.__str78248,S=g}}else var m=0,S=g;while(0);var S,m,M=0==(512&E|0)&h<<24>>24<89,C=(0|S)%8;do if(M)if(2==(0|C)||3==(0|C))var R=m,T=0|He.__str79249;else if(4==(0|C)||5==(0|C))var R=m,T=0|He.__str80250;else{if(6!=(0|C)&&7!=(0|C)){var R=m,T=0;break}var O=Dr(r,0|He.__str81251,(ne=Oe,Oe+=4,Se[ne>>2]=m,ne)),R=O,T=0|He.__str80250}else var R=m,T=0;while(0);var T,R,N=Gr(r,0),I=6==(0|C);do{if(!I){if(7==((d-56)%8|0)){_=14;break}var P=N;_=15;break}_=14}while(0);if(14==_)var D=Lr(r),L=Dr(r,0|He.__str82252,(ne=Oe,Oe+=8,Se[ne>>2]=N,Se[ne+4>>2]=D,ne)),P=L;var P,F=h<<24>>24>88;do if(F)var X=0;else{if((C-2|0)>>>0<2){var X=0;break}var j=xr(r,o,k);if(0==(0|j)){var p=0;break r}var U=Me[v],x=Se[k>>2];if(0==(0|U)&0==(0|x)){var X=0;break}var z=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=U,Se[ne+4>>2]=x,ne));Se[v]=z;var X=z}while(0);var X,V=Se[i],B=V+1|0;Se[i]=B;var H=Ae[V],K=Se[e],Y=Ur(H,n,l,K);if(0==(0|Y)){var p=0;break}Cr(b);var G=Se[i];if(Ae[G]<<24>>24==64){Se[t]=0|He.__str84254,Se[t+1]=0;var W=G+1|0;Se[i]=W}else{var Z=Pr(r,s,b,0);if(0==(0|Z)){var p=0;break}}if(0!=(4&Se[e]|0)&&(Se[t+1]=0,Se[t]=0),0==(0|a))var Q=P;else{var q=0|s,$=Se[q>>2],J=s+4|0,rr=Se[J>>2],ar=Dr(r,0|He.__str85255,(ne=Oe,Oe+=12,Se[ne>>2]=P,Se[ne+4>>2]=$,Se[ne+8>>2]=rr,ne));Se[J>>2]=0,Se[q>>2]=0;var Q=ar}var Q,er=r+44|0,ir=Se[er>>2],vr=Xr(r,b,1,40,41);if(0==(0|vr)){var p=0;break}if(0==(4096&Se[e]|0))var tr=vr,fr=X;else{Se[v]=0;var tr=0,fr=0}var fr,tr;Se[er>>2]=ir;var _r=Se[t],sr=Se[t+1];if(0==(0|_r))var nr=0;else var or=0!=(0|sr)?0:0|He.__str87257,nr=or;var nr,lr=Se[n>>2],br=0!=(0|lr)?0|He.__str87257:0,kr=Se[l>>2],ur=Dr(r,0|He.__str86256,(ne=Oe,Oe+=44,Se[ne>>2]=R,Se[ne+4>>2]=T,Se[ne+8>>2]=_r,Se[ne+12>>2]=nr,Se[ne+16>>2]=lr,Se[ne+20>>2]=br,Se[ne+24>>2]=kr,Se[ne+28>>2]=Q,Se[ne+32>>2]=tr,Se[ne+36>>2]=fr,Se[ne+40>>2]=sr,ne));Se[r+16>>2]=ur;var p=1}while(0);var p;return Oe=f,p}function Hr(r){var a,a=(r+12|0)>>2,e=Se[a];if(Ae[e]<<24>>24==36)var i=e;else{Xa(0|He.__str72242,1252,0|He.___func___handle_template,0|He.__str74244);var i=Se[a]}var i;Se[a]=i+1|0;var v=Kr(r),t=0==(0|v);do if(t)var f=0;else{var _=Xr(r,0,0,60,62);if(0==(0|_)){var f=0;break}var s=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=v,Se[ne+4>>2]=_,ne));Se[r+16>>2]=s;var f=1}while(0);var f;return f}function Kr(r){for(var a,a=(r+12|0)>>2,e=Me[a],i=e,v=Ae[e];;){var v,i;if(!((v-65&255&255)<26|(v-97&255&255)<26|(v-48&255&255)<10)&&v<<24>>24!=95&&v<<24>>24!=36){var t=0;break}var f=i+1|0;Se[a]=f;var _=ge[f];if(_<<24>>24==64){Se[a]=i+2|0;var s=f-e|0,n=r+20|0,o=Fr(r,e,s,n);if(0==(0|o)){var t=0;break}var l=Se[r+24>>2]-1-Se[n>>2]|0,b=Yr(n,l),t=b;break}var i=f,v=_}var t;return t}function Yr(r,a){0==(0|r)&&Xa(0|He.__str72242,263,0|He.___func___str_array_get_ref,0|He.__str75245);var e=Se[r>>2]+a|0;if(e>>>0<Me[r+8>>2]>>>0)var i=Se[Se[r+16>>2]+(e<<2)>>2];else var i=0;var i;return i}function Gr(r,a){var e,e=(r+44|0)>>2,i=Me[e];if(i>>>0>a>>>0){for(var v=r+56|0,t=a,f=0,_=Se[v>>2],s=i;;){var s,_,f,t,n=Me[_+(t<<2)>>2];if(0==(0|n)){Xa(0|He.__str72242,680,0|He.___func___get_class_string,0|He.__str106276);var o=Se[v>>2],l=o,b=Se[o+(t<<2)>>2],k=Se[e]}else var l=_,b=n,k=s;var k,b,l,u=Ca(b),c=u+(f+2)|0,h=t+1|0;if(h>>>0>=k>>>0)break;var t=h,f=c,_=l,s=k}var d=c-1|0}else var d=-1;var d,w=Wr(r,d);if(0==(0|w))var p=0;else{var E=Se[e]-1|0,A=(0|E)<(0|a);r:do if(A)var g=0;else for(var y=r+56|0,m=0,S=E;;){var S,m,M=Se[Se[y>>2]+(S<<2)>>2],C=Ca(M),R=w+m|0;Pa(R,M,C,1);var T=C+m|0;if((0|S)>(0|a)){var O=T+1|0;Ae[w+T|0]=58;var N=T+2|0;Ae[w+O|0]=58;var I=N}else var I=T;var I,P=S-1|0;if((0|P)<(0|a)){var g=I;break r}var m=I,S=P}while(0);var g;Ae[w+g|0]=0;var p=w}var p;return p}function Wr(r,a){var e,i=a>>>0>1020;do if(i){var v=Se[r+4>>2],t=a+4|0,f=pe[v](t);if(0==(0|f)){var _=0;break}var s=r+60|0,n=Se[s>>2],o=f;Se[o>>2]=n,Se[s>>2]=f,Se[r+64>>2]=0;var _=f+4|0}else{var e=(r+64|0)>>2,l=Me[e];if(l>>>0<a>>>0){var b=Se[r+4>>2],k=pe[b](1024);if(0==(0|k)){var _=0;break}var u=r+60|0,c=Se[u>>2],h=k;Se[h>>2]=c,Se[u>>2]=k,Se[e]=1020;var d=1020,w=k}else var d=l,w=Se[r+60>>2];var w,d;Se[e]=d-a|0;var _=w+(1024-d)|0}while(0);var _;return _}function Zr(r){var a=r<<24>>24;if(68==(0|a))var e=0|He.__str157327;else if(69==(0|a))var e=0|He.__str158328;else if(70==(0|a))var e=0|He.__str159329;else if(71==(0|a))var e=0|He.__str160330;else if(72==(0|a))var e=0|He.__str161331;else if(73==(0|a))var e=0|He.__str162332;else if(74==(0|a))var e=0|He.__str163333;else if(75==(0|a))var e=0|He.__str164334;else if(76==(0|a))var e=0|He.__str165335;else if(77==(0|a))var e=0|He.__str166336;else if(78==(0|a))var e=0|He.__str167337;else if(87==(0|a))var e=0|He.__str168338;else var e=0;var e;return e}function Qr(r){var a=r<<24>>24;if(67==(0|a))var e=0|He.__str145315;else if(68==(0|a))var e=0|He.__str146316;else if(69==(0|a))var e=0|He.__str147317;else if(70==(0|a))var e=0|He.__str148318;else if(71==(0|a))var e=0|He.__str149319;else if(72==(0|a))var e=0|He.__str150320;else if(73==(0|a))var e=0|He.__str151321;else if(74==(0|a))var e=0|He.__str152322;else if(75==(0|a))var e=0|He.__str153323;else if(77==(0|a))var e=0|He.__str154324;else if(78==(0|a))var e=0|He.__str155325;else if(79==(0|a))var e=0|He.__str156326;else if(88==(0|a))var e=0|He.__str84254;else if(90==(0|a))var e=0|He.__str110280;else var e=0;var e;return e}function qr(r){var a=r+44|0,e=Se[a>>2],i=zr(r);if(0==(0|i))var v=0;else var t=Gr(r,e),v=t;var v;return Se[a>>2]=e,v}function $r(r,a,e,i,v){var t,f,_,s=Oe;Oe+=16;var n,o=s,_=o>>2,l=s+4,b=s+8,f=b>>2;Se[l>>2]=0|ii;var t=(a+12|0)>>2,k=Se[t];if(Ae[k]<<24>>24==69){Se[l>>2]=0|He.__str134304;var u=k+1|0;Se[t]=u;var c=0|He.__str134304}else var c=0|ii;var c,h=i<<24>>24;do{if(65==(0|h)){var d=Dr(a,0|He.__str135305,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=d;n=10;break}if(66==(0|h)){var p=Dr(a,0|He.__str136306,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=p;n=10;break}if(80==(0|h)){var E=Dr(a,0|He.__str137307,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=E;n=10;break}if(81==(0|h)){var A=Dr(a,0|He.__str138308,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=A;n=10;break}if(82==(0|h)){var g=Dr(a,0|He.__str139309,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=g;n=10;break}if(83==(0|h)){var y=Dr(a,0|He.__str140310,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=y;n=10;break}if(63==(0|h)){var w=0|ii;n=10}else n=31}while(0);r:do if(10==n){var w,m=xr(a,o,l);if(0==(0|m))break;var S=a+44|0,M=Se[S>>2],C=Se[t],R=Ae[C]<<24>>24==89;a:do if(R){var T=C+1|0;Se[t]=T;var O=Lr(a);if(0==(0|O))break r;var N=Ha(O),I=Ae[w]<<24>>24==32,P=Se[_],D=0==(0|P);do{if(I){if(!D){n=17;break}var L=w+1|0;n=18;break}if(D){var L=w;n=18;break}n=17;break}while(0);if(17==n){var F=Dr(a,0|He.__str141311,(ne=Oe,Oe+=8,Se[ne>>2]=P,Se[ne+4>>2]=w,ne));Se[_]=0;var X=F}else if(18==n)var L,j=Dr(a,0|He.__str142312,(ne=Oe,Oe+=4,Se[ne>>2]=L,ne)),X=j;var X;if(0==(0|N)){var U=X;break}for(var x=X,z=N;;){var z,x,V=z-1|0,B=Lr(a),H=Dr(a,0|He.__str143313,(ne=Oe,Oe+=8,Se[ne>>2]=x,Se[ne+4>>2]=B,ne));if(0==(0|V)){var U=H;break a}var x=H,z=V}}else var U=w;while(0);var U,K=Pr(a,b,e,0);if(0==(0|K))break;var Y=Se[_];if(0==(0|Y)){var G=0==(0|v);do if(G){if(Ae[U]<<24>>24==0){var W=U;break}var Z=U+1|0;if(Ae[Z]<<24>>24!=42){var W=U;break}var Q=Se[f],q=Ca(Q);if(Ae[Q+(q-1)|0]<<24>>24!=42){var W=U;break}var W=Z}else var W=U;while(0);var W,$=Se[f],J=Dr(a,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=$,Se[ne+4>>2]=W,ne));Se[r>>2]=J}else{var rr=Se[f],ar=Dr(a,0|He.__str144314,(ne=Oe,Oe+=12,Se[ne>>2]=rr,Se[ne+4>>2]=Y,Se[ne+8>>2]=U,ne));Se[r>>2]=ar}var er=Se[f+1];Se[r+4>>2]=er,Se[S>>2]=M}while(0);Oe=s}function Jr(r){var a,e=r>>>0<245;do{if(e){if(r>>>0<11)var i=16;else var i=r+11&-8;var i,v=i>>>3,t=Me[vi>>2],f=t>>>(v>>>0);if(0!=(3&f|0)){var _=(1&f^1)+v|0,s=_<<1,n=(s<<2)+vi+40|0,o=(s+2<<2)+vi+40|0,l=Me[o>>2],b=l+8|0,k=Me[b>>2];if((0|n)==(0|k))Se[vi>>2]=t&(1<<_^-1);else{if(k>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[o>>2]=k,Se[k+12>>2]=n}var u=_<<3;Se[l+4>>2]=3|u;var c=l+(4|u)|0,h=1|Se[c>>2];Se[c>>2]=h;var d=b;a=38;break}if(i>>>0<=Me[vi+8>>2]>>>0){var w=i;a=30;break}if(0!=(0|f)){var p=2<<v,E=f<<v&(p|-p),A=(E&-E)-1|0,g=A>>>12&16,y=A>>>(g>>>0),m=y>>>5&8,S=y>>>(m>>>0),M=S>>>2&4,C=S>>>(M>>>0),R=C>>>1&2,T=C>>>(R>>>0),O=T>>>1&1,N=(m|g|M|R|O)+(T>>>(O>>>0))|0,I=N<<1,P=(I<<2)+vi+40|0,D=(I+2<<2)+vi+40|0,L=Me[D>>2],F=L+8|0,X=Me[F>>2];if((0|P)==(0|X))Se[vi>>2]=t&(1<<N^-1);else{if(X>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[D>>2]=X,Se[X+12>>2]=P}var j=N<<3,U=j-i|0;Se[L+4>>2]=3|i;var x=L,z=x+i|0;Se[x+(4|i)>>2]=1|U,Se[x+j>>2]=U;var V=Me[vi+8>>2];if(0!=(0|V)){var B=Se[vi+20>>2],H=V>>>2&1073741822,K=(H<<2)+vi+40|0,Y=Me[vi>>2],G=1<<(V>>>3),W=0==(Y&G|0);do{if(!W){var Z=(H+2<<2)+vi+40|0,Q=Me[Z>>2];if(Q>>>0>=Me[vi+16>>2]>>>0){var q=Q,$=Z;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Y|G;var q=K,$=(H+2<<2)+vi+40|0}while(0);var $,q;Se[$>>2]=B,Se[q+12>>2]=B;var J=B+8|0;Se[J>>2]=q;var rr=B+12|0;Se[rr>>2]=K}Se[vi+8>>2]=U,Se[vi+20>>2]=z;var d=F;a=38;break}if(0==(0|Se[vi+4>>2])){var w=i;a=30;break}var ar=ra(i);if(0==(0|ar)){var w=i;a=30;break}var d=ar;a=38;break}if(r>>>0>4294967231){var w=-1;a=30;break}var er=r+11&-8;if(0==(0|Se[vi+4>>2])){var w=er;a=30;break}var ir=ea(er);if(0==(0|ir)){var w=er;a=30;break}var d=ir;a=38;break}while(0);if(30==a){var w,vr=Me[vi+8>>2];if(w>>>0>vr>>>0){var tr=Me[vi+12>>2];if(w>>>0<tr>>>0){var fr=tr-w|0;Se[vi+12>>2]=fr;var _r=Me[vi+24>>2],sr=_r;Se[vi+24>>2]=sr+w|0,Se[w+(sr+4)>>2]=1|fr,Se[_r+4>>2]=3|w;var d=_r+8|0}else var nr=aa(w),d=nr}else{var or=vr-w|0,lr=Me[vi+20>>2];if(or>>>0>15){var br=lr;Se[vi+20>>2]=br+w|0,Se[vi+8>>2]=or,Se[w+(br+4)>>2]=1|or,Se[br+vr>>2]=or,Se[lr+4>>2]=3|w}else{Se[vi+8>>2]=0,Se[vi+20>>2]=0,Se[lr+4>>2]=3|vr;var kr=vr+(lr+4)|0,ur=1|Se[kr>>2];Se[kr>>2]=ur}var d=lr+8|0}}var d;return d}function ra(r){var a,e,i,v=Se[vi+4>>2],t=(v&-v)-1|0,f=t>>>12&16,_=t>>>(f>>>0),s=_>>>5&8,n=_>>>(s>>>0),o=n>>>2&4,l=n>>>(o>>>0),b=l>>>1&2,k=l>>>(b>>>0),u=k>>>1&1,c=Me[vi+((s|f|o|b|u)+(k>>>(u>>>0))<<2)+304>>2],h=c,e=h>>2,d=(Se[c+4>>2]&-8)-r|0;r:for(;;)for(var d,h,w=h;;){var w,p=Se[w+16>>2];if(0==(0|p)){var E=Se[w+20>>2];if(0==(0|E))break r;var A=E}else var A=p;var A,g=(Se[A+4>>2]&-8)-r|0;if(g>>>0<d>>>0){var h=A,e=h>>2,d=g;continue r}var w=A}var y=h,m=Me[vi+16>>2],S=y>>>0<m>>>0;do if(!S){var M=y+r|0,C=M;if(y>>>0>=M>>>0)break;var R=Me[e+6],T=Me[e+3],O=(0|T)==(0|h);do if(O){var N=h+20|0,I=Se[N>>2];if(0==(0|I)){var P=h+16|0,D=Se[P>>2];if(0==(0|D)){var L=0,a=L>>2;break}var F=P,X=D}else{var F=N,X=I;i=14}for(;;){var X,F,j=X+20|0,U=Se[j>>2];if(0==(0|U)){var x=X+16|0,z=Me[x>>2];if(0==(0|z))break;var F=x,X=z}else var F=j,X=U}if(F>>>0<m>>>0)throw Ka(),"Reached an unreachable!";Se[F>>2]=0;var L=X,a=L>>2}else{var V=Me[e+2];if(V>>>0<m>>>0)throw Ka(),"Reached an unreachable!";Se[V+12>>2]=T,Se[T+8>>2]=V;var L=T,a=L>>2}while(0);var L,B=0==(0|R);r:do if(!B){var H=h+28|0,K=(Se[H>>2]<<2)+vi+304|0,Y=(0|h)==(0|Se[K>>2]);do{if(Y){if(Se[K>>2]=L,0!=(0|L))break;var G=Se[vi+4>>2]&(1<<Se[H>>2]^-1);Se[vi+4>>2]=G;break r}if(R>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var W=R+16|0;if((0|Se[W>>2])==(0|h)?Se[W>>2]=L:Se[R+20>>2]=L,0==(0|L))break r}while(0);if(L>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=R;var Z=Me[e+4];if(0!=(0|Z)){if(Z>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=Z,Se[Z+24>>2]=L}var Q=Me[e+5];if(0==(0|Q))break;if(Q>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=Q,Se[Q+24>>2]=L}while(0);if(d>>>0<16){var q=d+r|0;Se[e+1]=3|q;var $=q+(y+4)|0,J=1|Se[$>>2];Se[$>>2]=J}else{Se[e+1]=3|r,Se[r+(y+4)>>2]=1|d,Se[y+d+r>>2]=d;var rr=Me[vi+8>>2];if(0!=(0|rr)){var ar=Me[vi+20>>2],er=rr>>>2&1073741822,ir=(er<<2)+vi+40|0,vr=Me[vi>>2],tr=1<<(rr>>>3),fr=0==(vr&tr|0);do{if(!fr){var _r=(er+2<<2)+vi+40|0,sr=Me[_r>>2];if(sr>>>0>=Me[vi+16>>2]>>>0){var nr=sr,or=_r;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=vr|tr;var nr=ir,or=(er+2<<2)+vi+40|0}while(0);var or,nr;Se[or>>2]=ar,Se[nr+12>>2]=ar,Se[ar+8>>2]=nr,Se[ar+12>>2]=ir}Se[vi+8>>2]=d,Se[vi+20>>2]=C}return h+8|0}while(0);throw Ka(),"Reached an unreachable!"}function aa(r){var a,e;0==(0|Se[ti>>2])&&ba();var i=0==(4&Se[vi+440>>2]|0);do{if(i){var v=Se[vi+24>>2],t=0==(0|v);do{if(!t){var f=v,_=ua(f);if(0==(0|_)){e=6;break}var s=Se[ti+8>>2],n=r+47-Se[vi+12>>2]+s&-s;if(n>>>0>=2147483647){e=14;break}var o=re(n);if((0|o)==(Se[_>>2]+Se[_+4>>2]|0)){var l=o,b=n,k=o;e=13;break}var u=o,c=n;e=15;break}e=6}while(0);do if(6==e){var h=re(0);if((0|h)==-1){e=14;break}var d=Se[ti+8>>2],w=d+(r+47)&-d,p=h,E=Se[ti+4>>2],A=E-1|0;if(0==(A&p|0))var g=w;else var g=w-p+(A+p&-E)|0;var g;if(g>>>0>=2147483647){e=14;break}var y=re(g);if((0|y)==(0|h)){var l=h,b=g,k=y;e=13;break}var u=y,c=g;e=15;break}while(0);if(13==e){var k,b,l;if((0|l)!=-1){var m=b,S=l;e=26;break}var u=k,c=b}else if(14==e){var M=4|Se[vi+440>>2];Se[vi+440>>2]=M,e=23;break}var c,u,C=0|-c,R=(0|u)!=-1&c>>>0<2147483647;do{if(R){if(c>>>0>=(r+48|0)>>>0){var T=c;e=21;break}var O=Se[ti+8>>2],N=r+47-c+O&-O;if(N>>>0>=2147483647){var T=c;e=21;break}var I=re(N);if((0|I)==-1){re(C);e=22;break}var T=N+c|0;e=21;break}var T=c;e=21}while(0);if(21==e){var T;if((0|u)!=-1){var m=T,S=u;e=26;break}}var P=4|Se[vi+440>>2];Se[vi+440>>2]=P,e=23;break}e=23}while(0);do if(23==e){var D=Se[ti+8>>2],L=D+(r+47)&-D;if(L>>>0>=2147483647){e=49;break}var F=re(L),X=re(0);if(!((0|X)!=-1&(0|F)!=-1&F>>>0<X>>>0)){e=49;break}var j=X-F|0;if(j>>>0<=(r+40|0)>>>0|(0|F)==-1){e=49;break}var m=j,S=F;e=26;break}while(0);r:do if(26==e){var S,m,U=Se[vi+432>>2]+m|0;Se[vi+432>>2]=U,U>>>0>Me[vi+436>>2]>>>0&&(Se[vi+436>>2]=U);var x=Me[vi+24>>2],z=0==(0|x);a:do if(z){var V=Me[vi+16>>2];0==(0|V)|S>>>0<V>>>0&&(Se[vi+16>>2]=S),Se[vi+444>>2]=S,Se[vi+448>>2]=m,Se[vi+456>>2]=0;var B=Se[ti>>2];Se[vi+36>>2]=B,Se[vi+32>>2]=-1,ha(),ca(S,m-40|0)}else{for(var H=vi+444|0,a=H>>2;;){var H;if(0==(0|H))break;var K=Me[a],Y=H+4|0,G=Me[Y>>2],W=K+G|0;if((0|S)==(0|W)){if(0!=(8&Se[a+3]|0))break;var Z=x;if(!(Z>>>0>=K>>>0&Z>>>0<W>>>0))break;Se[Y>>2]=G+m|0;var Q=Se[vi+24>>2],q=Se[vi+12>>2]+m|0;ca(Q,q);break a}var H=Se[a+2],a=H>>2}S>>>0<Me[vi+16>>2]>>>0&&(Se[vi+16>>2]=S);for(var $=S+m|0,J=vi+444|0;;){var J;if(0==(0|J))break;var rr=0|J,ar=Me[rr>>2];if((0|ar)==(0|$)){if(0!=(8&Se[J+12>>2]|0))break;Se[rr>>2]=S;var er=J+4|0,ir=Se[er>>2]+m|0;Se[er>>2]=ir;var vr=da(S,ar,r),tr=vr;e=50;break r}var J=Se[J+8>>2]}Ma(S,m)}while(0);var fr=Me[vi+12>>2];if(fr>>>0<=r>>>0){e=49;break}var _r=fr-r|0;Se[vi+12>>2]=_r;var sr=Me[vi+24>>2],nr=sr;Se[vi+24>>2]=nr+r|0,Se[r+(nr+4)>>2]=1|_r,Se[sr+4>>2]=3|r;var tr=sr+8|0;e=50;break}while(0);if(49==e){var or=Je();Se[or>>2]=12;var tr=0}var tr;return tr}function ea(r){var a,e,i,v,t,f,_=r>>2,s=0|-r,n=r>>>8,o=0==(0|n);do if(o)var l=0;else{if(r>>>0>16777215){var l=31;break}var b=(n+1048320|0)>>>16&8,k=n<<b,u=(k+520192|0)>>>16&4,c=k<<u,h=(c+245760|0)>>>16&2,d=14-(u|b|h)+(c<<h>>>15)|0,l=r>>>((d+7|0)>>>0)&1|d<<1}while(0);var l,w=Me[vi+(l<<2)+304>>2],p=0==(0|w);r:do if(p)var E=0,A=s,g=0;else{if(31==(0|l))var y=0;else var y=25-(l>>>1)|0;for(var y,m=0,S=s,M=w,t=M>>2,C=r<<y,R=0;;){var R,C,M,S,m,T=Se[t+1]&-8,O=T-r|0;if(O>>>0<S>>>0){if((0|T)==(0|r)){var E=M,A=O,g=M;break r}var N=M,I=O}else var N=m,I=S;var I,N,P=Me[t+5],D=Me[((C>>>31<<2)+16>>2)+t],L=0==(0|P)|(0|P)==(0|D)?R:P;if(0==(0|D)){var E=N,A=I,g=L;break r}var m=N,S=I,M=D,t=M>>2,C=C<<1,R=L}}while(0);var g,A,E,F=0==(0|g)&0==(0|E);do if(F){var X=2<<l,j=Se[vi+4>>2]&(X|-X);if(0==(0|j)){var U=g;break}var x=(j&-j)-1|0,z=x>>>12&16,V=x>>>(z>>>0),B=V>>>5&8,H=V>>>(B>>>0),K=H>>>2&4,Y=H>>>(K>>>0),G=Y>>>1&2,W=Y>>>(G>>>0),Z=W>>>1&1,U=Se[vi+((B|z|K|G|Z)+(W>>>(Z>>>0))<<2)+304>>2]}else var U=g;while(0);var U,Q=0==(0|U);r:do if(Q)var q=A,$=E,v=$>>2;else for(var J=U,i=J>>2,rr=A,ar=E;;){var ar,rr,J,er=(Se[i+1]&-8)-r|0,ir=er>>>0<rr>>>0,vr=ir?er:rr,tr=ir?J:ar,fr=Me[i+4];if(0==(0|fr)){var _r=Me[i+5];if(0==(0|_r)){var q=vr,$=tr,v=$>>2;break r}var J=_r,i=J>>2,rr=vr,ar=tr}else var J=fr,i=J>>2,rr=vr,ar=tr}while(0);var $,q,sr=0==(0|$);r:do{if(!sr){if(q>>>0>=(Se[vi+8>>2]-r|0)>>>0){var nr=0;break}var or=$,e=or>>2,lr=Me[vi+16>>2],br=or>>>0<lr>>>0;do if(!br){var kr=or+r|0,ur=kr;if(or>>>0>=kr>>>0)break;var cr=Me[v+6],hr=Me[v+3],dr=(0|hr)==(0|$);do if(dr){var wr=$+20|0,pr=Se[wr>>2];if(0==(0|pr)){var Er=$+16|0,Ar=Se[Er>>2];if(0==(0|Ar)){var gr=0,a=gr>>2;break}var yr=Er,mr=Ar}else{var yr=wr,mr=pr;f=28}for(;;){var mr,yr,Sr=mr+20|0,Mr=Se[Sr>>2];if(0==(0|Mr)){var Cr=mr+16|0,Rr=Me[Cr>>2];if(0==(0|Rr))break;var yr=Cr,mr=Rr}else var yr=Sr,mr=Mr}if(yr>>>0<lr>>>0)throw Ka(),"Reached an unreachable!";Se[yr>>2]=0;var gr=mr,a=gr>>2}else{var Tr=Me[v+2];if(Tr>>>0<lr>>>0)throw Ka(),"Reached an unreachable!";Se[Tr+12>>2]=hr,Se[hr+8>>2]=Tr;var gr=hr,a=gr>>2}while(0);var gr,Or=0==(0|cr);a:do if(!Or){var Nr=$+28|0,Ir=(Se[Nr>>2]<<2)+vi+304|0,Pr=(0|$)==(0|Se[Ir>>2]);do{if(Pr){if(Se[Ir>>2]=gr,0!=(0|gr))break;var Dr=Se[vi+4>>2]&(1<<Se[Nr>>2]^-1);Se[vi+4>>2]=Dr;break a}if(cr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var Lr=cr+16|0;if((0|Se[Lr>>2])==(0|$)?Se[Lr>>2]=gr:Se[cr+20>>2]=gr,0==(0|gr))break a}while(0);if(gr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=cr;var Fr=Me[v+4];if(0!=(0|Fr)){if(Fr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=Fr,Se[Fr+24>>2]=gr}var Xr=Me[v+5];if(0==(0|Xr))break;if(Xr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=Xr,Se[Xr+24>>2]=gr}while(0);var jr=q>>>0<16;a:do if(jr){var Ur=q+r|0;Se[v+1]=3|Ur;var xr=Ur+(or+4)|0,zr=1|Se[xr>>2];Se[xr>>2]=zr}else if(Se[v+1]=3|r,Se[_+(e+1)]=1|q,Se[(q>>2)+e+_]=q,q>>>0<256){var Vr=q>>>2&1073741822,Br=(Vr<<2)+vi+40|0,Hr=Me[vi>>2],Kr=1<<(q>>>3),Yr=0==(Hr&Kr|0);do{if(!Yr){var Gr=(Vr+2<<2)+vi+40|0,Wr=Me[Gr>>2];if(Wr>>>0>=Me[vi+16>>2]>>>0){var Zr=Wr,Qr=Gr;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Hr|Kr;var Zr=Br,Qr=(Vr+2<<2)+vi+40|0}while(0);var Qr,Zr;Se[Qr>>2]=ur,Se[Zr+12>>2]=ur,Se[_+(e+2)]=Zr,Se[_+(e+3)]=Br}else{var qr=kr,$r=q>>>8,Jr=0==(0|$r);do if(Jr)var ra=0;else{if(q>>>0>16777215){var ra=31;break}var aa=($r+1048320|0)>>>16&8,ea=$r<<aa,ia=(ea+520192|0)>>>16&4,va=ea<<ia,ta=(va+245760|0)>>>16&2,fa=14-(ia|aa|ta)+(va<<ta>>>15)|0,ra=q>>>((fa+7|0)>>>0)&1|fa<<1}while(0);var ra,_a=(ra<<2)+vi+304|0;Se[_+(e+7)]=ra;var sa=r+(or+16)|0;Se[_+(e+5)]=0,Se[sa>>2]=0;var na=Se[vi+4>>2],oa=1<<ra;if(0==(na&oa|0)){var la=na|oa;Se[vi+4>>2]=la,Se[_a>>2]=qr,Se[_+(e+6)]=_a,Se[_+(e+3)]=qr,Se[_+(e+2)]=qr}else{if(31==(0|ra))var ba=0;else var ba=25-(ra>>>1)|0;for(var ba,ka=q<<ba,ua=Se[_a>>2];;){var ua,ka;if((Se[ua+4>>2]&-8|0)==(0|q)){var ca=ua+8|0,ha=Me[ca>>2],da=Me[vi+16>>2],wa=ua>>>0<da>>>0;do if(!wa){if(ha>>>0<da>>>0)break;Se[ha+12>>2]=qr,Se[ca>>2]=qr,Se[_+(e+2)]=ha,Se[_+(e+3)]=ua,Se[_+(e+6)]=0;break a}while(0);throw Ka(),"Reached an unreachable!"}var pa=(ka>>>31<<2)+ua+16|0,Ea=Me[pa>>2];if(0==(0|Ea)){if(pa>>>0>=Me[vi+16>>2]>>>0){Se[pa>>2]=qr,Se[_+(e+6)]=ua,Se[_+(e+3)]=qr,Se[_+(e+2)]=qr;break a}throw Ka(),"Reached an unreachable!"}var ka=ka<<1,ua=Ea}}}while(0);var nr=$+8|0;break r}while(0);throw Ka(),"Reached an unreachable!"}var nr=0}while(0);var nr;return nr}function ia(r){var a;0==(0|Se[ti>>2])&&ba();var e=r>>>0<4294967232;r:do if(e){var i=Me[vi+24>>2];if(0==(0|i)){var v=0;break}var t=Me[vi+12>>2],f=t>>>0>(r+40|0)>>>0;do if(f){var _=Me[ti+8>>2],s=-40-r-1+t+_|0,n=Math.floor((s>>>0)/(_>>>0)),o=(n-1)*_|0,l=i,b=ua(l);if(0!=(8&Se[b+12>>2]|0))break;var k=re(0),a=(b+4|0)>>2;if((0|k)!=(Se[b>>2]+Se[a]|0))break;var u=o>>>0>2147483646?-2147483648-_|0:o,c=0|-u,h=re(c),d=re(0);if(!((0|h)!=-1&d>>>0<k>>>0))break;var w=k-d|0;if((0|k)==(0|d))break;var p=Se[a]-w|0;Se[a]=p;var E=Se[vi+432>>2]-w|0;Se[vi+432>>2]=E;var A=Se[vi+24>>2],g=Se[vi+12>>2]-w|0;ca(A,g);var v=(0|k)!=(0|d);break r}while(0);if(Me[vi+12>>2]>>>0<=Me[vi+28>>2]>>>0){var v=0;break}Se[vi+28>>2]=-1;var v=0}else var v=0;while(0);var v;return 1&v}function va(r){var a,e,i,v,t,f,_,s=r>>2,n=0==(0|r);r:do if(!n){var o=r-8|0,l=o,b=Me[vi+16>>2],k=o>>>0<b>>>0;a:do if(!k){var u=Me[r-4>>2],c=3&u;if(1==(0|c))break;var h=u&-8,f=h>>2,d=r+(h-8)|0,w=d,p=0==(1&u|0);e:do if(p){var E=Me[o>>2];if(0==(0|c))break r;var A=-8-E|0,t=A>>2,g=r+A|0,y=g,m=E+h|0;if(g>>>0<b>>>0)break a;if((0|y)==(0|Se[vi+20>>2])){var v=(r+(h-4)|0)>>2;if(3!=(3&Se[v]|0)){var S=y,i=S>>2,M=m;break}Se[vi+8>>2]=m;var C=Se[v]&-2;Se[v]=C,Se[t+(s+1)]=1|m,Se[d>>2]=m;break r}if(E>>>0<256){var R=Me[t+(s+2)],T=Me[t+(s+3)];if((0|R)!=(0|T)){var O=((E>>>2&1073741822)<<2)+vi+40|0,N=(0|R)!=(0|O)&R>>>0<b>>>0;do if(!N){if(!((0|T)==(0|O)|T>>>0>=b>>>0))break;Se[R+12>>2]=T,Se[T+8>>2]=R;var S=y,i=S>>2,M=m;break e}while(0);throw Ka(),"Reached an unreachable!"}var I=Se[vi>>2]&(1<<(E>>>3)^-1);Se[vi>>2]=I;var S=y,i=S>>2,M=m}else{var P=g,D=Me[t+(s+6)],L=Me[t+(s+3)],F=(0|L)==(0|P);do if(F){var X=A+(r+20)|0,j=Se[X>>2];if(0==(0|j)){var U=A+(r+16)|0,x=Se[U>>2];if(0==(0|x)){var z=0,e=z>>2;break}var V=U,B=x}else{var V=X,B=j;_=21}for(;;){var B,V,H=B+20|0,K=Se[H>>2];if(0==(0|K)){var Y=B+16|0,G=Me[Y>>2];if(0==(0|G))break;var V=Y,B=G}else var V=H,B=K}if(V>>>0<b>>>0)throw Ka(),"Reached an unreachable!";Se[V>>2]=0;var z=B,e=z>>2}else{var W=Me[t+(s+2)];if(W>>>0<b>>>0)throw Ka(),"Reached an unreachable!";Se[W+12>>2]=L,Se[L+8>>2]=W;var z=L,e=z>>2}while(0);var z;if(0==(0|D)){var S=y,i=S>>2,M=m;break}var Z=A+(r+28)|0,Q=(Se[Z>>2]<<2)+vi+304|0,q=(0|P)==(0|Se[Q>>2]);do{if(q){if(Se[Q>>2]=z,0!=(0|z))break;var $=Se[vi+4>>2]&(1<<Se[Z>>2]^-1);Se[vi+4>>2]=$;var S=y,i=S>>2,M=m;break e}if(D>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var J=D+16|0;if((0|Se[J>>2])==(0|P)?Se[J>>2]=z:Se[D+20>>2]=z,0==(0|z)){var S=y,i=S>>2,M=m;break e}}while(0);if(z>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+6]=D;var rr=Me[t+(s+4)];if(0!=(0|rr)){if(rr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+4]=rr,Se[rr+24>>2]=z}var ar=Me[t+(s+5)];if(0==(0|ar)){var S=y,i=S>>2,M=m;break}if(ar>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+5]=ar,Se[ar+24>>2]=z;var S=y,i=S>>2,M=m}}else var S=l,i=S>>2,M=h;while(0);var M,S,er=S;if(er>>>0>=d>>>0)break;var ir=r+(h-4)|0,vr=Me[ir>>2];if(0==(1&vr|0))break;var tr=0==(2&vr|0);do{if(tr){if((0|w)==(0|Se[vi+24>>2])){var fr=Se[vi+12>>2]+M|0;Se[vi+12>>2]=fr,Se[vi+24>>2]=S;var _r=1|fr;if(Se[i+1]=_r,(0|S)==(0|Se[vi+20>>2])&&(Se[vi+20>>2]=0,Se[vi+8>>2]=0),fr>>>0<=Me[vi+28>>2]>>>0)break r;ia(0);break r}if((0|w)==(0|Se[vi+20>>2])){var sr=Se[vi+8>>2]+M|0;Se[vi+8>>2]=sr,Se[vi+20>>2]=S;var nr=1|sr;Se[i+1]=nr;var or=er+sr|0;Se[or>>2]=sr;break r}var lr=(vr&-8)+M|0,br=vr>>>3,kr=vr>>>0<256;e:do if(kr){var ur=Me[s+f],cr=Me[((4|h)>>2)+s];if((0|ur)!=(0|cr)){var hr=((vr>>>2&1073741822)<<2)+vi+40|0,dr=(0|ur)==(0|hr);do{if(!dr){if(ur>>>0<Me[vi+16>>2]>>>0){_=66;break}_=63;break}_=63}while(0);do if(63==_){if((0|cr)!=(0|hr)&&cr>>>0<Me[vi+16>>2]>>>0)break;Se[ur+12>>2]=cr,Se[cr+8>>2]=ur;break e}while(0);throw Ka(),"Reached an unreachable!"}var wr=Se[vi>>2]&(1<<br^-1);Se[vi>>2]=wr}else{var pr=d,Er=Me[f+(s+4)],Ar=Me[((4|h)>>2)+s],gr=(0|Ar)==(0|pr);do if(gr){var yr=h+(r+12)|0,mr=Se[yr>>2];if(0==(0|mr)){var Sr=h+(r+8)|0,Mr=Se[Sr>>2];if(0==(0|Mr)){var Cr=0,a=Cr>>2;break}var Rr=Sr,Tr=Mr}else{var Rr=yr,Tr=mr;_=73}for(;;){var Tr,Rr,Or=Tr+20|0,Nr=Se[Or>>2];if(0==(0|Nr)){var Ir=Tr+16|0,Pr=Me[Ir>>2];if(0==(0|Pr))break;var Rr=Ir,Tr=Pr}else var Rr=Or,Tr=Nr}if(Rr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Rr>>2]=0;var Cr=Tr,a=Cr>>2}else{var Dr=Me[s+f];if(Dr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Dr+12>>2]=Ar,\nSe[Ar+8>>2]=Dr;var Cr=Ar,a=Cr>>2}while(0);var Cr;if(0==(0|Er))break;var Lr=h+(r+20)|0,Fr=(Se[Lr>>2]<<2)+vi+304|0,Xr=(0|pr)==(0|Se[Fr>>2]);do{if(Xr){if(Se[Fr>>2]=Cr,0!=(0|Cr))break;var jr=Se[vi+4>>2]&(1<<Se[Lr>>2]^-1);Se[vi+4>>2]=jr;break e}if(Er>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var Ur=Er+16|0;if((0|Se[Ur>>2])==(0|pr)?Se[Ur>>2]=Cr:Se[Er+20>>2]=Cr,0==(0|Cr))break e}while(0);if(Cr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=Er;var xr=Me[f+(s+2)];if(0!=(0|xr)){if(xr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=xr,Se[xr+24>>2]=Cr}var zr=Me[f+(s+3)];if(0==(0|zr))break;if(zr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=zr,Se[zr+24>>2]=Cr}while(0);if(Se[i+1]=1|lr,Se[er+lr>>2]=lr,(0|S)!=(0|Se[vi+20>>2])){var Vr=lr;break}Se[vi+8>>2]=lr;break r}Se[ir>>2]=vr&-2,Se[i+1]=1|M,Se[er+M>>2]=M;var Vr=M}while(0);var Vr;if(Vr>>>0<256){var Br=Vr>>>2&1073741822,Hr=(Br<<2)+vi+40|0,Kr=Me[vi>>2],Yr=1<<(Vr>>>3),Gr=0==(Kr&Yr|0);do{if(!Gr){var Wr=(Br+2<<2)+vi+40|0,Zr=Me[Wr>>2];if(Zr>>>0>=Me[vi+16>>2]>>>0){var Qr=Zr,qr=Wr;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Kr|Yr;var Qr=Hr,qr=(Br+2<<2)+vi+40|0}while(0);var qr,Qr;Se[qr>>2]=S,Se[Qr+12>>2]=S,Se[i+2]=Qr,Se[i+3]=Hr;break r}var $r=S,Jr=Vr>>>8,ra=0==(0|Jr);do if(ra)var aa=0;else{if(Vr>>>0>16777215){var aa=31;break}var ea=(Jr+1048320|0)>>>16&8,va=Jr<<ea,fa=(va+520192|0)>>>16&4,_a=va<<fa,sa=(_a+245760|0)>>>16&2,na=14-(fa|ea|sa)+(_a<<sa>>>15)|0,aa=Vr>>>((na+7|0)>>>0)&1|na<<1}while(0);var aa,oa=(aa<<2)+vi+304|0;Se[i+7]=aa,Se[i+5]=0,Se[i+4]=0;var la=Se[vi+4>>2],ba=1<<aa,ka=0==(la&ba|0);e:do if(ka){var ua=la|ba;Se[vi+4>>2]=ua,Se[oa>>2]=$r,Se[i+6]=oa,Se[i+3]=S,Se[i+2]=S}else{if(31==(0|aa))var ca=0;else var ca=25-(aa>>>1)|0;for(var ca,ha=Vr<<ca,da=Se[oa>>2];;){var da,ha;if((Se[da+4>>2]&-8|0)==(0|Vr)){var wa=da+8|0,pa=Me[wa>>2],Ea=Me[vi+16>>2],Aa=da>>>0<Ea>>>0;do if(!Aa){if(pa>>>0<Ea>>>0)break;Se[pa+12>>2]=$r,Se[wa>>2]=$r,Se[i+2]=pa,Se[i+3]=da,Se[i+6]=0;break e}while(0);throw Ka(),"Reached an unreachable!"}var ga=(ha>>>31<<2)+da+16|0,ya=Me[ga>>2];if(0==(0|ya)){if(ga>>>0>=Me[vi+16>>2]>>>0){Se[ga>>2]=$r,Se[i+6]=da,Se[i+3]=S,Se[i+2]=S;break e}throw Ka(),"Reached an unreachable!"}var ha=ha<<1,da=ya}}while(0);var ma=Se[vi+32>>2]-1|0;if(Se[vi+32>>2]=ma,0!=(0|ma))break r;ta();break r}while(0);throw Ka(),"Reached an unreachable!"}while(0)}function ta(){var r=Se[vi+452>>2],a=0==(0|r);r:do if(!a)for(var e=r;;){var e,i=Se[e+8>>2];if(0==(0|i))break r;var e=i}while(0);Se[vi+32>>2]=-1}function fa(r,a){if(0==(0|r))var e=Jr(a),i=e;else var v=la(r,a),i=v;var i;return i}function _a(r,a){var e,i=r>>>0<9;do if(i)var v=Jr(a),t=v;else{var f=r>>>0<16?16:r,_=0==(f-1&f|0);r:do if(_)var s=f;else{if(f>>>0<=16){var s=16;break}for(var n=16;;){var n,o=n<<1;if(o>>>0>=f>>>0){var s=o;break r}var n=o}}while(0);var s;if((-64-s|0)>>>0>a>>>0){if(a>>>0<11)var l=16;else var l=a+11&-8;var l,b=Jr(l+(s+12)|0);if(0==(0|b)){var t=0;break}var k=b-8|0;if(0==((b>>>0)%(s>>>0)|0))var u=k,c=0;else{var h=b+(s-1)&-s,d=h-8|0,w=k;if((d-w|0)>>>0>15)var p=d;else var p=h+(s-8)|0;var p,E=p-w|0,e=(b-4|0)>>2,A=Se[e],g=(A&-8)-E|0;if(0==(3&A|0)){var y=Se[k>>2]+E|0;Se[p>>2]=y,Se[p+4>>2]=g;var u=p,c=0}else{var m=p+4|0,S=g|1&Se[m>>2]|2;Se[m>>2]=S;var M=g+(p+4)|0,C=1|Se[M>>2];Se[M>>2]=C;var R=E|1&Se[e]|2;Se[e]=R;var T=b+(E-4)|0,O=1|Se[T>>2];Se[T>>2]=O;var u=p,c=b}}var c,u,N=u+4|0,I=Me[N>>2],P=0==(3&I|0);do if(P)var D=0;else{var L=I&-8;if(L>>>0<=(l+16|0)>>>0){var D=0;break}var F=L-l|0;Se[N>>2]=l|1&I|2,Se[u+(4|l)>>2]=3|F;var X=u+(4|L)|0,j=1|Se[X>>2];Se[X>>2]=j;var D=l+(u+8)|0}while(0);var D;0!=(0|c)&&va(c),0!=(0|D)&&va(D);var t=u+8|0}else{var U=Je();Se[U>>2]=12;var t=0}}while(0);var t;return t}function sa(r,a,e,i){var v,t;0==(0|Se[ti>>2])&&ba();var f=0==(0|i),_=0==(0|r);do{if(f){if(_){var s=Jr(0),n=s;t=30;break}var o=r<<2;if(o>>>0<11){var l=0,b=16;t=9;break}var l=0,b=o+11&-8;t=9;break}if(_){var n=i;t=30;break}var l=i,b=0;t=9;break}while(0);do if(9==t){var b,l,k=0==(1&e|0);r:do if(k){if(_){var u=0,c=0;break}for(var h=0,d=0;;){var d,h,w=Me[a+(d<<2)>>2];if(w>>>0<11)var p=16;else var p=w+11&-8;var p,E=p+h|0,A=d+1|0;if((0|A)==(0|r)){var u=0,c=E;break r}var h=E,d=A}}else{var g=Me[a>>2];if(g>>>0<11)var y=16;else var y=g+11&-8;var y,u=y,c=y*r|0}while(0);var c,u,m=Jr(b-4+c|0);if(0==(0|m)){var n=0;break}var S=m-8|0,M=Se[m-4>>2]&-8;if(0!=(2&e|0)){var C=-4-b+M|0;Fa(m,0,C,1)}if(0==(0|l)){var R=m+c|0,T=M-c|3;Se[m+(c-4)>>2]=T;var O=R,v=O>>2,N=c}else var O=l,v=O>>2,N=M;var N,O;Se[v]=m;var I=r-1|0,P=0==(0|I);r:do if(P)var D=S,L=N;else if(0==(0|u))for(var F=S,X=N,j=0;;){var j,X,F,U=Me[a+(j<<2)>>2];if(U>>>0<11)var x=16;else var x=U+11&-8;var x,z=X-x|0;Se[F+4>>2]=3|x;var V=F+x|0,B=j+1|0;if(Se[(B<<2>>2)+v]=x+(F+8)|0,(0|B)==(0|I)){var D=V,L=z;break r}var F=V,X=z,j=B}else for(var H=3|u,K=u+8|0,Y=S,G=N,W=0;;){var W,G,Y,Z=G-u|0;Se[Y+4>>2]=H;var Q=Y+u|0,q=W+1|0;if(Se[(q<<2>>2)+v]=Y+K|0,(0|q)==(0|I)){var D=Q,L=Z;break r}var Y=Q,G=Z,W=q}while(0);var L,D;Se[D+4>>2]=3|L;var n=O}while(0);var n;return n}function na(r){var a=r>>2;0==(0|Se[ti>>2])&&ba();var e=Me[vi+24>>2];if(0==(0|e))var i=0,v=0,t=0,f=0,_=0,s=0,n=0;else{for(var o=Me[vi+12>>2],l=o+40|0,b=vi+444|0,k=l,u=l,c=1;;){var c,u,k,b,h=Me[b>>2],d=h+8|0;if(0==(7&d|0))var w=0;else var w=7&-d;for(var w,p=b+4|0,E=h+w|0,A=c,g=u,y=k;;){var y,g,A,E;if(E>>>0<h>>>0)break;if(E>>>0>=(h+Se[p>>2]|0)>>>0|(0|E)==(0|e))break;var m=Se[E+4>>2];if(7==(0|m))break;var S=m&-8,M=S+y|0;if(1==(3&m|0))var C=A+1|0,R=S+g|0;else var C=A,R=g;var R,C,E=E+S|0,A=C,g=R,y=M}var T=Me[b+8>>2];if(0==(0|T))break;var b=T,k=y,u=g,c=A}var O=Se[vi+432>>2],i=y,v=A,t=o,f=g,_=O-y|0,s=Se[vi+436>>2],n=O-g|0}var n,s,_,f,t,v,i;Se[a]=i,Se[a+1]=v,Se[a+2]=0,Se[a+3]=0,Se[a+4]=_,Se[a+5]=s,Se[a+6]=0,Se[a+7]=n,Se[a+8]=f,Se[a+9]=t}function oa(){0==(0|Se[ti>>2])&&ba();var r=Me[vi+24>>2],a=0==(0|r);r:do if(a)var e=0,i=0,v=0;else for(var t=Se[vi+436>>2],f=Me[vi+432>>2],_=vi+444|0,s=f-40-Se[vi+12>>2]|0;;){var s,_,n=Me[_>>2],o=n+8|0;if(0==(7&o|0))var l=0;else var l=7&-o;for(var l,b=_+4|0,k=n+l|0,u=s;;){var u,k;if(k>>>0<n>>>0)break;if(k>>>0>=(n+Se[b>>2]|0)>>>0|(0|k)==(0|r))break;var c=Se[k+4>>2];if(7==(0|c))break;var h=c&-8,d=1==(3&c|0)?h:0,w=u-d|0,k=k+h|0,u=w}var p=Me[_+8>>2];if(0==(0|p)){var e=t,i=f,v=u;break r}var _=p,s=u}while(0);var v,i,e,E=Se[Se[qe>>2]+12>>2],A=(Qa(E,0|He.__str339,(ne=Oe,Oe+=4,Se[ne>>2]=e,ne)),Se[Se[qe>>2]+12>>2]),g=(Qa(A,0|He.__str1340,(ne=Oe,Oe+=4,Se[ne>>2]=i,ne)),Se[Se[qe>>2]+12>>2]);Qa(g,0|He.__str2341,(ne=Oe,Oe+=4,Se[ne>>2]=v,ne))}function la(r,a){var e,i,v,t=a>>>0>4294967231;r:do{if(!t){var f=r-8|0,_=f,i=(r-4|0)>>2,s=Me[i],n=s&-8,o=n-8|0,l=r+o|0,b=f>>>0<Me[vi+16>>2]>>>0;do if(!b){var k=3&s;if(!(1!=(0|k)&(0|o)>-8))break;var e=(r+(n-4)|0)>>2;if(0==(1&Se[e]|0))break;if(a>>>0<11)var u=16;else var u=a+11&-8;var u,c=0==(0|k);do{if(c){var h=ka(_,u),d=0,w=h;v=17;break}if(n>>>0<u>>>0){if((0|l)!=(0|Se[vi+24>>2])){v=21;break}var p=Se[vi+12>>2]+n|0;if(p>>>0<=u>>>0){v=21;break}var E=p-u|0,A=r+(u-8)|0;Se[i]=u|1&s|2;var g=1|E;Se[r+(u-4)>>2]=g,Se[vi+24>>2]=A,Se[vi+12>>2]=E;var d=0,w=_;v=17;break}var y=n-u|0;if(y>>>0<=15){var d=0,w=_;v=17;break}Se[i]=u|1&s|2,Se[r+(u-4)>>2]=3|y;var m=1|Se[e];Se[e]=m;var d=r+u|0,w=_;v=17;break}while(0);do if(17==v){var w,d;if(0==(0|w))break;0!=(0|d)&&va(d);var S=w+8|0;break r}while(0);var M=Jr(a);if(0==(0|M)){var S=0;break r}var C=0==(3&Se[i]|0)?8:4,R=n-C|0,T=R>>>0<a>>>0?R:a;Pa(M,r,T,1),va(r);var S=M;break r}while(0);throw Ka(),"Reached an unreachable!"}var O=Je();Se[O>>2]=12;var S=0}while(0);var S;return S}function ba(){if(0==(0|Se[ti>>2])){var r=qa(8);if(0!=(r-1&r|0))throw Ka(),"Reached an unreachable!";Se[ti+8>>2]=r,Se[ti+4>>2]=r,Se[ti+12>>2]=-1,Se[ti+16>>2]=2097152,Se[ti+20>>2]=0,Se[vi+440>>2]=0;var a=$a(0);Se[ti>>2]=a&-16^1431655768}}function ka(r,a){var e=Se[r+4>>2]&-8,i=a>>>0<256;do if(i)var v=0;else{if(e>>>0>=(a+4|0)>>>0&&(e-a|0)>>>0<=Se[ti+8>>2]<<1>>>0){var v=r;break}var v=0}while(0);var v;return v}function ua(r){for(var a,e=vi+444|0,a=e>>2;;){var e,i=Me[a];if(i>>>0<=r>>>0&&(i+Se[a+1]|0)>>>0>r>>>0){var v=e;break}var t=Me[a+2];if(0==(0|t)){var v=0;break}var e=t,a=e>>2}var v;return v}function ca(r,a){var e=r,i=r+8|0;if(0==(7&i|0))var v=0;else var v=7&-i;var v,t=a-v|0;Se[vi+24>>2]=e+v|0,Se[vi+12>>2]=t,Se[v+(e+4)>>2]=1|t,Se[a+(e+4)>>2]=40;var f=Se[ti+16>>2];Se[vi+28>>2]=f}function ha(){for(var r=0;;){var r,a=r<<1,e=(a<<2)+vi+40|0;Se[vi+(a+3<<2)+40>>2]=e,Se[vi+(a+2<<2)+40>>2]=e;var i=r+1|0;if(32==(0|i))break;var r=i}}function da(r,a,e){var i,v,t,f,_=a>>2,s=r>>2,n=r+8|0;if(0==(7&n|0))var o=0;else var o=7&-n;var o,l=a+8|0;if(0==(7&l|0))var b=0,t=b>>2;else var b=7&-l,t=b>>2;var b,k=a+b|0,u=k,c=o+e|0,v=c>>2,h=r+c|0,d=h,w=k-(r+o)-e|0;Se[(o+4>>2)+s]=3|e;var p=(0|u)==(0|Se[vi+24>>2]);r:do if(p){var E=Se[vi+12>>2]+w|0;Se[vi+12>>2]=E,Se[vi+24>>2]=d;var A=1|E;Se[v+(s+1)]=A}else if((0|u)==(0|Se[vi+20>>2])){var g=Se[vi+8>>2]+w|0;Se[vi+8>>2]=g,Se[vi+20>>2]=d;var y=1|g;Se[v+(s+1)]=y;var m=r+g+c|0;Se[m>>2]=g}else{var S=Me[t+(_+1)];if(1==(3&S|0)){var M=S&-8,C=S>>>3,R=S>>>0<256;a:do if(R){var T=Me[((8|b)>>2)+_],O=Me[t+(_+3)];if((0|T)!=(0|O)){var N=((S>>>2&1073741822)<<2)+vi+40|0,I=(0|T)==(0|N);do{if(!I){if(T>>>0<Me[vi+16>>2]>>>0){f=18;break}f=15;break}f=15}while(0);do if(15==f){if((0|O)!=(0|N)&&O>>>0<Me[vi+16>>2]>>>0)break;Se[T+12>>2]=O,Se[O+8>>2]=T;break a}while(0);throw Ka(),"Reached an unreachable!"}var P=Se[vi>>2]&(1<<C^-1);Se[vi>>2]=P}else{var D=k,L=Me[((24|b)>>2)+_],F=Me[t+(_+3)],X=(0|F)==(0|D);do if(X){var j=16|b,U=j+(a+4)|0,x=Se[U>>2];if(0==(0|x)){var z=a+j|0,V=Se[z>>2];if(0==(0|V)){var B=0,i=B>>2;break}var H=z,K=V}else{var H=U,K=x;f=25}for(;;){var K,H,Y=K+20|0,G=Se[Y>>2];if(0==(0|G)){var W=K+16|0,Z=Me[W>>2];if(0==(0|Z))break;var H=W,K=Z}else var H=Y,K=G}if(H>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[H>>2]=0;var B=K,i=B>>2}else{var Q=Me[((8|b)>>2)+_];if(Q>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Q+12>>2]=F,Se[F+8>>2]=Q;var B=F,i=B>>2}while(0);var B;if(0==(0|L))break;var q=b+(a+28)|0,$=(Se[q>>2]<<2)+vi+304|0,J=(0|D)==(0|Se[$>>2]);do{if(J){if(Se[$>>2]=B,0!=(0|B))break;var rr=Se[vi+4>>2]&(1<<Se[q>>2]^-1);Se[vi+4>>2]=rr;break a}if(L>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var ar=L+16|0;if((0|Se[ar>>2])==(0|D)?Se[ar>>2]=B:Se[L+20>>2]=B,0==(0|B))break a}while(0);if(B>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+6]=L;var er=16|b,ir=Me[(er>>2)+_];if(0!=(0|ir)){if(ir>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+4]=ir,Se[ir+24>>2]=B}var vr=Me[(er+4>>2)+_];if(0==(0|vr))break;if(vr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+5]=vr,Se[vr+24>>2]=B}while(0);var tr=a+(M|b)|0,fr=M+w|0}else var tr=u,fr=w;var fr,tr,_r=tr+4|0,sr=Se[_r>>2]&-2;if(Se[_r>>2]=sr,Se[v+(s+1)]=1|fr,Se[(fr>>2)+s+v]=fr,fr>>>0<256){var nr=fr>>>2&1073741822,or=(nr<<2)+vi+40|0,lr=Me[vi>>2],br=1<<(fr>>>3),kr=0==(lr&br|0);do{if(!kr){var ur=(nr+2<<2)+vi+40|0,cr=Me[ur>>2];if(cr>>>0>=Me[vi+16>>2]>>>0){var hr=cr,dr=ur;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=lr|br;var hr=or,dr=(nr+2<<2)+vi+40|0}while(0);var dr,hr;Se[dr>>2]=d,Se[hr+12>>2]=d,Se[v+(s+2)]=hr,Se[v+(s+3)]=or}else{var wr=h,pr=fr>>>8,Er=0==(0|pr);do if(Er)var Ar=0;else{if(fr>>>0>16777215){var Ar=31;break}var gr=(pr+1048320|0)>>>16&8,yr=pr<<gr,mr=(yr+520192|0)>>>16&4,Sr=yr<<mr,Mr=(Sr+245760|0)>>>16&2,Cr=14-(mr|gr|Mr)+(Sr<<Mr>>>15)|0,Ar=fr>>>((Cr+7|0)>>>0)&1|Cr<<1}while(0);var Ar,Rr=(Ar<<2)+vi+304|0;Se[v+(s+7)]=Ar;var Tr=c+(r+16)|0;Se[v+(s+5)]=0,Se[Tr>>2]=0;var Or=Se[vi+4>>2],Nr=1<<Ar;if(0==(Or&Nr|0)){var Ir=Or|Nr;Se[vi+4>>2]=Ir,Se[Rr>>2]=wr,Se[v+(s+6)]=Rr,Se[v+(s+3)]=wr,Se[v+(s+2)]=wr}else{if(31==(0|Ar))var Pr=0;else var Pr=25-(Ar>>>1)|0;for(var Pr,Dr=fr<<Pr,Lr=Se[Rr>>2];;){var Lr,Dr;if((Se[Lr+4>>2]&-8|0)==(0|fr)){var Fr=Lr+8|0,Xr=Me[Fr>>2],jr=Me[vi+16>>2],Ur=Lr>>>0<jr>>>0;do if(!Ur){if(Xr>>>0<jr>>>0)break;Se[Xr+12>>2]=wr,Se[Fr>>2]=wr,Se[v+(s+2)]=Xr,Se[v+(s+3)]=Lr,Se[v+(s+6)]=0;break r}while(0);throw Ka(),"Reached an unreachable!"}var xr=(Dr>>>31<<2)+Lr+16|0,zr=Me[xr>>2];if(0==(0|zr)){if(xr>>>0>=Me[vi+16>>2]>>>0){Se[xr>>2]=wr,Se[v+(s+6)]=Lr,Se[v+(s+3)]=wr,Se[v+(s+2)]=wr;break r}throw Ka(),"Reached an unreachable!"}var Dr=Dr<<1,Lr=zr}}}}while(0);return r+(8|o)|0}function wa(r){return 0|He.__str3342}function pa(r){return 0|He.__str14343}function Ea(r){Se[r>>2]=si+8|0}function Aa(r){0!=(0|r)&&va(r)}function ga(r){ya(r);var a=r;Aa(a)}function ya(r){var a=0|r;Ye(a)}function ma(r){var a=0|r;Ea(a),Se[r>>2]=ni+8|0}function Sa(r){var a=0|r;ya(a);var e=r;Aa(e)}function Ma(r,a){var e,i,v=Me[vi+24>>2],i=v>>2,t=v,f=ua(t),_=Se[f>>2],s=Se[f+4>>2],n=_+s|0,o=_+(s-39)|0;if(0==(7&o|0))var l=0;else var l=7&-o;var l,b=_+(s-47)+l|0,k=b>>>0<(v+16|0)>>>0?t:b,u=k+8|0,e=u>>2,c=u,h=r,d=a-40|0;ca(h,d);var w=k+4|0;Se[w>>2]=27,Se[e]=Se[vi+444>>2],Se[e+1]=Se[vi+448>>2],Se[e+2]=Se[vi+452>>2],Se[e+3]=Se[vi+456>>2],Se[vi+444>>2]=r,Se[vi+448>>2]=a,Se[vi+456>>2]=0,Se[vi+452>>2]=c;var p=k+28|0;Se[p>>2]=7;var E=(k+32|0)>>>0<n>>>0;r:do if(E)for(var A=p;;){var A,g=A+4|0;if(Se[g>>2]=7,(A+8|0)>>>0>=n>>>0)break r;var A=g}while(0);var y=(0|k)==(0|t);r:do if(!y){var m=k-v|0,S=t+m|0,M=m+(t+4)|0,C=Se[M>>2]&-2;Se[M>>2]=C;var R=1|m;Se[i+1]=R;var T=S;if(Se[T>>2]=m,m>>>0<256){var O=m>>>2&1073741822,N=(O<<2)+vi+40|0,I=Me[vi>>2],P=1<<(m>>>3),D=0==(I&P|0);do{if(!D){var L=(O+2<<2)+vi+40|0,F=Me[L>>2];if(F>>>0>=Me[vi+16>>2]>>>0){var X=F,j=L;break}throw Ka(),"Reached an unreachable!"}var U=I|P;Se[vi>>2]=U;var X=N,j=(O+2<<2)+vi+40|0}while(0);var j,X;Se[j>>2]=v,Se[X+12>>2]=v,Se[i+2]=X,Se[i+3]=N}else{var x=v,z=m>>>8,V=0==(0|z);do if(V)var B=0;else{if(m>>>0>16777215){var B=31;break}var H=(z+1048320|0)>>>16&8,K=z<<H,Y=(K+520192|0)>>>16&4,G=K<<Y,W=(G+245760|0)>>>16&2,Z=14-(Y|H|W)+(G<<W>>>15)|0,B=m>>>((Z+7|0)>>>0)&1|Z<<1}while(0);var B,Q=(B<<2)+vi+304|0;Se[i+7]=B,Se[i+5]=0,Se[i+4]=0;var q=Se[vi+4>>2],$=1<<B;if(0==(q&$|0)){var J=q|$;Se[vi+4>>2]=J,Se[Q>>2]=x,Se[i+6]=Q,Se[i+3]=v,Se[i+2]=v}else{if(31==(0|B))var rr=0;else var rr=25-(B>>>1)|0;for(var rr,ar=m<<rr,er=Se[Q>>2];;){var er,ar;if((Se[er+4>>2]&-8|0)==(0|m)){var ir=er+8|0,vr=Me[ir>>2],tr=Me[vi+16>>2],fr=er>>>0<tr>>>0;do if(!fr){if(vr>>>0<tr>>>0)break;Se[vr+12>>2]=x,Se[ir>>2]=x,Se[i+2]=vr,Se[i+3]=er,Se[i+6]=0;break r}while(0);throw Ka(),"Reached an unreachable!"}var _r=(ar>>>31<<2)+er+16|0,sr=Me[_r>>2];if(0==(0|sr)){if(_r>>>0>=Me[vi+16>>2]>>>0){Se[_r>>2]=x,Se[i+6]=er,Se[i+3]=v,Se[i+2]=v;break r}throw Ka(),"Reached an unreachable!"}var ar=ar<<1,er=sr}}}}while(0)}function Ca(r){return d(r)}function Ra(r,a){var e=0;do Ae[r+e]=Ae[a+e],e++;while(0!=Ae[a+e-1]);return r}function Ta(){var r=Ta;return r.LLVM_SAVEDSTACKS||(r.LLVM_SAVEDSTACKS=[]),r.LLVM_SAVEDSTACKS.push(le.stackSave()),r.LLVM_SAVEDSTACKS.length-1}function Oa(r){var a=Ta,e=a.LLVM_SAVEDSTACKS[r];a.LLVM_SAVEDSTACKS.splice(r,1),le.stackRestore(e)}function Na(r,a,e){for(var i=0;i<e;){var v=Ae[r+i],t=Ae[a+i];if(v==t&&0==v)return 0;if(0==v)return-1;if(0==t)return 1;if(v!=t)return v>t?1:-1;i++}return 0}function Ia(r,a){var e=Ca(r),i=0;do Ae[r+e+i]=Ae[a+i],i++;while(0!=Ae[a+i-1]);return r}function Pa(r,a,e,i){if(e>=20&&a%2==r%2)if(a%4==r%4){for(var v=a+e;a%4;)Ae[r++]=Ae[a++];for(var t=a>>2,f=r>>2,_=v>>2;t<_;)Se[f++]=Se[t++];for(a=t<<2,r=f<<2;a<v;)Ae[r++]=Ae[a++]}else{var v=a+e;a%2&&(Ae[r++]=Ae[a++]);for(var s=a>>1,n=r>>1,o=v>>1;s<o;)ye[n++]=ye[s++];a=s<<1,r=n<<1,a<v&&(Ae[r++]=Ae[a++])}else for(;e--;)Ae[r++]=Ae[a++]}function Da(r,a){return Na(r,a,Le)}function La(r,a,e){for(var i=0;i<e;i++){var v=Ae[r+i],t=Ae[a+i];if(v!=t)return v>t?1:-1}return 0}function Fa(r,a,e,i){if(e>=20){for(var v=r+e;r%4;)Ae[r++]=a;a<0&&(a+=256);for(var t=r>>2,f=v>>2,_=a|a<<8|a<<16|a<<24;t<f;)Se[t++]=_;for(r=t<<2;r<v;)Ae[r++]=a}else for(;e--;)Ae[r++]=a}function Xa(r,a,e,i){throw"Assertion failed: "+s(i)+", at: "+[s(r),a,s(e)]}function ja(r){var a=d(r),e=Jr(a+1);return Pa(e,r,a,1),Ae[e+a]=0,e}function Ua(r,a){function e(r){var e;return"double"===r?(xe[0]=Se[a+_>>2],xe[1]=Se[a+_+4>>2],e=ze[0]):"i64"==r?e=[Se[a+_>>2],Se[a+_+4>>2]]:(r="i32",e=Se[a+_>>2]),_+=le.getNativeFieldSize(r),e}for(var i,v,t,f=r,_=0,s=[];;){var n=f;if(i=Ae[f],0===i)break;if(v=Ae[f+1],i=="%".charCodeAt(0)){var o=!1,l=!1,b=!1,k=!1;r:for(;;){switch(v){case"+".charCodeAt(0):o=!0;break;case"-".charCodeAt(0):l=!0;break;case"#".charCodeAt(0):b=!0;break;case"0".charCodeAt(0):if(k)break r;k=!0;break;default:break r}f++,v=Ae[f+1]}var u=0;if(v=="*".charCodeAt(0))u=e("i32"),f++,v=Ae[f+1];else for(;v>="0".charCodeAt(0)&&v<="9".charCodeAt(0);)u=10*u+(v-"0".charCodeAt(0)),f++,v=Ae[f+1];var c=!1;if(v==".".charCodeAt(0)){var h=0;if(c=!0,f++,v=Ae[f+1],v=="*".charCodeAt(0))h=e("i32"),f++;else for(;;){var d=Ae[f+1];if(d<"0".charCodeAt(0)||d>"9".charCodeAt(0))break;h=10*h+(d-"0".charCodeAt(0)),f++}v=Ae[f+1]}else var h=6;var E;switch(String.fromCharCode(v)){case"h":var A=Ae[f+2];A=="h".charCodeAt(0)?(f++,E=1):E=2;break;case"l":var A=Ae[f+2];A=="l".charCodeAt(0)?(f++,E=8):E=4;break;case"L":case"q":case"j":E=8;break;case"z":case"t":case"I":E=4;break;default:E=null}if(E&&f++,v=Ae[f+1],["d","i","u","o","x","X","p"].indexOf(String.fromCharCode(v))!=-1){var m=v=="d".charCodeAt(0)||v=="i".charCodeAt(0);E=E||4;var t=e("i"+8*E);if(8==E&&(t=le.makeBigInt(t[0],t[1],v=="u".charCodeAt(0))),E<=4){var S=Math.pow(256,E)-1;t=(m?y:g)(t&S,8*E)}var M,C=Math.abs(t),R="";if(v=="d".charCodeAt(0)||v=="i".charCodeAt(0))M=y(t,8*E,1).toString(10);else if(v=="u".charCodeAt(0))M=g(t,8*E,1).toString(10),t=Math.abs(t);else if(v=="o".charCodeAt(0))M=(b?"0":"")+C.toString(8);else if(v=="x".charCodeAt(0)||v=="X".charCodeAt(0)){if(R=b?"0x":"",t<0){t=-t,M=(C-1).toString(16);for(var T=[],O=0;O<M.length;O++)T.push((15-parseInt(M[O],16)).toString(16));for(M=T.join("");M.length<2*E;)M="f"+M}else M=C.toString(16);v=="X".charCodeAt(0)&&(R=R.toUpperCase(),M=M.toUpperCase())}else v=="p".charCodeAt(0)&&(0===C?M="(nil)":(R="0x",M=C.toString(16)));if(c)for(;M.length<h;)M="0"+M;for(o&&(R=t<0?"-"+R:"+"+R);R.length+M.length<u;)l?M+=" ":k?M="0"+M:R=" "+R;M=R+M,M.split("").forEach(function(r){s.push(r.charCodeAt(0))})}else if(["f","F","e","E","g","G"].indexOf(String.fromCharCode(v))!=-1){var M,t=e("double");if(isNaN(t))M="nan",k=!1;else if(isFinite(t)){var N=!1,I=Math.min(h,20);if(v=="g".charCodeAt(0)||v=="G".charCodeAt(0)){N=!0,h=h||1;var P=parseInt(t.toExponential(I).split("e")[1],10);h>P&&P>=-4?(v=(v=="g".charCodeAt(0)?"f":"F").charCodeAt(0),h-=P+1):(v=(v=="g".charCodeAt(0)?"e":"E").charCodeAt(0),h--),I=Math.min(h,20)}v=="e".charCodeAt(0)||v=="E".charCodeAt(0)?(M=t.toExponential(I),/[eE][-+]\\d$/.test(M)&&(M=M.slice(0,-1)+"0"+M.slice(-1))):v!="f".charCodeAt(0)&&v!="F".charCodeAt(0)||(M=t.toFixed(I));var D=M.split("e");if(N&&!b)for(;D[0].length>1&&D[0].indexOf(".")!=-1&&("0"==D[0].slice(-1)||"."==D[0].slice(-1));)D[0]=D[0].slice(0,-1);else for(b&&M.indexOf(".")==-1&&(D[0]+=".");h>I++;)D[0]+="0";M=D[0]+(D.length>1?"e"+D[1]:""),v=="E".charCodeAt(0)&&(M=M.toUpperCase()),o&&t>=0&&(M="+"+M)}else M=(t<0?"-":"")+"inf",k=!1;for(;M.length<u;)l?M+=" ":M=!k||"-"!=M[0]&&"+"!=M[0]?(k?"0":" ")+M:M[0]+"0"+M.slice(1);v<"a".charCodeAt(0)&&(M=M.toUpperCase()),M.split("").forEach(function(r){s.push(r.charCodeAt(0))})}else if(v=="s".charCodeAt(0)){var L,F=e("i8*");if(F?(L=w(F),c&&L.length>h&&(L=L.slice(0,h))):L=p("(null)",!0),!l)for(;L.length<u--;)s.push(" ".charCodeAt(0));if(s=s.concat(L),l)for(;L.length<u--;)s.push(" ".charCodeAt(0))}else if(v=="c".charCodeAt(0)){for(l&&s.push(e("i8"));--u>0;)s.push(" ".charCodeAt(0));l||s.push(e("i8"))}else if(v=="n".charCodeAt(0)){var X=e("i32*");Se[X>>2]=s.length}else if(v=="%".charCodeAt(0))s.push(i);else for(var O=n;O<f+2;O++)s.push(Ae[O]);f+=2}else s.push(i),f+=1}return s}function xa(r,a,e,i){for(var v=Ua(e,i),t=void 0===a?v.length:Math.min(v.length,a-1),f=0;f<t;f++)Ae[r+f]=v[f];return Ae[r+f]=0,v.length}function za(r,a,e){return xa(r,void 0,a,e)}function Va(r){return r in{32:0,9:0,10:0,11:0,12:0,13:0}}function Ba(r){return r>="0".charCodeAt(0)&&r<="9".charCodeAt(0)}function Ha(r){for(var a;(a=Ae[r])&&Va(a);)r++;if(!a||!Ba(a))return 0;for(var e=r;(a=Ae[e])&&Ba(a);)e++;return Math.floor(Number(s(r).substr(0,e-r)))}function Ka(r){throw ke=!0,"ABORT: "+r+", at "+(new Error).stack}function Ya(r){return Ya.ret||(Ya.ret=_([0],"i32",we)),Se[Ya.ret>>2]=r,r}function Ga(r,a,e,i){var v=$e.streams[r];if(!v||v.object.isDevice)return Ya(Ge.EBADF),-1;if(v.isWrite){if(v.object.isFolder)return Ya(Ge.EISDIR),-1;if(e<0||i<0)return Ya(Ge.EINVAL),-1;for(var t=v.object.contents;t.length<i;)t.push(0);for(var f=0;f<e;f++)t[i+f]=ge[a+f];return v.object.timestamp=Date.now(),f}return Ya(Ge.EACCES),-1}function Wa(r,a,e){var i=$e.streams[r];if(i){if(i.isWrite){if(e<0)return Ya(Ge.EINVAL),-1;if(i.object.isDevice){if(i.object.output){for(var v=0;v<e;v++)try{i.object.output(Ae[a+v])}catch(r){return Ya(Ge.EIO),-1}return i.object.timestamp=Date.now(),v}return Ya(Ge.ENXIO),-1}var t=Ga(r,a,e,i.position);return t!=-1&&(i.position+=t),t}return Ya(Ge.EACCES),-1}return Ya(Ge.EBADF),-1}function Za(r,a,e,i){var v=e*a;if(0==v)return 0;var t=Wa(i,r,v);return t==-1?($e.streams[i]&&($e.streams[i].error=!0),-1):Math.floor(t/a)}function Qa(r,a,e){var i=Ua(a,e),v=le.stackSave(),t=Za(_(i,"i8",de),1,i.length,r);return le.stackRestore(v),t}function qa(r){switch(r){case 8:return Pe;case 54:case 56:case 21:case 61:case 63:case 22:case 67:case 23:case 24:case 25:case 26:case 27:case 69:case 28:case 101:case 70:case 71:case 29:case 30:case 199:case 75:case 76:case 32:case 43:case 44:case 80:case 46:case 47:case 45:case 48:case 49:case 42:case 82:case 33:case 7:case 108:case 109:case 107:case 112:case 119:case 121:return 200809;case 13:case 104:case 94:case 95:case 34:case 35:case 77:case 81:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 94:case 95:case 110:case 111:case 113:case 114:case 115:case 116:case 117:case 118:case 120:case 40:case 16:case 79:case 19:return-1;case 92:case 93:case 5:case 72:case 6:case 74:case 92:case 93:case 96:case 97:case 98:case 99:case 102:case 103:case 105:return 1;case 38:case 66:case 50:case 51:case 4:return 1024;case 15:case 64:case 41:return 32;case 55:case 37:case 17:return 2147483647;case 18:case 1:return 47839;case 59:case 57:return 99;case 68:case 58:return 2048;case 0:return 2097152;case 3:return 65536;case 14:return 32768;case 73:return 32767;case 39:return 16384;case 60:return 1e3;case 106:return 700;case 52:return 256;case 62:return 255;case 2:return 100;case 65:return 64;case 36:return 20;case 100:return 16;case 20:return 6;case 53:return 4}return Ya(Ge.EINVAL),-1}function $a(r){var a=Math.floor(Date.now()/1e3);return r&&(Se[r>>2]=a),a}function Ja(){return Ya.ret}function re(r){var a=re;a.called||(Ie=o(Ie),a.called=!0);var e=Ie;return 0!=r&&le.staticAlloc(r),e}function ae(){return Se[ae.buf>>2]}function ee(r){r=r||Module.arguments,k();var a=null;return Module._main&&(a=Module.callMain(r),Module.noExitRuntime||u()),a}var ie=[],ve=false,te="object"==typeof window,fe="function"==typeof importScripts,_e=!te&&!ve&&!fe;if(ve){print=function(r){process.stdout.write(r+"\\n")},printErr=function(r){process.stderr.write(r+"\\n")};var se=require("fs");read=function(r){var a=se.readFileSync(r).toString();return a||"/"==r[0]||(r=__dirname.split("/").slice(0,-1).join("/")+"/src/"+r,a=se.readFileSync(r).toString()),a},load=function(a){r(read(a))},ie=process.argv.slice(2)}else if(_e)this.read||(this.read=function(r){snarf(r)}),"undefined"!=typeof scriptArgs?ie=scriptArgs:"undefined"!=typeof arguments&&(ie=arguments);else if(te)this.print=printErr=function(r){console.log(r)},this.read=function(r){var a=new XMLHttpRequest;return a.open("GET",r,!1),a.send(null),a.responseText},this.arguments&&(ie=arguments);else{if(!fe)throw"Unknown runtime environment. Where are we?";this.load=importScripts}"undefined"==typeof load&&"undefined"!=typeof read&&(this.load=function(a){r(read(a))}),"undefined"==typeof printErr&&(this.printErr=function(){}),"undefined"==typeof print&&(this.print=printErr);try{this.Module=Module}catch(r){this.Module=Module={}}Module.arguments||(Module.arguments=ie),Module.print&&(print=Module.print);var ne,oe,le={stackSave:function(){return Oe},stackRestore:function(r){Oe=r},forceAlign:function(r,a){if(a=a||4,1==a)return r;if(isNumber(r)&&isNumber(a))return Math.ceil(r/a)*a;if(isNumber(a)&&isPowerOfTwo(a)){var e=log2(a);return"(((("+r+")+"+(a-1)+")>>"+e+")<<"+e+")"}return"Math.ceil(("+r+")/"+a+")*"+a},isNumberType:function(r){return r in le.INT_TYPES||r in le.FLOAT_TYPES},isPointerType:function(r){return"*"==r[r.length-1]},isStructType:function(r){return!isPointerType(r)&&(!!/^\\[\\d+\\ x\\ (.*)\\]/.test(r)||(!!/<?{ [^}]* }>?/.test(r)||"%"==r[0]))},INT_TYPES:{i1:0,i8:0,i16:0,i32:0,i64:0},FLOAT_TYPES:{float:0,double:0},bitshift64:function(r,e,i,v){var t=Math.pow(2,v)-1;if(v<32)switch(i){case"shl":return[r<<v,e<<v|(r&t<<32-v)>>>32-v];case"ashr":return[(r>>>v|(e&t)<<32-v)>>0>>>0,e>>v>>>0];case"lshr":return[(r>>>v|(e&t)<<32-v)>>>0,e>>>v]}else if(32==v)switch(i){case"shl":return[0,r];case"ashr":return[e,(0|e)<0?t:0];case"lshr":return[e,0]}else switch(i){case"shl":return[0,r<<v-32];case"ashr":return[e>>v-32>>>0,(0|e)<0?t:0];case"lshr":return[e>>>v-32,0]}a("unknown bitshift64 op: "+[value,i,v])},or64:function(r,a){var e=0|r|(0|a),i=4294967296*(Math.round(r/4294967296)|Math.round(a/4294967296));return e+i},and64:function(r,a){var e=(0|r)&(0|a),i=4294967296*(Math.round(r/4294967296)&Math.round(a/4294967296));return e+i},xor64:function(r,a){var e=(0|r)^(0|a),i=4294967296*(Math.round(r/4294967296)^Math.round(a/4294967296));return e+i},getNativeTypeSize:function(r,a){if(1==le.QUANTUM_SIZE)return 1;var i={"%i1":1,"%i8":1,"%i16":2,"%i32":4,"%i64":8,"%float":4,"%double":8}["%"+r];if(!i)if("*"==r[r.length-1])i=le.QUANTUM_SIZE;else if("i"==r[0]){var v=parseInt(r.substr(1));e(v%8==0),i=v/8}return i},getNativeFieldSize:function(r){return Math.max(le.getNativeTypeSize(r),le.QUANTUM_SIZE)},dedup:function(r,a){var e={};return a?r.filter(function(r){return!e[r[a]]&&(e[r[a]]=!0,!0)}):r.filter(function(r){return!e[r]&&(e[r]=!0,!0)})},set:function(){for(var r="object"==typeof arguments[0]?arguments[0]:arguments,a={},e=0;e<r.length;e++)a[r[e]]=0;return a},calculateStructAlignment:function(r){r.flatSize=0,r.alignSize=0;var a=[],e=-1;return r.flatIndexes=r.fields.map(function(i){var v,t;if(le.isNumberType(i)||le.isPointerType(i))v=le.getNativeTypeSize(i),t=v;else{if(!le.isStructType(i))throw"Unclear type in struct: "+i+", in "+r.name_+" :: "+dump(Types.types[r.name_]);v=Types.types[i].flatSize,t=Types.types[i].alignSize}t=r.packed?1:Math.min(t,le.QUANTUM_SIZE),r.alignSize=Math.max(r.alignSize,t);var f=le.alignMemory(r.flatSize,t);return r.flatSize=f+v,e>=0&&a.push(f-e),e=f,f}),r.flatSize=le.alignMemory(r.flatSize,r.alignSize),0==a.length?r.flatFactor=r.flatSize:1==le.dedup(a).length&&(r.flatFactor=a[0]),r.needsFlattening=1!=r.flatFactor,r.flatIndexes},generateStructInfo:function(r,a,i){var v,t;if(a){if(i=i||0,v=("undefined"==typeof Types?le.typeInfo:Types.types)[a],!v)return null;e(v.fields.length===r.length,"Number of named fields must match the type for "+a),t=v.flatIndexes}else{var v={fields:r.map(function(r){return r[0]})};t=le.calculateStructAlignment(v)}var f={__size__:v.flatSize};return a?r.forEach(function(r,a){if("string"==typeof r)f[r]=t[a]+i;else{var e;for(var _ in r)e=_;f[e]=le.generateStructInfo(r[e],v.fields[a],t[a])}}):r.forEach(function(r,a){f[r[1]]=t[a]}),f},stackAlloc:function(r){var a=Oe;return Oe+=r,Oe=Oe+3>>2<<2,a},staticAlloc:function(r){var a=Ie;return Ie+=r,Ie=Ie+3>>2<<2,Ie>=Le&&l(),a},alignMemory:function(r,a){var e=r=Math.ceil(r/(a?a:4))*(a?a:4);return e},makeBigInt:function(r,a,e){var i=e?(r>>>0)+4294967296*(a>>>0):(r>>>0)+4294967296*(0|a);return i},QUANTUM_SIZE:4,__dummy__:0},be={MAX_ALLOWED:0,corrections:0,sigs:{},note:function(r,e,i){e||(this.corrections++,this.corrections>=this.MAX_ALLOWED&&a("\\n\\nToo many corrections!"))},print:function(){}},ke=!1,ue=0,ce=this;Module.ccall=i,Module.setValue=t,Module.getValue=f;var he=0,de=1,we=2;Module.ALLOC_NORMAL=he,Module.ALLOC_STACK=de,Module.ALLOC_STATIC=we,Module.allocate=_,Module.Pointer_stringify=s,Module.Array_stringify=n;var pe,Ee,Ae,ge,ye,me,Se,Me,Ce,Re,Te,Oe,Ne,Ie,Pe=4096,De=Module.TOTAL_STACK||5242880,Le=Module.TOTAL_MEMORY||10485760;Module.FAST_MEMORY||2097152;e(!!(Int32Array&&Float64Array&&new Int32Array(1).subarray&&new Int32Array(1).set),"Cannot fallback to non-typed array case: Code is too specialized");var Fe=new ArrayBuffer(Le);Ae=new Int8Array(Fe),ye=new Int16Array(Fe),Se=new Int32Array(Fe),ge=new Uint8Array(Fe),me=new Uint16Array(Fe),Me=new Uint32Array(Fe),Ce=new Float32Array(Fe),Re=new Float64Array(Fe),Se[0]=255,e(255===ge[0]&&0===ge[3],"Typed arrays 2 must be run on a little-endian system");var Xe=p("(null)");Ie=Xe.length;for(var je=0;je<Xe.length;je++)Ae[je]=Xe[je];Module.HEAP=Ee,Module.HEAP8=Ae,Module.HEAP16=ye,Module.HEAP32=Se,Module.HEAPU8=ge,Module.HEAPU16=me,Module.HEAPU32=Me,Module.HEAPF32=Ce,Module.HEAPF64=Re,Te=Oe=le.alignMemory(Ie),Ne=Te+De;var Ue=le.alignMemory(Ne,8),xe=(Ae.subarray(Ue),Se.subarray(Ue>>2)),ze=(Ce.subarray(Ue>>2),Re.subarray(Ue>>3));Ne=Ue+8,Ie=o(Ne);var Ve=[],Be=[];Module.Array_copy=c,Module.TypedArray_copy=h,Module.String_len=d,Module.String_copy=w,Module.intArrayFromString=p,Module.intArrayToString=E,Module.writeStringToMemory=A;var He=[],Ke=0;O.X=1,N.X=1,V.X=1,H.X=1,G.X=1,W.X=1,q.X=1,$.X=1,rr.X=1,ar.X=1,er.X=1,vr.X=1,nr.X=1,or.X=1,kr.X=1,hr.X=1,Ar.X=1,Sr.X=1,Tr.X=1,Ir.X=1,Pr.X=1,Dr.X=1,Lr.X=1,Fr.X=1,Xr.X=1,zr.X=1,Vr.X=1,Br.X=1,Gr.X=1,$r.X=1,Module._malloc=Jr,Jr.X=1,ra.X=1,aa.X=1,ea.X=1,ia.X=1,Module._free=va,va.X=1,_a.X=1,sa.X=1,na.X=1,oa.X=1,la.X=1,da.X=1,Ma.X=1;var Ye,Ge={E2BIG:7,EACCES:13,EADDRINUSE:98,EADDRNOTAVAIL:99,EAFNOSUPPORT:97,EAGAIN:11,EALREADY:114,EBADF:9,EBADMSG:74,EBUSY:16,ECANCELED:125,ECHILD:10,ECONNABORTED:103,ECONNREFUSED:111,ECONNRESET:104,EDEADLK:35,EDESTADDRREQ:89,EDOM:33,EDQUOT:122,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:113,EIDRM:43,EILSEQ:84,EINPROGRESS:115,EINTR:4,EINVAL:22,EIO:5,EISCONN:106,EISDIR:21,ELOOP:40,EMFILE:24,EMLINK:31,EMSGSIZE:90,EMULTIHOP:72,ENAMETOOLONG:36,ENETDOWN:100,ENETRESET:102,ENETUNREACH:101,ENFILE:23,ENOBUFS:105,ENODATA:61,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:37,ENOLINK:67,ENOMEM:12,ENOMSG:42,ENOPROTOOPT:92,ENOSPC:28,ENOSR:63,ENOSTR:60,ENOSYS:38,ENOTCONN:107,ENOTDIR:20,ENOTEMPTY:39,ENOTRECOVERABLE:131,ENOTSOCK:88,ENOTSUP:95,ENOTTY:25,ENXIO:6,EOVERFLOW:75,EOWNERDEAD:130,EPERM:1,EPIPE:32,EPROTO:71,EPROTONOSUPPORT:93,EPROTOTYPE:91,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:116,ETIME:62,ETIMEDOUT:110,ETXTBSY:26,EWOULDBLOCK:11,EXDEV:18},We=0,Ze=0,Qe=0,qe=0,$e={currentPath:"/",nextInode:2,streams:[null],ignorePermissions:!0,absolutePath:function(r,a){if("string"!=typeof r)return null;void 0===a&&(a=$e.currentPath),r&&"/"==r[0]&&(a="");for(var e=a+"/"+r,i=e.split("/").reverse(),v=[""];i.length;){var t=i.pop();""==t||"."==t||(".."==t?v.length>1&&v.pop():v.push(t))}return 1==v.length?"/":v.join("/")},analyzePath:function(r,a,e){var i={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};if(r=$e.absolutePath(r),"/"==r)i.isRoot=!0,i.exists=i.parentExists=!0,i.name="/",i.path=i.parentPath="/",i.object=i.parentObject=$e.root;else if(null!==r){e=e||0,r=r.slice(1).split("/");for(var v=$e.root,t=[""];r.length;){1==r.length&&v.isFolder&&(i.parentExists=!0,i.parentPath=1==t.length?"/":t.join("/"),i.parentObject=v,i.name=r[0]);var f=r.shift();if(!v.isFolder){i.error=Ge.ENOTDIR;break}if(!v.read){i.error=Ge.EACCES;break}if(!v.contents.hasOwnProperty(f)){i.error=Ge.ENOENT;break}if(v=v.contents[f],v.link&&(!a||0!=r.length)){if(e>40){i.error=Ge.ELOOP;break}var _=$e.absolutePath(v.link,t.join("/"));return $e.analyzePath([_].concat(r).join("/"),a,e+1)}t.push(f),0==r.length&&(i.exists=!0,i.path=t.join("/"),i.object=v)}return i}return i},findObject:function(r,a){$e.ensureRoot();var e=$e.analyzePath(r,a);return e.exists?e.object:(Ya(e.error),null)},createObject:function(r,a,e,i,v){if(r||(r="/"),"string"==typeof r&&(r=$e.findObject(r)),!r)throw Ya(Ge.EACCES),new Error("Parent path must exist.");if(!r.isFolder)throw Ya(Ge.ENOTDIR),\nnew Error("Parent must be a folder.");if(!r.write&&!$e.ignorePermissions)throw Ya(Ge.EACCES),new Error("Parent folder must be writeable.");if(!a||"."==a||".."==a)throw Ya(Ge.ENOENT),new Error("Name must not be empty.");if(r.contents.hasOwnProperty(a))throw Ya(Ge.EEXIST),new Error("Can\'t overwrite object.");r.contents[a]={read:void 0===i||i,write:void 0!==v&&v,timestamp:Date.now(),inodeNumber:$e.nextInode++};for(var t in e)e.hasOwnProperty(t)&&(r.contents[a][t]=e[t]);return r.contents[a]},createFolder:function(r,a,e,i){var v={isFolder:!0,isDevice:!1,contents:{}};return $e.createObject(r,a,v,e,i)},createPath:function(r,a,e,i){var v=$e.findObject(r);if(null===v)throw new Error("Invalid parent.");for(a=a.split("/").reverse();a.length;){var t=a.pop();t&&(v.contents.hasOwnProperty(t)||$e.createFolder(v,t,e,i),v=v.contents[t])}return v},createFile:function(r,a,e,i,v){return e.isFolder=!1,$e.createObject(r,a,e,i,v)},createDataFile:function(r,a,e,i,v){if("string"==typeof e){for(var t=new Array(e.length),f=0,_=e.length;f<_;++f)t[f]=e.charCodeAt(f);e=t}var s={isDevice:!1,contents:e};return $e.createFile(r,a,s,i,v)},createLazyFile:function(r,a,e,i,v){var t={isDevice:!1,url:e};return $e.createFile(r,a,t,i,v)},createLink:function(r,a,e,i,v){var t={isDevice:!1,link:e};return $e.createFile(r,a,t,i,v)},createDevice:function(r,a,e,i){if(!e&&!i)throw new Error("A device must have at least one callback defined.");var v={isDevice:!0,input:e,output:i};return $e.createFile(r,a,v,Boolean(e),Boolean(i))},forceLoadFile:function(r){if(r.isDevice||r.isFolder||r.link||r.contents)return!0;var a=!0;if("undefined"!=typeof XMLHttpRequest)e("Cannot do synchronous binary XHRs in modern browsers. Use --embed-file or --preload-file in emcc");else{if("undefined"==typeof read)throw new Error("Cannot load without read() or XMLHttpRequest.");try{r.contents=p(read(r.url),!0)}catch(r){a=!1}}return a||Ya(Ge.EIO),a},ensureRoot:function(){$e.root||($e.root={read:!0,write:!0,isFolder:!0,isDevice:!1,timestamp:Date.now(),inodeNumber:1,contents:{}})},init:function(r,a,i){function v(r){null===r||r==="\\n".charCodeAt(0)?(a.printer(a.buffer.join("")),a.buffer=[]):a.buffer.push(String.fromCharCode(r))}e(!$e.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),$e.init.initialized=!0,$e.ensureRoot(),r=r||Module.stdin,a=a||Module.stdout,i=i||Module.stderr;var t=!0,f=!0,s=!0;r||(t=!1,r=function(){if(!r.cache||!r.cache.length){var a;"undefined"!=typeof window&&"function"==typeof window.prompt?a=window.prompt("Input: "):"function"==typeof readline&&(a=readline()),a||(a=""),r.cache=p(a+"\\n",!0)}return r.cache.shift()}),a||(f=!1,a=v),a.printer||(a.printer=print),a.buffer||(a.buffer=[]),i||(s=!1,i=v),i.printer||(i.printer=print),i.buffer||(i.buffer=[]),$e.createFolder("/","tmp",!0,!0);var n=$e.createFolder("/","dev",!0,!0),o=$e.createDevice(n,"stdin",r),l=$e.createDevice(n,"stdout",null,a),b=$e.createDevice(n,"stderr",null,i);$e.createDevice(n,"tty",r,a),$e.streams[1]={path:"/dev/stdin",object:o,position:0,isRead:!0,isWrite:!1,isAppend:!1,isTerminal:!t,error:!1,eof:!1,ungotten:[]},$e.streams[2]={path:"/dev/stdout",object:l,position:0,isRead:!1,isWrite:!0,isAppend:!1,isTerminal:!f,error:!1,eof:!1,ungotten:[]},$e.streams[3]={path:"/dev/stderr",object:b,position:0,isRead:!1,isWrite:!0,isAppend:!1,isTerminal:!s,error:!1,eof:!1,ungotten:[]},We=_([1],"void*",we),Ze=_([2],"void*",we),Qe=_([3],"void*",we),$e.createPath("/","dev/shm/tmp",!0,!0),$e.streams[We]=$e.streams[1],$e.streams[Ze]=$e.streams[2],$e.streams[Qe]=$e.streams[3],qe=_([_([0,0,0,0,We,0,0,0,Ze,0,0,0,Qe,0,0,0],"void*",we)],"void*",we)},quit:function(){$e.init.initialized&&($e.streams[2]&&$e.streams[2].object.output.buffer.length>0&&$e.streams[2].object.output("\\n".charCodeAt(0)),$e.streams[3]&&$e.streams[3].object.output.buffer.length>0&&$e.streams[3].object.output("\\n".charCodeAt(0)))}},Je=Ja;Ve.unshift({func:function(){$e.ignorePermissions=!1,$e.init.initialized||$e.init()}}),Be.push({func:function(){$e.quit()}}),Ya(0),ae.buf=_(12,"void*",we),Module.callMain=function(r){function a(){for(var r=0;r<3;r++)i.push(0)}var e=r.length+1,i=[_(p("/bin/this.program"),"i8",we)];a();for(var v=0;v<e-1;v+=1)i.push(_(p(r[v]),"i8",we)),a();return i.push(0),i=_(i,"i32",we),_main(e,i,0)};var ri,ai,ei,ii,vi,ti,qe,fi,_i,si,ni,oi,li,bi,ki,ui,ci,hi,di,wi;if(He.__str=_([97,78,0],"i8",we),He.__str1=_([38,61,0],"i8",we),He.__str2=_([97,83,0],"i8",we),He.__str3=_([61,0],"i8",we),He.__str4=_([97,97,0],"i8",we),He.__str5=_([38,38,0],"i8",we),He.__str6=_([97,100,0],"i8",we),He.__str7=_([38,0],"i8",we),He.__str8=_([97,110,0],"i8",we),He.__str9=_([99,108,0],"i8",we),He.__str10=_([40,41,0],"i8",we),He.__str11=_([99,109,0],"i8",we),He.__str12=_([44,0],"i8",we),He.__str13=_([99,111,0],"i8",we),He.__str14=_([126,0],"i8",we),He.__str15=_([100,86,0],"i8",we),He.__str16=_([47,61,0],"i8",we),He.__str17=_([100,97,0],"i8",we),He.__str18=_([100,101,108,101,116,101,91,93,0],"i8",we),He.__str19=_([100,101,0],"i8",we),He.__str20=_([42,0],"i8",we),He.__str21=_([100,108,0],"i8",we),He.__str22=_([100,101,108,101,116,101,0],"i8",we),He.__str23=_([100,118,0],"i8",we),He.__str24=_([47,0],"i8",we),He.__str25=_([101,79,0],"i8",we),He.__str26=_([94,61,0],"i8",we),He.__str27=_([101,111,0],"i8",we),He.__str28=_([94,0],"i8",we),He.__str29=_([101,113,0],"i8",we),He.__str30=_([61,61,0],"i8",we),He.__str31=_([103,101,0],"i8",we),He.__str32=_([62,61,0],"i8",we),He.__str33=_([103,116,0],"i8",we),He.__str34=_([62,0],"i8",we),He.__str35=_([105,120,0],"i8",we),He.__str36=_([91,93,0],"i8",we),He.__str37=_([108,83,0],"i8",we),He.__str38=_([60,60,61,0],"i8",we),He.__str39=_([108,101,0],"i8",we),He.__str40=_([60,61,0],"i8",we),He.__str41=_([108,115,0],"i8",we),He.__str42=_([60,60,0],"i8",we),He.__str43=_([108,116,0],"i8",we),He.__str44=_([60,0],"i8",we),He.__str45=_([109,73,0],"i8",we),He.__str46=_([45,61,0],"i8",we),He.__str47=_([109,76,0],"i8",we),He.__str48=_([42,61,0],"i8",we),He.__str49=_([109,105,0],"i8",we),He.__str51=_([109,108,0],"i8",we),He.__str52=_([109,109,0],"i8",we),He.__str53=_([45,45,0],"i8",we),He.__str54=_([110,97,0],"i8",we),He.__str55=_([110,101,119,91,93,0],"i8",we),He.__str56=_([110,101,0],"i8",we),He.__str57=_([33,61,0],"i8",we),He.__str58=_([110,103,0],"i8",we),He.__str59=_([110,116,0],"i8",we),He.__str60=_([33,0],"i8",we),He.__str61=_([110,119,0],"i8",we),He.__str62=_([110,101,119,0],"i8",we),He.__str63=_([111,82,0],"i8",we),He.__str64=_([124,61,0],"i8",we),He.__str65=_([111,111,0],"i8",we),He.__str66=_([124,124,0],"i8",we),He.__str67=_([111,114,0],"i8",we),He.__str68=_([124,0],"i8",we),He.__str69=_([112,76,0],"i8",we),He.__str70=_([43,61,0],"i8",we),He.__str71=_([112,108,0],"i8",we),He.__str72=_([43,0],"i8",we),He.__str73=_([112,109,0],"i8",we),He.__str74=_([45,62,42,0],"i8",we),He.__str75=_([112,112,0],"i8",we),He.__str76=_([43,43,0],"i8",we),He.__str77=_([112,115,0],"i8",we),He.__str78=_([112,116,0],"i8",we),He.__str79=_([45,62,0],"i8",we),He.__str80=_([113,117,0],"i8",we),He.__str81=_([63,0],"i8",we),He.__str82=_([114,77,0],"i8",we),He.__str83=_([37,61,0],"i8",we),He.__str84=_([114,83,0],"i8",we),He.__str85=_([62,62,61,0],"i8",we),He.__str86=_([114,109,0],"i8",we),He.__str87=_([37,0],"i8",we),He.__str88=_([114,115,0],"i8",we),He.__str89=_([62,62,0],"i8",we),He.__str90=_([115,116,0],"i8",we),He.__str91=_([115,105,122,101,111,102,32,0],"i8",we),He.__str92=_([115,122,0],"i8",we),ri=_([0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0],we),He.__str95=_([98,111,111,108,101,97,110,0],"i8",we),He.__str97=_([98,121,116,101,0],"i8",we),He.__str101=_([95,95,102,108,111,97,116,49,50,56,0],"i8",we),He.__str105=_([117,110,115,105,103,110,101,100,0],"i8",we),He.__str114=_([108,111,110,103,32,108,111,110,103,0],"i8",we),He.__str115=_([117,110,115,105,103,110,101,100,32,108,111,110,103,32,108,111,110,103,0],"i8",we),ai=_([0,0,0,0,11,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,7,0,0,0,7,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,6,0,0,0,8,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,11,0,0,0,8,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,5,0,0,0,8,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,10,0,0,0,8,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,8,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,3,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,13,0,0,0,4,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,9,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,4,0,0,0,5,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,18,0,0,0,6,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0],["*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0],we),He.__str117=_([95,71,76,79,66,65,76,95,0],"i8",we),He.__str118=_([103,108,111,98,97,108,32,99,111,110,115,116,114,117,99,116,111,114,115,32,107,101,121,101,100,32,116,111,32,0],"i8",we),He.__str119=_([103,108,111,98,97,108,32,100,101,115,116,114,117,99,116,111,114,115,32,107,101,121,101,100,32,116,111,32,0],"i8",we),He.__str120=_([58,58,0],"i8",we),He.__str121=_([118,116,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str122=_([86,84,84,32,102,111,114,32,0],"i8",we),He.__str123=_([99,111,110,115,116,114,117,99,116,105,111,110,32,118,116,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str124=_([45,105,110,45,0],"i8",we),He.__str125=_([116,121,112,101,105,110,102,111,32,102,111,114,32,0],"i8",we),He.__str126=_([116,121,112,101,105,110,102,111,32,110,97,109,101,32,102,111,114,32,0],"i8",we),He.__str127=_([116,121,112,101,105,110,102,111,32,102,110,32,102,111,114,32,0],"i8",we),He.__str128=_([110,111,110,45,118,105,114,116,117,97,108,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str129=_([118,105,114,116,117,97,108,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str130=_([99,111,118,97,114,105,97,110,116,32,114,101,116,117,114,110,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str131=_([106,97,118,97,32,67,108,97,115,115,32,102,111,114,32,0],"i8",we),He.__str132=_([103,117,97,114,100,32,118,97,114,105,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str133=_([114,101,102,101,114,101,110,99,101,32,116,101,109,112,111,114,97,114,121,32,102,111,114,32,0],"i8",we),He.__str134=_([104,105,100,100,101,110,32,97,108,105,97,115,32,102,111,114,32,0],"i8",we),He.__str135=_([58,58,42,0],"i8",we),He.__str136=_([44,32,0],"i8",we),He.__str137=_([111,112,101,114,97,116,111,114,0],"i8",we),He.__str139=_([41,32,0],"i8",we),He.__str140=_([32,40,0],"i8",we),He.__str141=_([41,32,58,32,40,0],"i8",we),He.__str142=_([117,108,0],"i8",we),He.__str143=_([108,108,0],"i8",we),He.__str144=_([117,108,108,0],"i8",we),He.__str145=_([102,97,108,115,101,0],"i8",we),He.__str146=_([116,114,117,101,0],"i8",we),He.__str147=_([32,114,101,115,116,114,105,99,116,0],"i8",we),He.__str148=_([32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str149=_([32,99,111,110,115,116,0],"i8",we),He.__str150=_([99,111,109,112,108,101,120,32,0],"i8",we),He.__str151=_([105,109,97,103,105,110,97,114,121,32,0],"i8",we),ei=_([116,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,97,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,9,0,0,0,98,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,12,0,0,0,115,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,70,0,0,0,0,0,0,0,12,0,0,0,105,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,13,0,0,0,111,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,13,0,0,0,100,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,50,0,0,0,0,0,0,0,14,0,0,0],["i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0],we),He.__str152=_([115,116,100,0],"i8",we),He.__str153=_([115,116,100,58,58,97,108,108,111,99,97,116,111,114,0],"i8",we),He.__str154=_([97,108,108,111,99,97,116,111,114,0],"i8",we),He.__str155=_([115,116,100,58,58,98,97,115,105,99,95,115,116,114,105,110,103,0],"i8",we),He.__str156=_([98,97,115,105,99,95,115,116,114,105,110,103,0],"i8",we),He.__str157=_([115,116,100,58,58,115,116,114,105,110,103,0],"i8",we),He.__str158=_([115,116,100,58,58,98,97,115,105,99,95,115,116,114,105,110,103,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,44,32,115,116,100,58,58,97,108,108,111,99,97,116,111,114,60,99,104,97,114,62,32,62,0],"i8",we),He.__str159=_([115,116,100,58,58,105,115,116,114,101,97,109,0],"i8",we),He.__str160=_([115,116,100,58,58,98,97,115,105,99,95,105,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str161=_([98,97,115,105,99,95,105,115,116,114,101,97,109,0],"i8",we),He.__str162=_([115,116,100,58,58,111,115,116,114,101,97,109,0],"i8",we),He.__str163=_([115,116,100,58,58,98,97,115,105,99,95,111,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str164=_([98,97,115,105,99,95,111,115,116,114,101,97,109,0],"i8",we),He.__str165=_([115,116,100,58,58,105,111,115,116,114,101,97,109,0],"i8",we),He.__str166=_([115,116,100,58,58,98,97,115,105,99,95,105,111,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str167=_([98,97,115,105,99,95,105,111,115,116,114,101,97,109,0],"i8",we),He.__str168=_([115,116,114,105,110,103,32,108,105,116,101,114,97,108,0],"i8",we),He.__str169=_([40,97,110,111,110,121,109,111,117,115,32,110,97,109,101,115,112,97,99,101,41,0],"i8",we),He._symbol_demangle_dashed_null=_([45,45,110,117,108,108,45,45,0],"i8",we),He.__str170=_([37,115,37,115,0],"i8",we),He.__str1171=_([111,112,101,114,97,116,111,114,32,110,101,119,0],"i8",we),He.__str2172=_([111,112,101,114,97,116,111,114,32,100,101,108,101,116,101,0],"i8",we),He.__str3173=_([111,112,101,114,97,116,111,114,61,0],"i8",we),He.__str4174=_([111,112,101,114,97,116,111,114,62,62,0],"i8",we),He.__str5175=_([111,112,101,114,97,116,111,114,60,60,0],"i8",we),He.__str6176=_([111,112,101,114,97,116,111,114,33,0],"i8",we),He.__str7177=_([111,112,101,114,97,116,111,114,61,61,0],"i8",we),He.__str8178=_([111,112,101,114,97,116,111,114,33,61,0],"i8",we),He.__str9179=_([111,112,101,114,97,116,111,114,91,93,0],"i8",we),He.__str10180=_([111,112,101,114,97,116,111,114,32,0],"i8",we),He.__str11181=_([111,112,101,114,97,116,111,114,45,62,0],"i8",we),He.__str12182=_([111,112,101,114,97,116,111,114,42,0],"i8",we),He.__str13183=_([111,112,101,114,97,116,111,114,43,43,0],"i8",we),He.__str14184=_([111,112,101,114,97,116,111,114,45,45,0],"i8",we),He.__str15185=_([111,112,101,114,97,116,111,114,45,0],"i8",we),He.__str16186=_([111,112,101,114,97,116,111,114,43,0],"i8",we),He.__str17187=_([111,112,101,114,97,116,111,114,38,0],"i8",we),He.__str18188=_([111,112,101,114,97,116,111,114,45,62,42,0],"i8",we),He.__str19189=_([111,112,101,114,97,116,111,114,47,0],"i8",we),He.__str20190=_([111,112,101,114,97,116,111,114,37,0],"i8",we),He.__str21191=_([111,112,101,114,97,116,111,114,60,0],"i8",we),He.__str22192=_([111,112,101,114,97,116,111,114,60,61,0],"i8",we),He.__str23193=_([111,112,101,114,97,116,111,114,62,0],"i8",we),He.__str24194=_([111,112,101,114,97,116,111,114,62,61,0],"i8",we),He.__str25195=_([111,112,101,114,97,116,111,114,44,0],"i8",we),He.__str26196=_([111,112,101,114,97,116,111,114,40,41,0],"i8",we),He.__str27197=_([111,112,101,114,97,116,111,114,126,0],"i8",we),He.__str28198=_([111,112,101,114,97,116,111,114,94,0],"i8",we),He.__str29199=_([111,112,101,114,97,116,111,114,124,0],"i8",we),He.__str30200=_([111,112,101,114,97,116,111,114,38,38,0],"i8",we),He.__str31201=_([111,112,101,114,97,116,111,114,124,124,0],"i8",we),He.__str32202=_([111,112,101,114,97,116,111,114,42,61,0],"i8",we),He.__str33203=_([111,112,101,114,97,116,111,114,43,61,0],"i8",we),He.__str34204=_([111,112,101,114,97,116,111,114,45,61,0],"i8",we),He.__str35205=_([111,112,101,114,97,116,111,114,47,61,0],"i8",we),He.__str36206=_([111,112,101,114,97,116,111,114,37,61,0],"i8",we),He.__str37207=_([111,112,101,114,97,116,111,114,62,62,61,0],"i8",we),He.__str38208=_([111,112,101,114,97,116,111,114,60,60,61,0],"i8",we),He.__str39209=_([111,112,101,114,97,116,111,114,38,61,0],"i8",we),He.__str40210=_([111,112,101,114,97,116,111,114,124,61,0],"i8",we),He.__str41211=_([111,112,101,114,97,116,111,114,94,61,0],"i8",we),He.__str42212=_([96,118,102,116,97,98,108,101,39,0],"i8",we),He.__str43213=_([96,118,98,116,97,98,108,101,39,0],"i8",we),He.__str44214=_([96,118,99,97,108,108,39,0],"i8",we),He.__str45215=_([96,116,121,112,101,111,102,39,0],"i8",we),He.__str46216=_([96,108,111,99,97,108,32,115,116,97,116,105,99,32,103,117,97,114,100,39,0],"i8",we),He.__str47217=_([96,115,116,114,105,110,103,39,0],"i8",we),He.__str48218=_([96,118,98,97,115,101,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str49219=_([96,118,101,99,116,111,114,32,100,101,108,101,116,105,110,103,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str50220=_([96,100,101,102,97,117,108,116,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str51221=_([96,115,99,97,108,97,114,32,100,101,108,101,116,105,110,103,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str52222=_([96,118,101,99,116,111,114,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str53223=_([96,118,101,99,116,111,114,32,100,101,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str54224=_([96,118,101,99,116,111,114,32,118,98,97,115,101,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str55225=_([96,118,105,114,116,117,97,108,32,100,105,115,112,108,97,99,101,109,101,110,116,32,109,97,112,39,0],"i8",we),He.__str56226=_([96,101,104,32,118,101,99,116,111,114,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str57227=_([96,101,104,32,118,101,99,116,111,114,32,100,101,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str58228=_([96,101,104,32,118,101,99,116,111,114,32,118,98,97,115,101,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str59229=_([96,99,111,112,121,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str60230=_([37,115,37,115,32,96,82,84,84,73,32,84,121,112,101,32,68,101,115,99,114,105,112,116,111,114,39,0],"i8",we),He.__str61231=_([96,82,84,84,73,32,66,97,115,101,32,67,108,97,115,115,32,68,101,115,99,114,105,112,116,111,114,32,97,116,32,40,37,115,44,37,115,44,37,115,44,37,115,41,39,0],"i8",we),He.__str62232=_([96,82,84,84,73,32,66,97,115,101,32,67,108,97,115,115,32,65,114,114,97,121,39,0],"i8",we),He.__str63233=_([96,82,84,84,73,32,67,108,97,115,115,32,72,105,101,114,97,114,99,104,121,32,68,101,115,99,114,105,112,116,111,114,39,0],"i8",we),He.__str64234=_([96,82,84,84,73,32,67,111,109,112,108,101,116,101,32,79,98,106,101,99,116,32,76,111,99,97,116,111,114,39,0],"i8",we),He.__str65235=_([96,108,111,99,97,108,32,118,102,116,97,98,108,101,39,0],"i8",we),He.__str66236=_([96,108,111,99,97,108,32,118,102,116,97,98,108,101,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str67237=_([111,112,101,114,97,116,111,114,32,110,101,119,91,93,0],"i8",we),He.__str68238=_([111,112,101,114,97,116,111,114,32,100,101,108,101,116,101,91,93,0],"i8",we),He.__str69239=_([96,112,108,97,99,101,109,101,110,116,32,100,101,108,101,116,101,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str70240=_([96,112,108,97,99,101,109,101,110,116,32,100,101,108,101,116,101,91,93,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str71241=_([126,37,115,0],"i8",we),He.__str72242=_([117,110,100,110,97,109,101,46,99,0],"i8",we),He.___func___symbol_demangle=_([115,121,109,98,111,108,95,100,101,109,97,110,103,108,101,0],"i8",we),He.__str73243=_([115,121,109,45,62,114,101,115,117,108,116,0],"i8",we),He.___func___handle_template=_([104,97,110,100,108,101,95,116,101,109,112,108,97,116,101,0],"i8",we),He.__str74244=_([42,115,121,109,45,62,99,117,114,114,101,110,116,32,61,61,32,39,36,39,0],"i8",we),He.___func___str_array_get_ref=_([115,116,114,95,97,114,114,97,121,95,103,101,116,95,114,101,102,0],"i8",we),He.__str75245=_([99,114,101,102,0],"i8",we),He.__str76246=_([112,114,105,118,97,116,101,58,32,0],"i8",we),He.__str77247=_([112,114,111,116,101,99,116,101,100,58,32,0],"i8",we),He.__str78248=_([112,117,98,108,105,99,58,32,0],"i8",we),He.__str79249=_([115,116,97,116,105,99,32,0],"i8",we),He.__str80250=_([118,105,114,116,117,97,108,32,0],"i8",we),He.__str81251=_([91,116,104,117,110,107,93,58,37,115,0],"i8",we),He.__str82252=_([37,115,96,97,100,106,117,115,116,111,114,123,37,115,125,39,32,0],"i8",we),He.__str83253=_([37,115,32,37,115,0],"i8",we),He.__str84254=_([118,111,105,100,0],"i8",we),He.__str85255=_([37,115,37,115,37,115,0],"i8",we),He.__str86256=_([37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,0],"i8",we),He.__str87257=_([32,0],"i8",we),He.__str88258=_([100,108,108,95,101,120,112,111,114,116,32,0],"i8",we),He.__str89259=_([99,100,101,99,108,0],"i8",we),He.__str90260=_([112,97,115,99,97,108,0],"i8",we),He.__str91261=_([116,104,105,115,99,97,108,108,0],"i8",we),He.__str92262=_([115,116,100,99,97,108,108,0],"i8",we),He.__str93263=_([102,97,115,116,99,97,108,108,0],"i8",we),He.__str94264=_([99,108,114,99,97,108,108,0],"i8",we),He.__str95265=_([95,95,100,108,108,95,101,120,112,111,114,116,32,0],"i8",we),He.__str96266=_([95,95,99,100,101,99,108,0],"i8",we),He.__str97267=_([95,95,112,97,115,99,97,108,0],"i8",we),He.__str98268=_([95,95,116,104,105,115,99,97,108,108,0],"i8",we),He.__str99269=_([95,95,115,116,100,99,97,108,108,0],"i8",we),He.__str100270=_([95,95,102,97,115,116,99,97,108,108,0],"i8",we),He.__str101271=_([95,95,99,108,114,99,97,108,108,0],"i8",we),He.__str102272=_([95,95,112,116,114,54,52,0],"i8",we),He.__str103273=_([99,111,110,115,116,0],"i8",we),He.__str104274=_([118,111,108,97,116,105,108,101,0],"i8",we),He.__str105275=_([99,111,110,115,116,32,118,111,108,97,116,105,108,101,0],"i8",we),He.___func___get_class_string=_([103,101,116,95,99,108,97,115,115,95,115,116,114,105,110,103,0],"i8",we),He.__str106276=_([97,45,62,101,108,116,115,91,105,93,0],"i8",we),He.__str107277=_([123,102,111,114,32,96,37,115,39,125,0],"i8",we),He.__str108278=_([37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,0],"i8",we),He.__str109279=_([96,37,115,39,0],"i8",we),He.__str110280=_([46,46,46,0],"i8",we),He.__str111281=_([37,99,118,111,105,100,37,99,0],"i8",we),He.__str112282=_([37,115,44,37,115,0],"i8",we),He.__str113283=_([37,99,37,115,37,115,32,37,99,0],"i8",we),He.__str114284=_([37,99,37,115,37,115,37,99,0],"i8",we),He.___func___str_array_push=_([115,116,114,95,97,114,114,97,121,95,112,117,115,104,0],"i8",we),He.__str115285=_([112,116,114,0],"i8",we),He.__str116286=_([97,0],"i8",we),He.__str117287=_([97,45,62,101,108,116,115,91,97,45,62,110,117,109,93,0],"i8",we),He.__str118288=_([37,115,37,100,0],"i8",we),He.__str119289=_([45,0],"i8",we),ii=_(1,"i8",we),He.___func___demangle_datatype=_([100,101,109,97,110,103,108,101,95,100,97,116,97,116,121,112,101,0],"i8",we),He.__str121291=_([99,116,0],"i8",we),He.__str122292=_([117,110,105,111,110,32,0],"i8",we),He.__str123293=_([115,116,114,117,99,116,32,0],"i8",we),He.__str124294=_([99,108,97,115,115,32,0],"i8",we),He.__str125295=_([99,111,105,110,116,101,114,102,97,99,101,32,0],"i8",we),He.__str126296=_([96,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,45,37,115,39,0],"i8",we),He.__str127297=_([37,115,37,115,32,40,37,115,42,0],"i8",we),He.__str128298=_([41,37,115,0],"i8",we),He.__str129299=_([101,110,117,109,32,37,115,0],"i8",we),He.__str130300=_([96,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,37,115,39,0],"i8",we),He.__str131301=_([123,37,115,44,37,115,125,0],"i8",we),He.__str132302=_([123,37,115,44,37,115,44,37,115,125,0],"i8",we),He.__str133303=_([96,110,111,110,45,116,121,112,101,45,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,37,115,39,0],"i8",we),He.__str134304=_([32,95,95,112,116,114,54,52,0],"i8",we),He.__str135305=_([32,38,37,115,0],"i8",we),He.__str136306=_([32,38,37,115,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str137307=_([32,42,37,115,0],"i8",we),He.__str138308=_([32,42,37,115,32,99,111,110,115,116,0],"i8",we),He.__str139309=_([32,42,37,115,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str140310=_([32,42,37,115,32,99,111,110,115,116,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str141311=_([32,40,37,115,37,115,41,0],"i8",we),He.__str142312=_([32,40,37,115,41,0],"i8",we),He.__str143313=_([37,115,91,37,115,93,0],"i8",we),He.__str144314=_([37,115,32,37,115,37,115,0],"i8",we),He.__str145315=_([115,105,103,110,101,100,32,99,104,97,114,0],"i8",we),He.__str146316=_([99,104,97,114,0],"i8",we),He.__str147317=_([117,110,115,105,103,110,101,100,32,99,104,97,114,0],"i8",we),He.__str148318=_([115,104,111,114,116,0],"i8",we),He.__str149319=_([117,110,115,105,103,110,101,100,32,115,104,111,114,116,0],"i8",we),He.__str150320=_([105,110,116,0],"i8",we),He.__str151321=_([117,110,115,105,103,110,101,100,32,105,110,116,0],"i8",we),He.__str152322=_([108,111,110,103,0],"i8",we),He.__str153323=_([117,110,115,105,103,110,101,100,32,108,111,110,103,0],"i8",we),He.__str154324=_([102,108,111,97,116,0],"i8",we),He.__str155325=_([100,111,117,98,108,101,0],"i8",we),He.__str156326=_([108,111,110,103,32,100,111,117,98,108,101,0],"i8",we),He.__str157327=_([95,95,105,110,116,56,0],"i8",we),He.__str158328=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,56,0],"i8",we),He.__str159329=_([95,95,105,110,116,49,54,0],"i8",we),He.__str160330=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,49,54,0],"i8",we),He.__str161331=_([95,95,105,110,116,51,50,0],"i8",we),He.__str162332=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,51,50,0],"i8",we),He.__str163333=_([95,95,105,110,116,54,52,0],"i8",we),He.__str164334=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,54,52,0],"i8",we),\nHe.__str165335=_([95,95,105,110,116,49,50,56,0],"i8",we),He.__str166336=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,49,50,56,0],"i8",we),He.__str167337=_([98,111,111,108,0],"i8",we),He.__str168338=_([119,99,104,97,114,95,116,0],"i8",we),vi=_(468,["i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0],we),ti=_(24,"i32",we),He.__str339=_([109,97,120,32,115,121,115,116,101,109,32,98,121,116,101,115,32,61,32,37,49,48,108,117,10,0],"i8",we),He.__str1340=_([115,121,115,116,101,109,32,98,121,116,101,115,32,32,32,32,32,61,32,37,49,48,108,117,10,0],"i8",we),He.__str2341=_([105,110,32,117,115,101,32,98,121,116,101,115,32,32,32,32,32,61,32,37,49,48,108,117,10,0],"i8",we),fi=_([ue],"i8",we),_i=_(1,"void ()*",we),si=_([0,0,0,0,0,0,0,0,6,0,0,0,8,0,0,0,10,0,0,0],["*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0],we),_(1,"void*",we),He.__str3342=_([115,116,100,58,58,98,97,100,95,97,108,108,111,99,0],"i8",we),ni=_([0,0,0,0,0,0,0,0,6,0,0,0,12,0,0,0,14,0,0,0],["*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0],we),_(1,"void*",we),He.__str14343=_([98,97,100,95,97,114,114,97,121,95,110,101,119,95,108,101,110,103,116,104,0],"i8",we),He.__ZTSSt9bad_alloc=_([83,116,57,98,97,100,95,97,108,108,111,99,0],"i8",we),bi=_(12,"*",we),He.__ZTSSt20bad_array_new_length=_([83,116,50,48,98,97,100,95,97,114,114,97,121,95,110,101,119,95,108,101,110,103,116,104,0],"i8",we),ki=_(12,"*",we),Se[ri>>2]=0|He.__str,Se[ri+4>>2]=0|He.__str1,Se[ri+16>>2]=0|He.__str2,Se[ri+20>>2]=0|He.__str3,Se[ri+32>>2]=0|He.__str4,Se[ri+36>>2]=0|He.__str5,Se[ri+48>>2]=0|He.__str6,Se[ri+52>>2]=0|He.__str7,Se[ri+64>>2]=0|He.__str8,Se[ri+68>>2]=0|He.__str7,Se[ri+80>>2]=0|He.__str9,Se[ri+84>>2]=0|He.__str10,Se[ri+96>>2]=0|He.__str11,Se[ri+100>>2]=0|He.__str12,Se[ri+112>>2]=0|He.__str13,Se[ri+116>>2]=0|He.__str14,Se[ri+128>>2]=0|He.__str15,Se[ri+132>>2]=0|He.__str16,Se[ri+144>>2]=0|He.__str17,Se[ri+148>>2]=0|He.__str18,Se[ri+160>>2]=0|He.__str19,Se[ri+164>>2]=0|He.__str20,Se[ri+176>>2]=0|He.__str21,Se[ri+180>>2]=0|He.__str22,Se[ri+192>>2]=0|He.__str23,Se[ri+196>>2]=0|He.__str24,Se[ri+208>>2]=0|He.__str25,Se[ri+212>>2]=0|He.__str26,Se[ri+224>>2]=0|He.__str27,Se[ri+228>>2]=0|He.__str28,Se[ri+240>>2]=0|He.__str29,Se[ri+244>>2]=0|He.__str30,Se[ri+256>>2]=0|He.__str31,Se[ri+260>>2]=0|He.__str32,Se[ri+272>>2]=0|He.__str33,Se[ri+276>>2]=0|He.__str34,Se[ri+288>>2]=0|He.__str35,Se[ri+292>>2]=0|He.__str36,Se[ri+304>>2]=0|He.__str37,Se[ri+308>>2]=0|He.__str38,Se[ri+320>>2]=0|He.__str39,Se[ri+324>>2]=0|He.__str40,Se[ri+336>>2]=0|He.__str41,Se[ri+340>>2]=0|He.__str42,Se[ri+352>>2]=0|He.__str43,Se[ri+356>>2]=0|He.__str44,Se[ri+368>>2]=0|He.__str45,Se[ri+372>>2]=0|He.__str46,Se[ri+384>>2]=0|He.__str47,Se[ri+388>>2]=0|He.__str48,Se[ri+400>>2]=0|He.__str49,Se[ri+404>>2]=0|He.__str119289,Se[ri+416>>2]=0|He.__str51,Se[ri+420>>2]=0|He.__str20,Se[ri+432>>2]=0|He.__str52,Se[ri+436>>2]=0|He.__str53,Se[ri+448>>2]=0|He.__str54,Se[ri+452>>2]=0|He.__str55,Se[ri+464>>2]=0|He.__str56,Se[ri+468>>2]=0|He.__str57,Se[ri+480>>2]=0|He.__str58,Se[ri+484>>2]=0|He.__str119289,Se[ri+496>>2]=0|He.__str59,Se[ri+500>>2]=0|He.__str60,Se[ri+512>>2]=0|He.__str61,Se[ri+516>>2]=0|He.__str62,Se[ri+528>>2]=0|He.__str63,Se[ri+532>>2]=0|He.__str64,Se[ri+544>>2]=0|He.__str65,Se[ri+548>>2]=0|He.__str66,Se[ri+560>>2]=0|He.__str67,Se[ri+564>>2]=0|He.__str68,Se[ri+576>>2]=0|He.__str69,Se[ri+580>>2]=0|He.__str70,Se[ri+592>>2]=0|He.__str71,Se[ri+596>>2]=0|He.__str72,Se[ri+608>>2]=0|He.__str73,Se[ri+612>>2]=0|He.__str74,Se[ri+624>>2]=0|He.__str75,Se[ri+628>>2]=0|He.__str76,Se[ri+640>>2]=0|He.__str77,Se[ri+644>>2]=0|He.__str72,Se[ri+656>>2]=0|He.__str78,Se[ri+660>>2]=0|He.__str79,Se[ri+672>>2]=0|He.__str80,Se[ri+676>>2]=0|He.__str81,Se[ri+688>>2]=0|He.__str82,Se[ri+692>>2]=0|He.__str83,Se[ri+704>>2]=0|He.__str84,Se[ri+708>>2]=0|He.__str85,Se[ri+720>>2]=0|He.__str86,Se[ri+724>>2]=0|He.__str87,Se[ri+736>>2]=0|He.__str88,Se[ri+740>>2]=0|He.__str89,Se[ri+752>>2]=0|He.__str90,Se[ri+756>>2]=0|He.__str91,Se[ri+768>>2]=0|He.__str92,Se[ri+772>>2]=0|He.__str91,Se[ai>>2]=0|He.__str145315,Se[ai+8>>2]=0|He.__str145315,Se[ai+20>>2]=0|He.__str167337,Se[ai+28>>2]=0|He.__str95,Se[ai+40>>2]=0|He.__str146316,Se[ai+48>>2]=0|He.__str97,Se[ai+60>>2]=0|He.__str155325,Se[ai+68>>2]=0|He.__str155325,Se[ai+80>>2]=0|He.__str156326,Se[ai+88>>2]=0|He.__str156326,Se[ai+100>>2]=0|He.__str154324,Se[ai+108>>2]=0|He.__str154324,Se[ai+120>>2]=0|He.__str101,Se[ai+128>>2]=0|He.__str101,Se[ai+140>>2]=0|He.__str147317,Se[ai+148>>2]=0|He.__str147317,Se[ai+160>>2]=0|He.__str150320,Se[ai+168>>2]=0|He.__str150320,Se[ai+180>>2]=0|He.__str151321,Se[ai+188>>2]=0|He.__str105,Se[ai+220>>2]=0|He.__str152322,Se[ai+228>>2]=0|He.__str152322,Se[ai+240>>2]=0|He.__str153323,Se[ai+248>>2]=0|He.__str153323,Se[ai+260>>2]=0|He.__str165335,Se[ai+268>>2]=0|He.__str165335,Se[ai+280>>2]=0|He.__str166336,Se[ai+288>>2]=0|He.__str166336,Se[ai+360>>2]=0|He.__str148318,Se[ai+368>>2]=0|He.__str148318,Se[ai+380>>2]=0|He.__str149319,Se[ai+388>>2]=0|He.__str149319,Se[ai+420>>2]=0|He.__str84254,Se[ai+428>>2]=0|He.__str84254,Se[ai+440>>2]=0|He.__str168338,Se[ai+448>>2]=0|He.__str146316,Se[ai+460>>2]=0|He.__str114,Se[ai+468>>2]=0|He.__str152322,Se[ai+480>>2]=0|He.__str115,Se[ai+488>>2]=0|He.__str115,Se[ai+500>>2]=0|He.__str110280,Se[ai+508>>2]=0|He.__str110280,Se[ei+4>>2]=0|He.__str152,Se[ei+12>>2]=0|He.__str152,Se[ei+32>>2]=0|He.__str153,Se[ei+40>>2]=0|He.__str153,Se[ei+48>>2]=0|He.__str154,Se[ei+60>>2]=0|He.__str155,Se[ei+68>>2]=0|He.__str155,Se[ei+76>>2]=0|He.__str156,Se[ei+88>>2]=0|He.__str157,Se[ei+96>>2]=0|He.__str158,Se[ei+104>>2]=0|He.__str156,Se[ei+116>>2]=0|He.__str159,Se[ei+124>>2]=0|He.__str160,Se[ei+132>>2]=0|He.__str161,Se[ei+144>>2]=0|He.__str162,Se[ei+152>>2]=0|He.__str163,Se[ei+160>>2]=0|He.__str164,Se[ei+172>>2]=0|He.__str165,Se[ei+180>>2]=0|He.__str166,Se[ei+188>>2]=0|He.__str167,Se[si+4>>2]=bi,Se[ni+4>>2]=ki,oi=_([2,0,0,0,0],["i8*",0,0,0,0],we),Se[bi>>2]=oi+8|0,Se[bi+4>>2]=0|He.__ZTSSt9bad_alloc,Se[bi+8>>2]=li,Se[ki>>2]=oi+8|0,Se[ki+4>>2]=0|He.__ZTSSt20bad_array_new_length,Se[ki+8>>2]=bi,ui=16,ci=6,hi=18,di=6,wi=6,pe=[0,0,Jr,0,va,0,ya,0,ga,0,wa,0,Sa,0,pa,0,Ea,0,ma,0],Module.FUNCTION_TABLE=pe,Module.run=ee,Module.preRun&&Module.preRun(),0==Ke){ee()}Module.postRun&&Module.postRun(),Module.___cxa_demangle=G;var pi=v("__cxa_demangle","string",["string","string","number","number"]);return function(r){return pi(r,"",1,0)}}();\n'},6121:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Flamechart=void 0;const a=t(7844),n=t(5293);r.Flamechart=class{constructor(e){this.source=e,this.layers=[],this.totalWeight=0,this.minFrameWidth=1;const r=[];this.minFrameWidth=1/0,this.totalWeight=e.getTotalWeight(),e.forEachCall(((e,t)=>{const n=a.lastOf(r),i={node:e,parent:n,children:[],start:t,end:t};n&&n.children.push(i),r.push(i)}),((e,t)=>{console.assert(r.length>0);const a=r.pop();if(a.end=t,a.end-a.start==0)return;const n=r.length;for(;this.layers.length<=n;)this.layers.push([]);this.layers[n].push(a),this.minFrameWidth=Math.min(this.minFrameWidth,a.end-a.start)})),isFinite(this.minFrameWidth)||(this.minFrameWidth=1)}getTotalWeight(){return this.totalWeight}getLayers(){return this.layers}getColorBucketForFrame(e){return this.source.getColorBucketForFrame(e)}getMinFrameWidth(){return this.minFrameWidth}formatValue(e){return this.source.formatValue(e)}getClampedViewportWidth(e){const r=this.getTotalWeight(),t=Math.pow(2,40),a=n.clamp(3*this.getMinFrameWidth(),r/t,r);return n.clamp(e,a,r)}getClampedConfigSpaceViewportRect({configSpaceViewportRect:e,renderInverted:r}){const t=new n.Vec2(this.getTotalWeight(),this.getLayers().length),a=this.getClampedViewportWidth(e.size.x),i=e.size.withX(a),o=n.Vec2.clamp(e.origin,new n.Vec2(0,r?0:-1),n.Vec2.max(n.Vec2.zero,t.minus(i).plus(new n.Vec2(0,1))));return new n.Rect(o,e.size.withX(a))}}},5293:(e,r)=>{"use strict";function t(e,r,t){return e<r?r:e>t?t:e}Object.defineProperty(r,"__esModule",{value:!0}),r.Rect=r.AffineTransform=r.Vec2=r.clamp=void 0,r.clamp=t;let a=(()=>{class e{constructor(e,r){this.x=e,this.y=r}withX(r){return new e(r,this.y)}withY(r){return new e(this.x,r)}plus(r){return new e(this.x+r.x,this.y+r.y)}minus(r){return new e(this.x-r.x,this.y-r.y)}times(r){return new e(this.x*r,this.y*r)}timesPointwise(r){return new e(this.x*r.x,this.y*r.y)}dividedByPointwise(r){return new e(this.x/r.x,this.y/r.y)}dot(e){return this.x*e.x+this.y*e.y}equals(e){return this.x===e.x&&this.y===e.y}approxEquals(e,r=1e-9){return Math.abs(this.x-e.x)<r&&Math.abs(this.y-e.y)<r}length2(){return this.dot(this)}length(){return Math.sqrt(this.length2())}abs(){return new e(Math.abs(this.x),Math.abs(this.y))}static min(r,t){return new e(Math.min(r.x,t.x),Math.min(r.y,t.y))}static max(r,t){return new e(Math.max(r.x,t.x),Math.max(r.y,t.y))}static clamp(r,a,n){return new e(t(r.x,a.x,n.x),t(r.y,a.y,n.y))}flatten(){return[this.x,this.y]}}return e.zero=new e(0,0),e.unit=new e(1,1),e})();r.Vec2=a;class n{constructor(e=1,r=0,t=0,a=0,n=1,i=0){this.m00=e,this.m01=r,this.m02=t,this.m10=a,this.m11=n,this.m12=i}withScale(e){let{m00:r,m01:t,m02:a,m10:i,m11:o,m12:s}=this;return r=e.x,o=e.y,new n(r,t,a,i,o,s)}static withScale(e){return(new n).withScale(e)}scaledBy(e){return n.withScale(e).times(this)}getScale(){return new a(this.m00,this.m11)}withTranslation(e){let{m00:r,m01:t,m02:a,m10:i,m11:o,m12:s}=this;return a=e.x,s=e.y,new n(r,t,a,i,o,s)}static withTranslation(e){return(new n).withTranslation(e)}getTranslation(){return new a(this.m02,this.m12)}translatedBy(e){return n.withTranslation(e).times(this)}static betweenRects(e,r){return n.withTranslation(e.origin.times(-1)).scaledBy(new a(r.size.x/e.size.x,r.size.y/e.size.y)).translatedBy(r.origin)}times(e){const r=this.m00*e.m00+this.m01*e.m10,t=this.m00*e.m01+this.m01*e.m11,a=this.m00*e.m02+this.m01*e.m12+this.m02,i=this.m10*e.m00+this.m11*e.m10,o=this.m10*e.m01+this.m11*e.m11,s=this.m10*e.m02+this.m11*e.m12+this.m12;return new n(r,t,a,i,o,s)}equals(e){return this.m00==e.m00&&this.m01==e.m01&&this.m02==e.m02&&this.m10==e.m10&&this.m11==e.m11&&this.m12==e.m12}approxEquals(e,r=1e-9){return Math.abs(this.m00-e.m00)<r&&Math.abs(this.m01-e.m01)<r&&Math.abs(this.m02-e.m02)<r&&Math.abs(this.m10-e.m10)<r&&Math.abs(this.m11-e.m11)<r&&Math.abs(this.m12-e.m12)<r}timesScalar(e){const{m00:r,m01:t,m02:a,m10:i,m11:o,m12:s}=this;return new n(e*r,e*t,e*a,e*i,e*o,e*s)}det(){const{m00:e,m01:r,m02:t,m10:a,m11:n,m12:i}=this;return e*(1*n-0*i)-r*(1*a-0*i)+t*(0*a-0*n)}adj(){const{m00:e,m01:r,m02:t,m10:a,m11:i,m12:o}=this;return new n(+(1*i-0*o),-(1*r-0*t),+(r*o-t*i),-(1*a-0*o),+(1*e-0*t),-(e*o-t*a))}inverted(){const e=this.det();return 0===e?null:this.adj().timesScalar(1/e)}transformVector(e){return new a(e.x*this.m00+e.y*this.m01,e.x*this.m10+e.y*this.m11)}inverseTransformVector(e){const r=this.inverted();return r?r.transformVector(e):null}transformPosition(e){return new a(e.x*this.m00+e.y*this.m01+this.m02,e.x*this.m10+e.y*this.m11+this.m12)}inverseTransformPosition(e){const r=this.inverted();return r?r.transformPosition(e):null}transformRect(e){const r=this.transformVector(e.size),t=this.transformPosition(e.origin);return r.x<0&&r.y<0?new i(t.plus(r),r.abs()):r.x<0?new i(t.withX(t.x+r.x),r.abs()):r.y<0?new i(t.withY(t.y+r.y),r.abs()):new i(t,r)}inverseTransformRect(e){const r=this.inverted();return r?r.transformRect(e):null}flatten(){return[this.m00,this.m10,0,this.m01,this.m11,0,this.m02,this.m12,1]}}r.AffineTransform=n;let i=(()=>{class e{constructor(e,r){this.origin=e,this.size=r}isEmpty(){return 0==this.width()||0==this.height()}width(){return this.size.x}height(){return this.size.y}left(){return this.origin.x}right(){return this.left()+this.width()}top(){return this.origin.y}bottom(){return this.top()+this.height()}topLeft(){return this.origin}topRight(){return this.origin.plus(new a(this.width(),0))}bottomRight(){return this.origin.plus(this.size)}bottomLeft(){return this.origin.plus(new a(0,this.height()))}withOrigin(r){return new e(r,this.size)}withSize(r){return new e(this.origin,r)}closestPointTo(e){return new a(t(e.x,this.left(),this.right()),t(e.y,this.top(),this.bottom()))}distanceFrom(e){return e.minus(this.closestPointTo(e)).length()}contains(e){return 0===this.distanceFrom(e)}hasIntersectionWith(e){const r=Math.max(this.top(),e.top());if(Math.max(r,Math.min(this.bottom(),e.bottom()))-r==0)return!1;const t=Math.max(this.left(),e.left());return Math.max(t,Math.min(this.right(),e.right()))-t!=0}intersectWith(r){const t=a.max(this.topLeft(),r.topLeft()),n=a.max(t,a.min(this.bottomRight(),r.bottomRight()));return new e(t,n.minus(t))}equals(e){return this.origin.equals(e.origin)&&this.size.equals(e.size)}approxEquals(e){return this.origin.approxEquals(e.origin)&&this.size.approxEquals(e.size)}area(){return this.size.x*this.size.y}}return e.empty=new e(a.zero,a.zero),e.unit=new e(a.zero,a.unit),e.NDC=new e(new a(-1,-1),new a(2,2)),e})();r.Rect=i},2211:function(e,r,t){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,r,t,a){void 0===a&&(a=t),Object.defineProperty(e,a,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,a){void 0===a&&(a=t),e[a]=r[t]}),n=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var t in e)Object.hasOwnProperty.call(e,t)&&a(r,e,t);return n(r,e),r},o=this&&this.__awaiter||function(e,r,t,a){return new(t||(t=Promise))((function(n,i){function o(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a.throw(e))}catch(e){i(e)}}function l(e){var r;e.done?n(e.value):(r=e.value,r instanceof t?r:new t((function(e){e(r)}))).then(o,s)}l((a=a.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0}),r.CallTreeProfileBuilder=r.StackListProfileBuilder=r.Profile=r.CallTreeNode=r.Frame=r.HasWeights=void 0;const s=t(7844),l=t(8218),u=Promise.resolve().then((()=>i(t(765))));u.then((()=>{}));class c{constructor(){this.selfWeight=0,this.totalWeight=0}getSelfWeight(){return this.selfWeight}getTotalWeight(){return this.totalWeight}addToTotalWeight(e){this.totalWeight+=e}addToSelfWeight(e){this.selfWeight+=e}overwriteWeightWith(e){this.selfWeight=e.selfWeight,this.totalWeight=e.totalWeight}}r.HasWeights=c;let f=(()=>{class e extends c{constructor(e){super(),this.key=e.key,this.name=e.name,this.file=e.file,this.line=e.line,this.col=e.col}static getOrInsert(r,t){return r.getOrInsert(new e(t))}}return e.root=new e({key:"(speedscope root)",name:"(speedscope root)"}),e})();r.Frame=f;class v extends c{constructor(e,r){super(),this.frame=e,this.parent=r,this.children=[],this.frozen=!1}isRoot(){return this.frame===f.root}isFrozen(){return this.frozen}freeze(){this.frozen=!0}}r.CallTreeNode=v;class d{constructor(e=0){this.name="",this.frames=new s.KeyedSet,this.appendOrderCalltreeRoot=new v(f.root,null),this.groupedCalltreeRoot=new v(f.root,null),this.samples=[],this.weights=[],this.valueFormatter=new l.RawValueFormatter,this.totalNonIdleWeight=null,this.totalWeight=e}getAppendOrderCalltreeRoot(){return this.appendOrderCalltreeRoot}getGroupedCalltreeRoot(){return this.groupedCalltreeRoot}formatValue(e){return this.valueFormatter.format(e)}setValueFormatter(e){this.valueFormatter=e}getWeightUnit(){return this.valueFormatter.unit}getName(){return this.name}setName(e){this.name=e}getTotalWeight(){return this.totalWeight}getTotalNonIdleWeight(){return null===this.totalNonIdleWeight&&(this.totalNonIdleWeight=this.groupedCalltreeRoot.children.reduce(((e,r)=>e+r.getTotalWeight()),0)),this.totalNonIdleWeight}sortGroupedCallTree(){!function e(r){r.children.sort(((e,r)=>-(e.getTotalWeight()-r.getTotalWeight()))),r.children.forEach(e)}(this.groupedCalltreeRoot)}forEachCallGrouped(e,r){!function t(a,n){a.frame!==f.root&&e(a,n);let i=0;a.children.forEach((function(e){t(e,n+i),i+=e.getTotalWeight()})),a.frame!==f.root&&r(a,n+a.getTotalWeight())}(this.groupedCalltreeRoot,0)}forEachCall(e,r){let t=[],a=0,n=0;for(let i of this.samples){let o=null;for(o=i;o&&o.frame!=f.root&&-1===t.indexOf(o);o=o.parent);for(;t.length>0&&s.lastOf(t)!=o;)r(t.pop(),a);const l=[];for(let e=i;e&&e.frame!=f.root&&e!=o;e=e.parent)l.push(e);l.reverse();for(let r of l)e(r,a);t=t.concat(l),a+=this.weights[n++]}for(let e=t.length-1;e>=0;e--)r(t[e],a)}forEachFrame(e){this.frames.forEach(e)}getProfileWithRecursionFlattened(){const e=new _,r=[],t=new Set;this.forEachCall((function(a,n){t.has(a.frame)?r.push(null):(t.add(a.frame),r.push(a),e.enterFrame(a.frame,n))}),(function(a,n){const i=r.pop();i&&(t.delete(i.frame),e.leaveFrame(i.frame,n))}));const a=e.build();return a.name=this.name,a.valueFormatter=this.valueFormatter,this.forEachFrame((e=>{a.frames.getOrInsert(e).overwriteWeightWith(e)})),a}getInvertedProfileForCallersOf(e){const r=f.getOrInsert(this.frames,e),t=new h,a=[];!function e(t){if(t.frame===r)a.push(t);else for(let r of t.children)e(r)}(this.appendOrderCalltreeRoot);for(let e of a){const r=[];for(let t=e;null!=t&&t.frame!==f.root;t=t.parent)r.push(t.frame);t.appendSampleWithWeight(r,e.getTotalWeight())}const n=t.build();return n.name=this.name,n.valueFormatter=this.valueFormatter,n}getProfileForCalleesOf(e){const r=f.getOrInsert(this.frames,e),t=new h;!function e(a){if(a.frame===r)!function(e){const r=[];!function e(a){r.push(a.frame),t.appendSampleWithWeight(r,a.getSelfWeight());for(let r of a.children)e(r);r.pop()}(e)}(a);else for(let r of a.children)e(r)}(this.appendOrderCalltreeRoot);const a=t.build();return a.name=this.name,a.valueFormatter=this.valueFormatter,a}demangle(){return o(this,void 0,void 0,(function*(){let e=null;for(let r of this.frames)r.name.startsWith("__Z")&&(e||(e=(yield u).demangleCpp),r.name=e(r.name))}))}remapNames(e){for(let r of this.frames)r.name=e(r.name)}}r.Profile=d;class h extends d{constructor(){super(...arguments),this.pendingSample=null}_appendSample(e,r,t){if(isNaN(r))throw new Error("invalid weight");let a=t?this.appendOrderCalltreeRoot:this.groupedCalltreeRoot,n=new Set;for(let i of e){const e=f.getOrInsert(this.frames,i),o=t?s.lastOf(a.children):a.children.find((r=>r.frame===e));if(o&&!o.isFrozen()&&o.frame==e)a=o;else{const r=a;a=new v(e,a),r.children.push(a)}a.addToTotalWeight(r),n.add(a.frame)}if(a.addToSelfWeight(r),t)for(let e of a.children)e.freeze();if(t){a.frame.addToSelfWeight(r);for(let e of n)e.addToTotalWeight(r);a===s.lastOf(this.samples)?this.weights[this.weights.length-1]+=r:(this.samples.push(a),this.weights.push(r))}}appendSampleWithWeight(e,r){if(0!==r){if(r<0)throw new Error("Samples must have positive weights");this._appendSample(e,r,!0),this._appendSample(e,r,!1)}}appendSampleWithTimestamp(e,r){if(this.pendingSample){if(r<this.pendingSample.centralTimestamp)throw new Error("Timestamps received out of order");const t=(r+this.pendingSample.centralTimestamp)/2;this.appendSampleWithWeight(this.pendingSample.stack,t-this.pendingSample.startTimestamp),this.pendingSample={stack:e,startTimestamp:t,centralTimestamp:r}}else this.pendingSample={stack:e,startTimestamp:r,centralTimestamp:r}}build(){return this.pendingSample&&(this.samples.length>0?this.appendSampleWithWeight(this.pendingSample.stack,this.pendingSample.centralTimestamp-this.pendingSample.startTimestamp):(this.appendSampleWithWeight(this.pendingSample.stack,1),this.setValueFormatter(new l.RawValueFormatter))),this.totalWeight=Math.max(this.totalWeight,this.weights.reduce(((e,r)=>e+r),0)),this.sortGroupedCallTree(),this}}r.StackListProfileBuilder=h;class _ extends d{constructor(){super(...arguments),this.appendOrderStack=[this.appendOrderCalltreeRoot],this.groupedOrderStack=[this.groupedCalltreeRoot],this.framesInStack=new Map,this.stack=[],this.lastValue=0}addWeightsToFrames(e){const r=e-this.lastValue;for(let e of this.framesInStack.keys())e.addToTotalWeight(r);const t=s.lastOf(this.stack);t&&t.addToSelfWeight(r)}addWeightsToNodes(e,r){const t=e-this.lastValue;for(let e of r)e.addToTotalWeight(t);const a=s.lastOf(r);a&&a.addToSelfWeight(t)}_enterFrame(e,r,t){let a=t?this.appendOrderStack:this.groupedOrderStack;this.addWeightsToNodes(r,a);let n=s.lastOf(a);if(n){if(t){const e=r-this.lastValue;if(e>0)this.samples.push(n),this.weights.push(r-this.lastValue);else if(e<0)throw new Error(`Samples must be provided in increasing order of cumulative value. Last sample was ${this.lastValue}, this sample was ${r}`)}const i=t?s.lastOf(n.children):n.children.find((r=>r.frame===e));let o;i&&!i.isFrozen()&&i.frame==e?o=i:(o=new v(e,n),n.children.push(o)),a.push(o)}}enterFrame(e,r){const t=f.getOrInsert(this.frames,e);this.addWeightsToFrames(r),this._enterFrame(t,r,!0),this._enterFrame(t,r,!1),this.stack.push(t);const a=this.framesInStack.get(t)||0;this.framesInStack.set(t,a+1),this.lastValue=r}_leaveFrame(e,r,t){let a=t?this.appendOrderStack:this.groupedOrderStack;if(this.addWeightsToNodes(r,a),t){const t=this.appendOrderStack.pop();if(null==t)throw new Error(`Trying to leave ${e.key} when stack is empty`);if(null==this.lastValue)throw new Error(`Trying to leave a ${e.key} before any have been entered`);if(t.freeze(),t.frame.key!==e.key)throw new Error(`Tried to leave frame "${e.name}" while frame "${t.frame.name}" was at the top at ${r}`);const a=r-this.lastValue;if(a>0)this.samples.push(t),this.weights.push(r-this.lastValue);else if(a<0)throw new Error(`Samples must be provided in increasing order of cumulative value. Last sample was ${this.lastValue}, this sample was ${r}`)}else this.groupedOrderStack.pop()}leaveFrame(e,r){const t=f.getOrInsert(this.frames,e);this.addWeightsToFrames(r),this._leaveFrame(t,r,!0),this._leaveFrame(t,r,!1),this.stack.pop();const a=this.framesInStack.get(t);null!=a&&(1===a?this.framesInStack.delete(t):this.framesInStack.set(t,a-1),this.lastValue=r,this.totalWeight=Math.max(this.totalWeight,this.lastValue))}build(){if(this.appendOrderStack.length>1||this.groupedOrderStack.length>1)throw new Error("Tried to complete profile construction with a non-empty stack");return this.sortGroupedCallTree(),this}}r.CallTreeProfileBuilder=_},7844:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.decodeBase64=r.lazyStatic=r.memoizeByReference=r.memoizeByShallowEquality=r.objectsHaveShallowEquality=r.noop=r.binarySearch=r.triangle=r.fract=r.formatPercent=r.zeroPad=r.itReduce=r.itForEach=r.itMap=r.KeyedSet=r.getOrThrow=r.getOrElse=r.getOrInsert=r.sortBy=r.lastOf=void 0,r.lastOf=function(e){return e[e.length-1]||null},r.sortBy=function(e,r){e.sort((function(e,t){const a=r(e),n=r(t);return a<n?-1:a>n?1:0}))},r.getOrInsert=function(e,r,t){return e.has(r)||e.set(r,t(r)),e.get(r)},r.getOrElse=function(e,r,t){return e.has(r)?e.get(r):t(r)},r.getOrThrow=function(e,r){if(!e.has(r))throw new Error(`Expected key ${r}`);return e.get(r)};class t{constructor(){this.map=new Map}getOrInsert(e){const r=e.key;return this.map.get(r)||(this.map.set(r,e),e)}forEach(e){this.map.forEach(e)}[Symbol.iterator](){return this.map.values()}}function a(e){return e-Math.floor(e)}function n(e,r){for(let t in e)if(e[t]!==r[t])return!1;for(let t in r)if(e[t]!==r[t])return!1;return!0}function i(e){let r=null;return()=>(null==r&&(r={result:e()}),r.result)}r.KeyedSet=t,r.itMap=function*(e,r){for(let t of e)yield r(t)},r.itForEach=function(e,r){for(let t of e)r(t)},r.itReduce=function(e,r,t){let a=t;for(let t of e)a=r(a,t);return a},r.zeroPad=function(e,r){return new Array(Math.max(r-e.length,0)+1).join("0")+e},r.formatPercent=function(e){let r=`${e.toFixed(0)}%`;return 100===e?r="100%":e>99?r=">99%":e<.01?r="<0.01%":e<1?r=`${e.toFixed(2)}%`:e<10&&(r=`${e.toFixed(1)}%`),r},r.fract=a,r.triangle=function(e){return 2*Math.abs(a(e)-.5)-1},r.binarySearch=function(e,r,t,a,n=1){for(console.assert(!isNaN(n)&&!isNaN(a));;){if(r-e<=n)return[e,r];const i=(r+e)/2;t(i)<a?e=i:r=i}},r.noop=function(...e){},r.objectsHaveShallowEquality=n,r.memoizeByShallowEquality=function(e){let r=null;return t=>{let a;return null==r?(a=e(t),r={args:t,result:a},a):(n(r.args,t)||(r.args=t,r.result=e(t)),r.result)}},r.memoizeByReference=function(e){let r=null;return t=>{let a;return null==r?(a=e(t),r={args:t,result:a},a):(r.args===t||(r.args=t,r.result=e(t)),r.result)}},r.lazyStatic=i;const o=i((()=>{const e=new Map;for(let r=0;r<64;r++)e.set("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r),r);return e.set("=",-1),e}));r.decodeBase64=function(e){const r=o();if(e.length%4!=0)throw new Error(`Invalid length for base64 encoded string. Expected length % 4 = 0, got length = ${e.length}`);const t=e.length/4;let a;a=e.length>=4&&"="===e.charAt(e.length-1)?"="===e.charAt(e.length-2)?3*t-2:3*t-1:3*t;const n=new Uint8Array(a);let i=0;for(let a=0;a<t;a++){const t=e.charAt(4*a+0),o=e.charAt(4*a+1),s=e.charAt(4*a+2),l=e.charAt(4*a+3),u=r.get(t),c=r.get(o),f=r.get(s),v=r.get(l);if(null==u||null==c||null==f||null==v)throw new Error(`Invalid quartet at indices ${4*a} .. ${4*a+3}: ${e.substring(4*a,4*a+3)}`);n[i++]=u<<2|c>>4,"="!==s&&(n[i++]=(15&c)<<4|f>>2),"="!==l&&(n[i++]=(7&f)<<6|v)}if(i!==a)throw new Error(`Expected to decode ${a} bytes, but only decoded ${i})`);return n}},8218:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ByteFormatter=r.TimeFormatter=r.RawValueFormatter=void 0;const a=t(7844);r.RawValueFormatter=class{constructor(){this.unit="none"}format(e){return e.toLocaleString()}},r.TimeFormatter=class{constructor(e){this.unit=e,this.multiplier="nanoseconds"===e?1e-9:"microseconds"===e?1e-6:"milliseconds"===e?.001:1}formatUnsigned(e){const r=e*this.multiplier;if(r/60>=1){const e=Math.floor(r/60),t=Math.floor(r-60*e).toString();return`${e}:${a.zeroPad(t,2)}`}return r/1>=1?`${r.toFixed(2)}s`:r/.001>=1?`${(r/.001).toFixed(2)}ms`:r/1e-6>=1?`${(r/1e-6).toFixed(2)}µs`:`${(r/1e-9).toFixed(2)}ns`}format(e){return`${e<0?"-":""}${this.formatUnsigned(Math.abs(e))}`}},r.ByteFormatter=class{constructor(){this.unit="bytes"}format(e){return e<1024?`${e.toFixed(0)} B`:(e/=1024)<1024?`${e.toFixed(2)} KB`:(e/=1024)<1024?`${e.toFixed(2)} MB`:`${(e/=1024).toFixed(2)} GB`}}},5041:function(e,r,t){"use strict";var a=this&&this.__createBinding||(Object.create?function(e,r,t,a){void 0===a&&(a=t),Object.defineProperty(e,a,{enumerable:!0,get:function(){return r[t]}})}:function(e,r,t,a){void 0===a&&(a=t),e[a]=r[t]}),n=this&&this.__exportStar||function(e,r){for(var t in e)"default"===t||r.hasOwnProperty(t)||a(r,e,t)};Object.defineProperty(r,"__esModule",{value:!0}),n(t(3496),r),n(t(6121),r)},3537:e=>{e.exports=function(){if("undefined"==typeof document||!document.addEventListener)return null;var r,t,a,n={};return n.copy=function(){var e=!1,r=null,t=!1;function a(){e=!1,r=null,t&&window.getSelection().removeAllRanges(),t=!1}return document.addEventListener("copy",(function(t){if(e){for(var a in r)t.clipboardData.setData(a,r[a]);t.preventDefault()}})),function(n){return new Promise((function(i,o){e=!0,"string"==typeof n?r={"text/plain":n}:n instanceof Node?r={"text/html":(new XMLSerializer).serializeToString(n)}:n instanceof Object?r=n:o("Invalid data type. Must be string, DOM node, or an object mapping MIME types to strings."),function e(r){try{if(document.execCommand("copy"))a(),i();else{if(r)throw a(),new Error("Unable to copy. Perhaps it's not available in your browser?");(function(){var e=document.getSelection();if(!document.queryCommandEnabled("copy")&&e.isCollapsed){var r=document.createRange();r.selectNodeContents(document.body),e.removeAllRanges(),e.addRange(r),t=!0}})(),e(!0)}}catch(e){a(),o(e)}}(!1)}))}}(),n.paste=(a=!1,document.addEventListener("paste",(function(e){if(a){a=!1,e.preventDefault();var n=r;r=null,n(e.clipboardData.getData(t))}})),function(e){return new Promise((function(n,i){a=!0,r=n,t=e||"text/plain";try{document.execCommand("paste")||(a=!1,i(new Error("Unable to paste. Pasting only works in Internet Explorer at the moment.")))}catch(e){a=!1,i(new Error(e))}}))}),"undefined"==typeof ClipboardEvent&&void 0!==window.clipboardData&&void 0!==window.clipboardData.setData&&(function(r){function t(e,r){return function(){e.apply(r,arguments)}}function a(e){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof e)throw new TypeError("not a function");this._state=null,this._value=null,this._deferreds=[],u(e,t(i,this),t(o,this))}function n(e){var r=this;return null===this._state?void this._deferreds.push(e):void c((function(){var t=r._state?e.onFulfilled:e.onRejected;if(null!==t){var a;try{a=t(r._value)}catch(r){return void e.reject(r)}e.resolve(a)}else(r._state?e.resolve:e.reject)(r._value)}))}function i(e){try{if(e===this)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if("function"==typeof r)return void u(t(r,e),t(i,this),t(o,this))}this._state=!0,this._value=e,s.call(this)}catch(e){o.call(this,e)}}function o(e){this._state=!1,this._value=e,s.call(this)}function s(){for(var e=0,r=this._deferreds.length;r>e;e++)n.call(this,this._deferreds[e]);this._deferreds=null}function l(e,r,t,a){this.onFulfilled="function"==typeof e?e:null,this.onRejected="function"==typeof r?r:null,this.resolve=t,this.reject=a}function u(e,r,t){var a=!1;try{e((function(e){a||(a=!0,r(e))}),(function(e){a||(a=!0,t(e))}))}catch(e){if(a)return;a=!0,t(e)}}var c=a.immediateFn||"function"==typeof setImmediate&&setImmediate||function(e){setTimeout(e,1)},f=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};a.prototype.catch=function(e){return this.then(null,e)},a.prototype.then=function(e,r){var t=this;return new a((function(a,i){n.call(t,new l(e,r,a,i))}))},a.all=function(){var e=Array.prototype.slice.call(1===arguments.length&&f(arguments[0])?arguments[0]:arguments);return new a((function(r,t){function a(i,o){try{if(o&&("object"==typeof o||"function"==typeof o)){var s=o.then;if("function"==typeof s)return void s.call(o,(function(e){a(i,e)}),t)}e[i]=o,0==--n&&r(e)}catch(e){t(e)}}if(0===e.length)return r([]);for(var n=e.length,i=0;i<e.length;i++)a(i,e[i])}))},a.resolve=function(e){return e&&"object"==typeof e&&e.constructor===a?e:new a((function(r){r(e)}))},a.reject=function(e){return new a((function(r,t){t(e)}))},a.race=function(e){return new a((function(r,t){for(var a=0,n=e.length;n>a;a++)e[a].then(r,t)}))},e.exports?e.exports=a:r.Promise||(r.Promise=a)}(this),n.copy=function(e){return new Promise((function(r,t){if("string"!=typeof e&&!("text/plain"in e))throw new Error("You must provide a text/plain type.");var a="string"==typeof e?e:e["text/plain"];window.clipboardData.setData("Text",a)?r():t(new Error("Copying was rejected."))}))},n.paste=function(){return new Promise((function(e,r){var t=window.clipboardData.getData("Text");t?e(t):r(new Error("Pasting was rejected."))}))}),n}()},5751:e=>{e.exports=function(e){var r=[];return r.toString=function(){return this.map((function(r){var t=function(e,r){var t,a=e[1]||"",n=e[3];if(!n)return a;if(r&&"function"==typeof btoa){var i=(t=n,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"),o=n.sources.map((function(e){return"/*# sourceURL="+n.sourceRoot+e+" */"}));return[a].concat(o).concat([i]).join("\n")}return[a].join("\n")}(r,e);return r[2]?"@media "+r[2]+"{"+t+"}":t})).join("")},r.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},n=0;n<this.length;n++){var i=this[n][0];"number"==typeof i&&(a[i]=!0)}for(n=0;n<e.length;n++){var o=e[n];"number"==typeof o[0]&&a[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),r.push(o))}},r}},8715:function(e,r,t){var a,n,i;!function(o,s){"use strict";n=[t(7356)],void 0===(i="function"==typeof(a=function(e){var r=/(^|@)\S+:\d+/,t=/^\s*at .*(\S+:\d+|\(native\))/m,a=/^(eval@)?(\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(t))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var r=/(.+?)(?::(\d+))?(?::(\d+))?$/.exec(e.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},parseV8OrIE:function(r){return r.stack.split("\n").filter((function(e){return!!e.match(t)}),this).map((function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(\),.*$)/g,""));var t=r.replace(/^\s+/,"").replace(/\(eval code/g,"("),a=t.match(/ (\((.+):(\d+):(\d+)\)$)/),n=(t=a?t.replace(a[0],""):t).split(/\s+/).slice(1),i=this.extractLocation(a?a[1]:n.pop()),o=n.join(" ")||void 0,s=["eval","<anonymous>"].indexOf(i[0])>-1?void 0:i[0];return new e({functionName:o,fileName:s,lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseFFOrSafari:function(r){return r.stack.split("\n").filter((function(e){return!e.match(a)}),this).map((function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),-1===r.indexOf("@")&&-1===r.indexOf(":"))return new e({functionName:r});var t=/((.*".+"[^@]*)?[^@]*)(?:@)/,a=r.match(t),n=a&&a[1]?a[1]:void 0,i=this.extractLocation(r.replace(t,""));return new e({functionName:n,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:r})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)/i,a=r.message.split("\n"),n=[],i=2,o=a.length;i<o;i+=2){var s=t.exec(a[i]);s&&n.push(new e({fileName:s[2],lineNumber:s[1],source:a[i]}))}return n},parseOpera10:function(r){for(var t=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,a=r.stacktrace.split("\n"),n=[],i=0,o=a.length;i<o;i+=2){var s=t.exec(a[i]);s&&n.push(new e({functionName:s[3]||void 0,fileName:s[2],lineNumber:s[1],source:a[i]}))}return n},parseOpera11:function(t){return t.stack.split("\n").filter((function(e){return!!e.match(r)&&!e.match(/^Error created at/)}),this).map((function(r){var t,a=r.split("@"),n=this.extractLocation(a.pop()),i=a.shift()||"",o=i.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0;i.match(/\(([^)]*)\)/)&&(t=i.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var s=void 0===t||"[arguments not available]"===t?void 0:t.split(",");return new e({functionName:o,args:s,fileName:n[0],lineNumber:n[1],columnNumber:n[2],source:r})}),this)}}})?a.apply(r,n):a)||(e.exports=i)}()},1014:e=>{"use strict";var r=/[|\\{}()[\]^$+*?.]/g;e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(r,"\\$&")}},5677:e=>{var r="Expected a function",t=NaN,a="[object Symbol]",n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof global&&global&&global.Object===Object&&global,c="object"==typeof self&&self&&self.Object===Object&&self,f=u||c||Function("return this")(),v=Object.prototype.toString,d=Math.max,h=Math.min,_=function(){return f.Date.now()};function m(e){var r=typeof e;return!!e&&("object"==r||"function"==r)}function p(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&v.call(e)==a}(e))return t;if(m(e)){var r="function"==typeof e.valueOf?e.valueOf():e;e=m(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var u=o.test(e);return u||s.test(e)?l(e.slice(2),u?2:8):i.test(e)?t:+e}e.exports=function(e,t,a){var n=!0,i=!0;if("function"!=typeof e)throw new TypeError(r);return m(a)&&(n="leading"in a?!!a.leading:n,i="trailing"in a?!!a.trailing:i),function(e,t,a){var n,i,o,s,l,u,c=0,f=!1,v=!1,S=!0;if("function"!=typeof e)throw new TypeError(r);function g(r){var t=n,a=i;return n=i=void 0,c=r,s=e.apply(a,t)}function b(e){var r=e-u;return void 0===u||r>=t||r<0||v&&e-c>=o}function w(){var e=_();if(b(e))return E(e);l=setTimeout(w,function(e){var r=t-(e-u);return v?h(r,o-(e-c)):r}(e))}function E(e){return l=void 0,S&&n?g(e):(n=i=void 0,s)}function y(){var e=_(),r=b(e);if(n=arguments,i=this,u=e,r){if(void 0===l)return function(e){return c=e,l=setTimeout(w,t),f?g(e):s}(u);if(v)return l=setTimeout(w,t),g(u)}return void 0===l&&(l=setTimeout(w,t)),s}return t=p(t)||0,m(a)&&(f=!!a.leading,o=(v="maxWait"in a)?d(p(a.maxWait)||0,t):o,S="trailing"in a?!!a.trailing:S),y.cancel=function(){void 0!==l&&clearTimeout(l),c=0,n=u=i=l=void 0},y.flush=function(){return void 0===l?s:E(_())},y}(e,t,{leading:n,maxWait:t,trailing:i})}},3018:(e,r,t)=>{"use strict";var a=t(397);e.exports=S;var n,i=t(7745),o=t(3837),s=t(5986),l=(n="function"==typeof Symbol&&"1"!==a.env._nodeLRUCacheForceNoSymbol?function(e){return Symbol(e)}:function(e){return"_"+e})("max"),u=n("length"),c=n("lengthCalculator"),f=n("allowStale"),v=n("maxAge"),d=n("dispose"),h=n("noDisposeOnSet"),_=n("lruList"),m=n("cache");function p(){return 1}function S(e){if(!(this instanceof S))return new S(e);"number"==typeof e&&(e={max:e}),e||(e={});var r=this[l]=e.max;(!r||"number"!=typeof r||r<=0)&&(this[l]=1/0);var t=e.length||p;"function"!=typeof t&&(t=p),this[c]=t,this[f]=e.stale||!1,this[v]=e.maxAge||0,this[d]=e.dispose,this[h]=e.noDisposeOnSet||!1,this.reset()}function g(e,r,t,a){var n=t.value;w(e,n)&&(y(e,t),e[f]||(n=void 0)),n&&r.call(a,n.value,n.key,e)}function b(e,r,t){var a=e[m].get(r);if(a){var n=a.value;w(e,n)?(y(e,a),e[f]||(n=void 0)):t&&e[_].unshiftNode(a),n&&(n=n.value)}return n}function w(e,r){if(!r||!r.maxAge&&!e[v])return!1;var t=Date.now()-r.now;return r.maxAge?t>r.maxAge:e[v]&&t>e[v]}function E(e){if(e[u]>e[l])for(var r=e[_].tail;e[u]>e[l]&&null!==r;){var t=r.prev;y(e,r),r=t}}function y(e,r){if(r){var t=r.value;e[d]&&e[d](t.key,t.value),e[u]-=t.length,e[m].delete(t.key),e[_].removeNode(r)}}function k(e,r,t,a,n){this.key=e,this.value=r,this.length=t,this.now=a,this.maxAge=n||0}Object.defineProperty(S.prototype,"max",{set:function(e){(!e||"number"!=typeof e||e<=0)&&(e=1/0),this[l]=e,E(this)},get:function(){return this[l]},enumerable:!0}),Object.defineProperty(S.prototype,"allowStale",{set:function(e){this[f]=!!e},get:function(){return this[f]},enumerable:!0}),Object.defineProperty(S.prototype,"maxAge",{set:function(e){(!e||"number"!=typeof e||e<0)&&(e=0),this[v]=e,E(this)},get:function(){return this[v]},enumerable:!0}),Object.defineProperty(S.prototype,"lengthCalculator",{set:function(e){"function"!=typeof e&&(e=p),e!==this[c]&&(this[c]=e,this[u]=0,this[_].forEach((function(e){e.length=this[c](e.value,e.key),this[u]+=e.length}),this)),E(this)},get:function(){return this[c]},enumerable:!0}),Object.defineProperty(S.prototype,"length",{get:function(){return this[u]},enumerable:!0}),Object.defineProperty(S.prototype,"itemCount",{get:function(){return this[_].length},enumerable:!0}),S.prototype.rforEach=function(e,r){r=r||this;for(var t=this[_].tail;null!==t;){var a=t.prev;g(this,e,t,r),t=a}},S.prototype.forEach=function(e,r){r=r||this;for(var t=this[_].head;null!==t;){var a=t.next;g(this,e,t,r),t=a}},S.prototype.keys=function(){return this[_].toArray().map((function(e){return e.key}),this)},S.prototype.values=function(){return this[_].toArray().map((function(e){return e.value}),this)},S.prototype.reset=function(){this[d]&&this[_]&&this[_].length&&this[_].forEach((function(e){this[d](e.key,e.value)}),this),this[m]=new i,this[_]=new s,this[u]=0},S.prototype.dump=function(){return this[_].map((function(e){if(!w(this,e))return{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}}),this).toArray().filter((function(e){return e}))},S.prototype.dumpLru=function(){return this[_]},S.prototype.inspect=function(e,r){var t="LRUCache {",a=!1;this[f]&&(t+="\n  allowStale: true",a=!0);var n=this[l];n&&n!==1/0&&(a&&(t+=","),t+="\n  max: "+o.inspect(n,r),a=!0);var i=this[v];i&&(a&&(t+=","),t+="\n  maxAge: "+o.inspect(i,r),a=!0);var s=this[c];s&&s!==p&&(a&&(t+=","),t+="\n  length: "+o.inspect(this[u],r),a=!0);var d=!1;return this[_].forEach((function(e){d?t+=",\n  ":(a&&(t+=",\n"),d=!0,t+="\n  ");var n=o.inspect(e.key).split("\n").join("\n  "),l={value:e.value};e.maxAge!==i&&(l.maxAge=e.maxAge),s!==p&&(l.length=e.length),w(this,e)&&(l.stale=!0),l=o.inspect(l,r).split("\n").join("\n  "),t+=n+" => "+l})),(d||a)&&(t+="\n"),t+="}"},S.prototype.set=function(e,r,t){var a=(t=t||this[v])?Date.now():0,n=this[c](r,e);if(this[m].has(e)){if(n>this[l])return y(this,this[m].get(e)),!1;var i=this[m].get(e).value;return this[d]&&(this[h]||this[d](e,i.value)),i.now=a,i.maxAge=t,i.value=r,this[u]+=n-i.length,i.length=n,this.get(e),E(this),!0}var o=new k(e,r,n,a,t);return o.length>this[l]?(this[d]&&this[d](e,r),!1):(this[u]+=o.length,this[_].unshift(o),this[m].set(e,this[_].head),E(this),!0)},S.prototype.has=function(e){return!!this[m].has(e)&&!w(this,this[m].get(e).value)},S.prototype.get=function(e){return b(this,e,!0)},S.prototype.peek=function(e){return b(this,e,!1)},S.prototype.pop=function(){var e=this[_].tail;return e?(y(this,e),e.value):null},S.prototype.del=function(e){y(this,this[m].get(e))},S.prototype.load=function(e){this.reset();for(var r=Date.now(),t=e.length-1;t>=0;t--){var a=e[t],n=a.e||0;if(0===n)this.set(a.k,a.v);else{var i=n-r;i>0&&this.set(a.k,a.v,i)}}},S.prototype.prune=function(){var e=this;this[m].forEach((function(r,t){b(e,t,!1)}))}},4069:e=>{"use strict";function r(e,r){if(null!=e)return e;var t=new Error(void 0!==r?r:"Got unexpected "+e);throw t.framesToPop=1,t}e.exports=r,e.exports.default=r,Object.defineProperty(e.exports,"__esModule",{value:!0})},3014:e=>{"use strict";e.exports=e=>{if("number"!=typeof e)throw new TypeError("Expected a number");const r=e>0?Math.floor:Math.ceil;return{days:r(e/864e5),hours:r(e/36e5)%24,minutes:r(e/6e4)%60,seconds:r(e/1e3)%60,milliseconds:r(e)%1e3,microseconds:r(1e3*e)%1e3,nanoseconds:r(1e6*e)%1e3}}},894:(e,r,t)=>{"use strict";const a=t(3014);e.exports=(e,r={})=>{if(!Number.isFinite(e))throw new TypeError("Expected a finite number");r.colonNotation&&(r.compact=!1,r.formatSubMilliseconds=!1,r.separateMilliseconds=!1,r.verbose=!1),r.compact&&(r.secondsDecimalDigits=0,r.millisecondsDecimalDigits=0);const t=[],n=(e,a,n,i)=>{if(!(0!==t.length&&r.colonNotation||0!==e||r.colonNotation&&"m"===n))return;let o,s;if(i=(i||e||"0").toString(),r.colonNotation){o=t.length>0?":":"",s="";const e=i.includes(".")?i.split(".")[0].length:i.length,r=t.length>0?2:1;i="0".repeat(Math.max(0,r-e))+i}else o="",s=r.verbose?" "+(l=a,1===e?l:`${l}s`):n;var l;t.push(o+i+s)},i=a(e);if(n(Math.trunc(i.days/365),"year","y"),n(i.days%365,"day","d"),n(i.hours,"hour","h"),n(i.minutes,"minute","m"),r.separateMilliseconds||r.formatSubMilliseconds||e<1e3)if(n(i.seconds,"second","s"),r.formatSubMilliseconds)n(i.milliseconds,"millisecond","ms"),n(i.microseconds,"microsecond","µs"),n(i.nanoseconds,"nanosecond","ns");else{const e=i.milliseconds+i.microseconds/1e3+i.nanoseconds/1e6,t="number"==typeof r.millisecondsDecimalDigits?r.millisecondsDecimalDigits:0,a=e>=1?Math.round(e):Math.ceil(e),o=t?e.toFixed(t):a;n(Number.parseFloat(o,10),"millisecond","ms",o)}else{const t=((e,r)=>{const t=Math.floor(e*10**r+1e-7);return(Math.round(t)/10**r).toFixed(r)})(e/1e3%60,"number"==typeof r.secondsDecimalDigits?r.secondsDecimalDigits:1),a=r.keepDecimalsOnWholeSeconds?t:t.replace(/\.0+$/,"");n(Number.parseFloat(a,10),"second","s",a)}if(0===t.length)return"0"+(r.verbose?" milliseconds":"ms");if(r.compact)return t[0];if("number"==typeof r.unitCount){const e=r.colonNotation?"":" ";return t.slice(0,Math.max(r.unitCount,1)).join(e)}return r.colonNotation?t.join(""):t.join(" ")}},397:e=>{var r,t,a=e.exports={};function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===n||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:n}catch(e){r=n}try{t="function"==typeof clearTimeout?clearTimeout:i}catch(e){t=i}}();var s,l=[],u=!1,c=-1;function f(){u&&s&&(u=!1,s.length?l=s.concat(l):c=-1,l.length&&v())}function v(){if(!u){var e=o(f);u=!0;for(var r=l.length;r;){for(s=l,l=[];++c<r;)s&&s[c].run();c=-1,r=l.length}s=null,u=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===i||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{return t(e)}catch(r){try{return t.call(null,e)}catch(r){return t.call(this,e)}}}(e)}}function d(e,r){this.fun=e,this.array=r}function h(){}a.nextTick=function(e){var r=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)r[t-1]=arguments[t];l.push(new d(e,r)),1!==l.length||u||o(v)},d.prototype.run=function(){this.fun.apply(null,this.array)},a.title="browser",a.browser=!0,a.env={},a.argv=[],a.version="",a.versions={},a.on=h,a.addListener=h,a.once=h,a.off=h,a.removeListener=h,a.removeAllListeners=h,a.emit=h,a.prependListener=h,a.prependOnceListener=h,a.listeners=function(e){return[]},a.binding=function(e){throw new Error("process.binding is not supported")},a.cwd=function(){return"/"},a.chdir=function(e){throw new Error("process.chdir is not supported")},a.umask=function(){return 0}},4793:(e,r,t)=>{"use strict";var a=t(5327);function n(){}function i(){}i.resetWarningCache=n,e.exports=function(){function e(e,r,t,n,i,o){if(o!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function r(){return e}e.isRequired=e;var t={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:n};return t.PropTypes=t,t}},3352:(e,r,t)=>{e.exports=t(4793)()},5327:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7745:(e,r,t)=>{var a=t(397);"pseudomap"===a.env.npm_package_name&&"test"===a.env.npm_lifecycle_script&&(a.env.TEST_PSEUDOMAP="true"),"function"!=typeof Map||a.env.TEST_PSEUDOMAP?e.exports=t(7503):e.exports=Map},7503:e=>{var r=Object.prototype.hasOwnProperty;function t(e){if(!(this instanceof t))throw new TypeError("Constructor PseudoMap requires 'new'");if(this.clear(),e)if(e instanceof t||"function"==typeof Map&&e instanceof Map)e.forEach((function(e,r){this.set(r,e)}),this);else{if(!Array.isArray(e))throw new TypeError("invalid argument");e.forEach((function(e){this.set(e[0],e[1])}),this)}}function a(e,r){return e===r||e!=e&&r!=r}function n(e,r,t){this.key=e,this.value=r,this._index=t}function i(e,t){for(var n=0,i="_"+t,o=i;r.call(e,o);o=i+n++)if(a(e[o].key,t))return e[o]}e.exports=t,t.prototype.forEach=function(e,r){r=r||this,Object.keys(this._data).forEach((function(t){"size"!==t&&e.call(r,this._data[t].value,this._data[t].key)}),this)},t.prototype.has=function(e){return!!i(this._data,e)},t.prototype.get=function(e){var r=i(this._data,e);return r&&r.value},t.prototype.set=function(e,t){!function(e,t,i){for(var o=0,s="_"+t,l=s;r.call(e,l);l=s+o++)if(a(e[l].key,t))return void(e[l].value=i);e.size++,e[l]=new n(t,i,l)}(this._data,e,t)},t.prototype.delete=function(e){var r=i(this._data,e);r&&(delete this._data[r._index],this._data.size--)},t.prototype.clear=function(){var e=Object.create(null);e.size=0,Object.defineProperty(this,"_data",{value:e,enumerable:!1,configurable:!0,writable:!1})},Object.defineProperty(t.prototype,"size",{get:function(){return this._data.size},set:function(e){},enumerable:!0,configurable:!0}),t.prototype.values=t.prototype.keys=t.prototype.entries=function(){throw new Error("iterators are not implemented in this version")}},8923:(e,r)=>{for(var t="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(",">>",">\\&","[&;()|<>]"].join("|")+")",a="|&;()<> \\t",n="(\\\\['\""+a+"]|[^\\s'\""+a+"])+",i="",o=0;o<4;o++)i+=(Math.pow(16,8)*Math.random()).toString(16);r.Q=function(e,r,a){var o=function(e,r,a){var o=new RegExp(["("+t+")","("+n+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')*"].join("|"),"g"),s=e.match(o).filter(Boolean),l=!1;return s?(r||(r={}),a||(a={}),s.map((function(e,n){if(!l){if(RegExp("^"+t+"$").test(e))return{op:e};for(var o=a.escape||"\\",u=!1,c=!1,f="",v=!1,d=0,h=e.length;d<h;d++){var _=e.charAt(d);if(v=v||!u&&("*"===_||"?"===_),c)f+=_,c=!1;else if(u)_===u?u=!1:"'"==u?f+=_:_===o?(d+=1,f+='"'===(_=e.charAt(d))||_===o||"$"===_?_:o+_):f+="$"===_?m():_;else if('"'===_||"'"===_)u=_;else{if(RegExp("^"+t+"$").test(_))return{op:e};if(RegExp("^#$").test(_))return l=!0,f.length?[f,{comment:e.slice(d+1)+s.slice(n+1).join(" ")}]:[{comment:e.slice(d+1)+s.slice(n+1).join(" ")}];_===o?c=!0:f+="$"===_?m():_}}return v?{op:"glob",pattern:f}:f}function m(){var t,a,n,o,s;if(d+=1,"{"===e.charAt(d)){if(d+=1,"}"===e.charAt(d))throw new Error("Bad substitution: "+e.substr(d-2,3));if((t=e.indexOf("}",d))<0)throw new Error("Bad substitution: "+e.substr(d));a=e.substr(d,t-d),d=t}else/[*@#?$!_\-]/.test(e.charAt(d))?(a=e.charAt(d),d+=1):(t=e.substr(d).match(/[^\w\d_]/))?(a=e.substr(d,t.index),d+=t.index-1):(a=e.substr(d),d=e.length);return n="",o=a,void 0===(s="function"==typeof r?r(o):r[o])&&""!=o?s="":void 0===s&&(s="$"),"object"==typeof s?n+i+JSON.stringify(s)+i:n+s}})).reduce((function(e,r){return void 0===r?e:e.concat(r)}),[])):[]}(e,r,a);return"function"!=typeof r?o:o.reduce((function(e,r){if("object"==typeof r)return e.concat(r);var t=r.split(RegExp("("+i+".*?"+i+")","g"));return 1===t.length?e.concat(t[0]):e.concat(t.filter(Boolean).map((function(e){return RegExp("^"+i).test(e)?JSON.parse(e.split(i)[1]):e})))}),[])}},7356:function(e,r){var t,a,n;!function(i,o){"use strict";a=[],void 0===(n="function"==typeof(t=function(){function e(e){return e.charAt(0).toUpperCase()+e.substring(1)}function r(e){return function(){return this[e]}}var t=["isConstructor","isEval","isNative","isToplevel"],a=["columnNumber","lineNumber"],n=["fileName","functionName","source"],i=t.concat(a,n,["args"]);function o(r){if(r)for(var t=0;t<i.length;t++)void 0!==r[i[t]]&&this["set"+e(i[t])](r[i[t]])}o.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof o)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new o(e)}},toString:function(){var e=this.getFileName()||"",r=this.getLineNumber()||"",t=this.getColumnNumber()||"",a=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+r+":"+t+")":"[eval]:"+r+":"+t:a?a+" ("+e+":"+r+":"+t+")":e+":"+r+":"+t}},o.fromString=function(e){var r=e.indexOf("("),t=e.lastIndexOf(")"),a=e.substring(0,r),n=e.substring(r+1,t).split(","),i=e.substring(t+1);if(0===i.indexOf("@"))var s=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(i,""),l=s[1],u=s[2],c=s[3];return new o({functionName:a,args:n||void 0,fileName:l,lineNumber:u||void 0,columnNumber:c||void 0})};for(var s=0;s<t.length;s++)o.prototype["get"+e(t[s])]=r(t[s]),o.prototype["set"+e(t[s])]=function(e){return function(r){this[e]=Boolean(r)}}(t[s]);for(var l=0;l<a.length;l++)o.prototype["get"+e(a[l])]=r(a[l]),o.prototype["set"+e(a[l])]=function(e){return function(r){if(t=r,isNaN(parseFloat(t))||!isFinite(t))throw new TypeError(e+" must be a Number");var t;this[e]=Number(r)}}(a[l]);for(var u=0;u<n.length;u++)o.prototype["get"+e(n[u])]=r(n[u]),o.prototype["set"+e(n[u])]=function(e){return function(r){this[e]=String(r)}}(n[u]);return o})?t.apply(r,a):t)||(e.exports=n)}()},2275:e=>{e.exports=function(e){var r="undefined"!=typeof window&&window.location;if(!r)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var t=r.protocol+"//"+r.host,a=t+r.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,r){var n,i=r.trim().replace(/^"(.*)"$/,(function(e,r){return r})).replace(/^'(.*)'$/,(function(e,r){return r}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(n=0===i.indexOf("//")?i:0===i.indexOf("/")?t+i:a+i.replace(/^\.\//,""),"url("+JSON.stringify(n)+")")}))}},8029:e=>{var r=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'],t=r.join(","),a="undefined"==typeof Element?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector;function n(e,r){r=r||{};var n,o,s,c=[],f=[],v=e.querySelectorAll(t);for(r.includeContainer&&a.call(e,t)&&(v=Array.prototype.slice.apply(v)).unshift(e),n=0;n<v.length;n++)i(o=v[n])&&(0===(s=l(o))?c.push(o):f.push({documentOrder:n,tabIndex:s,node:o}));return f.sort(u).map((function(e){return e.node})).concat(c)}function i(e){return!(!o(e)||function(e){return function(e){return c(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var r=function(e){for(var r=0;r<e.length;r++)if(e[r].checked)return e[r]}(e.ownerDocument.querySelectorAll('input[type="radio"][name="'+e.name+'"]'));return!r||r===e}(e)}(e)||l(e)<0)}function o(e){return!(e.disabled||function(e){return c(e)&&"hidden"===e.type}(e)||function(e){return null===e.offsetParent||"hidden"===getComputedStyle(e).visibility}(e))}n.isTabbable=function(e){if(!e)throw new Error("No node provided");return!1!==a.call(e,t)&&i(e)},n.isFocusable=function(e){if(!e)throw new Error("No node provided");return!1!==a.call(e,s)&&o(e)};var s=r.concat("iframe").join(",");function l(e){var r=parseInt(e.getAttribute("tabindex"),10);return isNaN(r)?function(e){return"true"===e.contentEditable}(e)?0:e.tabIndex:r}function u(e,r){return e.tabIndex===r.tabIndex?e.documentOrder-r.documentOrder:e.tabIndex-r.tabIndex}function c(e){return"INPUT"===e.tagName}e.exports=n},6803:e=>{e.exports=function(e,r){var t=0,a={};e.addEventListener("message",(function(r){var t=r.data;if("RPC"===t.type)if(t.id){var n=a[t.id];n&&(delete a[t.id],t.error?n[1](Object.assign(Error(t.error.message),t.error)):n[0](t.result))}else{var i=document.createEvent("Event");i.initEvent(t.method,!1,!1),i.data=t.params,e.dispatchEvent(i)}})),r.forEach((function(r){e[r]=function(){var n=arguments;return new Promise((function(i,o){var s=++t;a[s]=[i,o],e.postMessage({type:"RPC",id:s,method:r,params:[].slice.call(n)})}))}}))}},4033:(e,r,t)=>{"use strict";const a=t(4888);a.createWebSocketStream=t(5541),a.Server=t(8209),a.Receiver=t(3548),a.Sender=t(1116),e.exports=a},8515:(e,r,t)=>{"use strict";const{EMPTY_BUFFER:a}=t(3633);function n(e,r){if(0===e.length)return a;if(1===e.length)return e[0];const t=Buffer.allocUnsafe(r);let n=0;for(let r=0;r<e.length;r++){const a=e[r];t.set(a,n),n+=a.length}return n<r?t.slice(0,n):t}function i(e,r,t,a,n){for(let i=0;i<n;i++)t[a+i]=e[i]^r[3&i]}function o(e,r){const t=e.length;for(let a=0;a<t;a++)e[a]^=r[3&a]}function s(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function l(e){if(l.readOnly=!0,Buffer.isBuffer(e))return e;let r;return e instanceof ArrayBuffer?r=Buffer.from(e):ArrayBuffer.isView(e)?r=function(e){const r=Buffer.from(e.buffer);return e.byteLength!==e.buffer.byteLength?r.slice(e.byteOffset,e.byteOffset+e.byteLength):r}(e):(r=Buffer.from(e),l.readOnly=!1),r}try{const r=t(8447),a=r.BufferUtil||r;e.exports={concat:n,mask(e,r,t,n,o){o<48?i(e,r,t,n,o):a.mask(e,r,t,n,o)},toArrayBuffer:s,toBuffer:l,unmask(e,r){e.length<32?o(e,r):a.unmask(e,r)}}}catch(r){e.exports={concat:n,mask:i,toArrayBuffer:s,toBuffer:l,unmask:o}}},3633:e=>{"use strict";e.exports={BINARY_TYPES:["nodebuffer","arraybuffer","fragments"],GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),EMPTY_BUFFER:Buffer.alloc(0),NOOP:()=>{}}},2279:e=>{"use strict";class r{constructor(e,r){this.target=r,this.type=e}}class t extends r{constructor(e,r){super("message",r),this.data=e}}class a extends r{constructor(e,r,t){super("close",t),this.wasClean=t._closeFrameReceived&&t._closeFrameSent,this.reason=r,this.code=e}}class n extends r{constructor(e){super("open",e)}}class i extends r{constructor(e,r){super("error",r),this.message=e.message,this.error=e}}const o={addEventListener(e,r){function o(e){r.call(this,new t(e,this))}function s(e,t){r.call(this,new a(e,t,this))}function l(e){r.call(this,new i(e,this))}function u(){r.call(this,new n(this))}"function"==typeof r&&("message"===e?(o._listener=r,this.on(e,o)):"close"===e?(s._listener=r,this.on(e,s)):"error"===e?(l._listener=r,this.on(e,l)):"open"===e?(u._listener=r,this.on(e,u)):this.on(e,r))},removeEventListener(e,r){const t=this.listeners(e);for(let a=0;a<t.length;a++)t[a]!==r&&t[a]._listener!==r||this.removeListener(e,t[a])}};e.exports=o},5905:e=>{"use strict";const r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function t(e,r,t){void 0===e[r]?e[r]=[t]:e[r].push(t)}e.exports={format:function(e){return Object.keys(e).map((r=>{let t=e[r];return Array.isArray(t)||(t=[t]),t.map((e=>[r].concat(Object.keys(e).map((r=>{let t=e[r];return Array.isArray(t)||(t=[t]),t.map((e=>!0===e?r:`${r}=${e}`)).join("; ")}))).join("; "))).join(", ")})).join(", ")},parse:function(e){const a=Object.create(null);if(void 0===e||""===e)return a;let n,i,o=Object.create(null),s=!1,l=!1,u=!1,c=-1,f=-1,v=0;for(;v<e.length;v++){const d=e.charCodeAt(v);if(void 0===n)if(-1===f&&1===r[d])-1===c&&(c=v);else if(32===d||9===d)-1===f&&-1!==c&&(f=v);else{if(59!==d&&44!==d)throw new SyntaxError(`Unexpected character at index ${v}`);{if(-1===c)throw new SyntaxError(`Unexpected character at index ${v}`);-1===f&&(f=v);const r=e.slice(c,f);44===d?(t(a,r,o),o=Object.create(null)):n=r,c=f=-1}}else if(void 0===i)if(-1===f&&1===r[d])-1===c&&(c=v);else if(32===d||9===d)-1===f&&-1!==c&&(f=v);else if(59===d||44===d){if(-1===c)throw new SyntaxError(`Unexpected character at index ${v}`);-1===f&&(f=v),t(o,e.slice(c,f),!0),44===d&&(t(a,n,o),o=Object.create(null),n=void 0),c=f=-1}else{if(61!==d||-1===c||-1!==f)throw new SyntaxError(`Unexpected character at index ${v}`);i=e.slice(c,v),c=f=-1}else if(l){if(1!==r[d])throw new SyntaxError(`Unexpected character at index ${v}`);-1===c?c=v:s||(s=!0),l=!1}else if(u)if(1===r[d])-1===c&&(c=v);else if(34===d&&-1!==c)u=!1,f=v;else{if(92!==d)throw new SyntaxError(`Unexpected character at index ${v}`);l=!0}else if(34===d&&61===e.charCodeAt(v-1))u=!0;else if(-1===f&&1===r[d])-1===c&&(c=v);else if(-1===c||32!==d&&9!==d){if(59!==d&&44!==d)throw new SyntaxError(`Unexpected character at index ${v}`);{if(-1===c)throw new SyntaxError(`Unexpected character at index ${v}`);-1===f&&(f=v);let r=e.slice(c,f);s&&(r=r.replace(/\\/g,""),s=!1),t(o,i,r),44===d&&(t(a,n,o),o=Object.create(null),n=void 0),i=void 0,c=f=-1}}else-1===f&&(f=v)}if(-1===c||u)throw new SyntaxError("Unexpected end of input");-1===f&&(f=v);const d=e.slice(c,f);return void 0===n?t(a,d,o):(void 0===i?t(o,d,!0):t(o,i,s?d.replace(/\\/g,""):d),t(a,n,o)),a}}},9921:e=>{"use strict";const r=Symbol("kDone"),t=Symbol("kRun");e.exports=class{constructor(e){this[r]=()=>{this.pending--,this[t]()},this.concurrency=e||1/0,this.jobs=[],this.pending=0}add(e){this.jobs.push(e),this[t]()}[t](){if(this.pending!==this.concurrency&&this.jobs.length){const e=this.jobs.shift();this.pending++,e(this[r])}}}},6840:(e,r,t)=>{"use strict";const a=t(9796),n=t(8515),i=t(9921),{kStatusCode:o,NOOP:s}=t(3633),l=Buffer.from([0,0,255,255]),u=Symbol("permessage-deflate"),c=Symbol("total-length"),f=Symbol("callback"),v=Symbol("buffers"),d=Symbol("error");let h;function _(e){this[v].push(e),this[c]+=e.length}function m(e){this[c]+=e.length,this[u]._maxPayload<1||this[c]<=this[u]._maxPayload?this[v].push(e):(this[d]=new RangeError("Max payload size exceeded"),this[d][o]=1009,this.removeListener("data",m),this.reset())}function p(e){this[u]._inflate=null,e[o]=1007,this[f](e)}e.exports=class{constructor(e,r,t){if(this._maxPayload=0|t,this._options=e||{},this._threshold=void 0!==this._options.threshold?this._options.threshold:1024,this._isServer=!!r,this._deflate=null,this._inflate=null,this.params=null,!h){const e=void 0!==this._options.concurrencyLimit?this._options.concurrencyLimit:10;h=new i(e)}}static get extensionName(){return"permessage-deflate"}offer(){const e={};return this._options.serverNoContextTakeover&&(e.server_no_context_takeover=!0),this._options.clientNoContextTakeover&&(e.client_no_context_takeover=!0),this._options.serverMaxWindowBits&&(e.server_max_window_bits=this._options.serverMaxWindowBits),this._options.clientMaxWindowBits?e.client_max_window_bits=this._options.clientMaxWindowBits:null==this._options.clientMaxWindowBits&&(e.client_max_window_bits=!0),e}accept(e){return e=this.normalizeParams(e),this.params=this._isServer?this.acceptAsServer(e):this.acceptAsClient(e),this.params}cleanup(){this._inflate&&(this._inflate.close(),this._inflate=null),this._deflate&&(this._deflate[f]&&this._deflate[f](),this._deflate.close(),this._deflate=null)}acceptAsServer(e){const r=this._options,t=e.find((e=>!(!1===r.serverNoContextTakeover&&e.server_no_context_takeover||e.server_max_window_bits&&(!1===r.serverMaxWindowBits||"number"==typeof r.serverMaxWindowBits&&r.serverMaxWindowBits>e.server_max_window_bits)||"number"==typeof r.clientMaxWindowBits&&!e.client_max_window_bits)));if(!t)throw new Error("None of the extension offers can be accepted");return r.serverNoContextTakeover&&(t.server_no_context_takeover=!0),r.clientNoContextTakeover&&(t.client_no_context_takeover=!0),"number"==typeof r.serverMaxWindowBits&&(t.server_max_window_bits=r.serverMaxWindowBits),"number"==typeof r.clientMaxWindowBits?t.client_max_window_bits=r.clientMaxWindowBits:!0!==t.client_max_window_bits&&!1!==r.clientMaxWindowBits||delete t.client_max_window_bits,t}acceptAsClient(e){const r=e[0];if(!1===this._options.clientNoContextTakeover&&r.client_no_context_takeover)throw new Error('Unexpected parameter "client_no_context_takeover"');if(r.client_max_window_bits){if(!1===this._options.clientMaxWindowBits||"number"==typeof this._options.clientMaxWindowBits&&r.client_max_window_bits>this._options.clientMaxWindowBits)throw new Error('Unexpected or invalid parameter "client_max_window_bits"')}else"number"==typeof this._options.clientMaxWindowBits&&(r.client_max_window_bits=this._options.clientMaxWindowBits);return r}normalizeParams(e){return e.forEach((e=>{Object.keys(e).forEach((r=>{let t=e[r];if(t.length>1)throw new Error(`Parameter "${r}" must have only a single value`);if(t=t[0],"client_max_window_bits"===r){if(!0!==t){const e=+t;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${r}": ${t}`);t=e}else if(!this._isServer)throw new TypeError(`Invalid value for parameter "${r}": ${t}`)}else if("server_max_window_bits"===r){const e=+t;if(!Number.isInteger(e)||e<8||e>15)throw new TypeError(`Invalid value for parameter "${r}": ${t}`);t=e}else{if("client_no_context_takeover"!==r&&"server_no_context_takeover"!==r)throw new Error(`Unknown parameter "${r}"`);if(!0!==t)throw new TypeError(`Invalid value for parameter "${r}": ${t}`)}e[r]=t}))})),e}decompress(e,r,t){h.add((a=>{this._decompress(e,r,((e,r)=>{a(),t(e,r)}))}))}compress(e,r,t){h.add((a=>{this._compress(e,r,((e,r)=>{a(),(e||r)&&t(e,r)}))}))}_decompress(e,r,t){const i=this._isServer?"client":"server";if(!this._inflate){const e=`${i}_max_window_bits`,r="number"!=typeof this.params[e]?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._inflate=a.createInflateRaw({...this._options.zlibInflateOptions,windowBits:r}),this._inflate[u]=this,this._inflate[c]=0,this._inflate[v]=[],this._inflate.on("error",p),this._inflate.on("data",m)}this._inflate[f]=t,this._inflate.write(e),r&&this._inflate.write(l),this._inflate.flush((()=>{const e=this._inflate[d];if(e)return this._inflate.close(),this._inflate=null,void t(e);const a=n.concat(this._inflate[v],this._inflate[c]);r&&this.params[`${i}_no_context_takeover`]?(this._inflate.close(),this._inflate=null):(this._inflate[c]=0,this._inflate[v]=[]),t(null,a)}))}_compress(e,r,t){const i=this._isServer?"server":"client";if(!this._deflate){const e=`${i}_max_window_bits`,r="number"!=typeof this.params[e]?a.Z_DEFAULT_WINDOWBITS:this.params[e];this._deflate=a.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:r}),this._deflate[c]=0,this._deflate[v]=[],this._deflate.on("error",s),this._deflate.on("data",_)}this._deflate[f]=t,this._deflate.write(e),this._deflate.flush(a.Z_SYNC_FLUSH,(()=>{if(!this._deflate)return;let e=n.concat(this._deflate[v],this._deflate[c]);r&&(e=e.slice(0,e.length-4)),this._deflate[f]=null,r&&this.params[`${i}_no_context_takeover`]?(this._deflate.close(),this._deflate=null):(this._deflate[c]=0,this._deflate[v]=[]),t(null,e)}))}}},3548:(e,r,t)=>{"use strict";const{Writable:a}=t(2781),n=t(6840),{BINARY_TYPES:i,EMPTY_BUFFER:o,kStatusCode:s,kWebSocket:l}=t(3633),{concat:u,toArrayBuffer:c,unmask:f}=t(8515),{isValidStatusCode:v,isValidUTF8:d}=t(5760);function h(e,r,t,a){const n=new e(t?`Invalid WebSocket frame: ${r}`:r);return Error.captureStackTrace(n,h),n[s]=a,n}e.exports=class extends a{constructor(e,r,t){super(),this._binaryType=e||i[0],this[l]=void 0,this._extensions=r||{},this._maxPayload=0|t,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._fragments=[],this._state=0,this._loop=!1}_write(e,r,t){if(8===this._opcode&&0==this._state)return t();this._bufferedBytes+=e.length,this._buffers.push(e),this.startLoop(t)}consume(e){if(this._bufferedBytes-=e,e===this._buffers[0].length)return this._buffers.shift();if(e<this._buffers[0].length){const r=this._buffers[0];return this._buffers[0]=r.slice(e),r.slice(0,e)}const r=Buffer.allocUnsafe(e);do{const t=this._buffers[0],a=r.length-e;e>=t.length?r.set(this._buffers.shift(),a):(r.set(new Uint8Array(t.buffer,t.byteOffset,e),a),this._buffers[0]=t.slice(e)),e-=t.length}while(e>0);return r}startLoop(e){let r;this._loop=!0;do{switch(this._state){case 0:r=this.getInfo();break;case 1:r=this.getPayloadLength16();break;case 2:r=this.getPayloadLength64();break;case 3:this.getMask();break;case 4:r=this.getData(e);break;default:return void(this._loop=!1)}}while(this._loop);e(r)}getInfo(){if(this._bufferedBytes<2)return void(this._loop=!1);const e=this.consume(2);if(0!=(48&e[0]))return this._loop=!1,h(RangeError,"RSV2 and RSV3 must be clear",!0,1002);const r=64==(64&e[0]);if(r&&!this._extensions[n.extensionName])return this._loop=!1,h(RangeError,"RSV1 must be clear",!0,1002);if(this._fin=128==(128&e[0]),this._opcode=15&e[0],this._payloadLength=127&e[1],0===this._opcode){if(r)return this._loop=!1,h(RangeError,"RSV1 must be clear",!0,1002);if(!this._fragmented)return this._loop=!1,h(RangeError,"invalid opcode 0",!0,1002);this._opcode=this._fragmented}else if(1===this._opcode||2===this._opcode){if(this._fragmented)return this._loop=!1,h(RangeError,`invalid opcode ${this._opcode}`,!0,1002);this._compressed=r}else{if(!(this._opcode>7&&this._opcode<11))return this._loop=!1,h(RangeError,`invalid opcode ${this._opcode}`,!0,1002);if(!this._fin)return this._loop=!1,h(RangeError,"FIN must be set",!0,1002);if(r)return this._loop=!1,h(RangeError,"RSV1 must be clear",!0,1002);if(this._payloadLength>125)return this._loop=!1,h(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002)}if(this._fin||this._fragmented||(this._fragmented=this._opcode),this._masked=128==(128&e[1]),126===this._payloadLength)this._state=1;else{if(127!==this._payloadLength)return this.haveLength();this._state=2}}getPayloadLength16(){if(!(this._bufferedBytes<2))return this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength();this._loop=!1}getPayloadLength64(){if(this._bufferedBytes<8)return void(this._loop=!1);const e=this.consume(8),r=e.readUInt32BE(0);return r>Math.pow(2,21)-1?(this._loop=!1,h(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009)):(this._payloadLength=r*Math.pow(2,32)+e.readUInt32BE(4),this.haveLength())}haveLength(){if(this._payloadLength&&this._opcode<8&&(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0))return this._loop=!1,h(RangeError,"Max payload size exceeded",!1,1009);this._masked?this._state=3:this._state=4}getMask(){this._bufferedBytes<4?this._loop=!1:(this._mask=this.consume(4),this._state=4)}getData(e){let r=o;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength)return void(this._loop=!1);r=this.consume(this._payloadLength),this._masked&&f(r,this._mask)}return this._opcode>7?this.controlMessage(r):this._compressed?(this._state=5,void this.decompress(r,e)):(r.length&&(this._messageLength=this._totalPayloadLength,this._fragments.push(r)),this.dataMessage())}decompress(e,r){this._extensions[n.extensionName].decompress(e,this._fin,((e,t)=>{if(e)return r(e);if(t.length){if(this._messageLength+=t.length,this._messageLength>this._maxPayload&&this._maxPayload>0)return r(h(RangeError,"Max payload size exceeded",!1,1009));this._fragments.push(t)}const a=this.dataMessage();if(a)return r(a);this.startLoop(r)}))}dataMessage(){if(this._fin){const e=this._messageLength,r=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._fragments=[],2===this._opcode){let t;t="nodebuffer"===this._binaryType?u(r,e):"arraybuffer"===this._binaryType?c(u(r,e)):r,this.emit("message",t)}else{const t=u(r,e);if(!d(t))return this._loop=!1,h(Error,"invalid UTF-8 sequence",!0,1007);this.emit("message",t.toString())}}this._state=0}controlMessage(e){if(8===this._opcode)if(this._loop=!1,0===e.length)this.emit("conclude",1005,""),this.end();else{if(1===e.length)return h(RangeError,"invalid payload length 1",!0,1002);{const r=e.readUInt16BE(0);if(!v(r))return h(RangeError,`invalid status code ${r}`,!0,1002);const t=e.slice(2);if(!d(t))return h(Error,"invalid UTF-8 sequence",!0,1007);this.emit("conclude",r,t.toString()),this.end()}}else 9===this._opcode?this.emit("ping",e):this.emit("pong",e);this._state=0}}},1116:(e,r,t)=>{"use strict";const{randomFillSync:a}=t(6113),n=t(6840),{EMPTY_BUFFER:i}=t(3633),{isValidStatusCode:o}=t(5760),{mask:s,toBuffer:l}=t(8515),u=Buffer.alloc(4);class c{constructor(e,r){this._extensions=r||{},this._socket=e,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._deflating=!1,this._queue=[]}static frame(e,r){const t=r.mask&&r.readOnly;let n=r.mask?6:2,i=e.length;e.length>=65536?(n+=8,i=127):e.length>125&&(n+=2,i=126);const o=Buffer.allocUnsafe(t?e.length+n:n);return o[0]=r.fin?128|r.opcode:r.opcode,r.rsv1&&(o[0]|=64),o[1]=i,126===i?o.writeUInt16BE(e.length,2):127===i&&(o.writeUInt32BE(0,2),o.writeUInt32BE(e.length,6)),r.mask?(a(u,0,4),o[1]|=128,o[n-4]=u[0],o[n-3]=u[1],o[n-2]=u[2],o[n-1]=u[3],t?(s(e,u,o,n,e.length),[o]):(s(e,u,e,0,e.length),[o,e])):[o,e]}close(e,r,t,a){let n;if(void 0===e)n=i;else{if("number"!=typeof e||!o(e))throw new TypeError("First argument must be a valid error code number");void 0===r||""===r?(n=Buffer.allocUnsafe(2),n.writeUInt16BE(e,0)):(n=Buffer.allocUnsafe(2+Buffer.byteLength(r)),n.writeUInt16BE(e,0),n.write(r,2))}this._deflating?this.enqueue([this.doClose,n,t,a]):this.doClose(n,t,a)}doClose(e,r,t){this.sendFrame(c.frame(e,{fin:!0,rsv1:!1,opcode:8,mask:r,readOnly:!1}),t)}ping(e,r,t){const a=l(e);this._deflating?this.enqueue([this.doPing,a,r,l.readOnly,t]):this.doPing(a,r,l.readOnly,t)}doPing(e,r,t,a){this.sendFrame(c.frame(e,{fin:!0,rsv1:!1,opcode:9,mask:r,readOnly:t}),a)}pong(e,r,t){const a=l(e);this._deflating?this.enqueue([this.doPong,a,r,l.readOnly,t]):this.doPong(a,r,l.readOnly,t)}doPong(e,r,t,a){this.sendFrame(c.frame(e,{fin:!0,rsv1:!1,opcode:10,mask:r,readOnly:t}),a)}send(e,r,t){const a=l(e),i=this._extensions[n.extensionName];let o=r.binary?2:1,s=r.compress;if(this._firstFragment?(this._firstFragment=!1,s&&i&&(s=a.length>=i._threshold),this._compress=s):(s=!1,o=0),r.fin&&(this._firstFragment=!0),i){const e={fin:r.fin,rsv1:s,opcode:o,mask:r.mask,readOnly:l.readOnly};this._deflating?this.enqueue([this.dispatch,a,this._compress,e,t]):this.dispatch(a,this._compress,e,t)}else this.sendFrame(c.frame(a,{fin:r.fin,rsv1:!1,opcode:o,mask:r.mask,readOnly:l.readOnly}),t)}dispatch(e,r,t,a){if(!r)return void this.sendFrame(c.frame(e,t),a);const i=this._extensions[n.extensionName];this._deflating=!0,i.compress(e,t.fin,((e,r)=>{this._deflating=!1,t.readOnly=!1,this.sendFrame(c.frame(r,t),a),this.dequeue()}))}dequeue(){for(;!this._deflating&&this._queue.length;){const e=this._queue.shift();this._bufferedBytes-=e[1].length,Reflect.apply(e[0],this,e.slice(1))}}enqueue(e){this._bufferedBytes+=e[1].length,this._queue.push(e)}sendFrame(e,r){2===e.length?(this._socket.cork(),this._socket.write(e[0]),this._socket.write(e[1],r),this._socket.uncork()):this._socket.write(e[0],r)}}e.exports=c},5541:(e,r,t)=>{"use strict";var a=t(397);const{Duplex:n}=t(2781);function i(e){e.emit("close")}function o(){!this.destroyed&&this._writableState.finished&&this.destroy()}function s(e){this.removeListener("error",s),this.destroy(),0===this.listenerCount("error")&&this.emit("error",e)}e.exports=function(e,r){let t=!0;function l(){t&&e._socket.resume()}e.readyState===e.CONNECTING?e.once("open",(function(){e._receiver.removeAllListeners("drain"),e._receiver.on("drain",l)})):(e._receiver.removeAllListeners("drain"),e._receiver.on("drain",l));const u=new n({...r,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return e.on("message",(function(r){u.push(r)||(t=!1,e._socket.pause())})),e.once("error",(function(e){u.destroy(e)})),e.once("close",(function(){u.destroyed||u.push(null)})),u._destroy=function(r,t){if(e.readyState===e.CLOSED)return t(r),void a.nextTick(i,u);e.once("close",(function(){t(r),a.nextTick(i,u)})),e.terminate()},u._final=function(r){e.readyState!==e.CONNECTING?e._socket._writableState.finished?(u._readableState.endEmitted&&u.destroy(),r()):(e._socket.once("finish",(function(){r()})),e.close()):e.once("open",(function(){u._final(r)}))},u._read=function(){e.readyState!==e.OPEN||t||(t=!0,e._receiver._writableState.needDrain||e._socket.resume())},u._write=function(r,t,a){e.readyState!==e.CONNECTING?e.send(r,a):e.once("open",(function(){u._write(r,t,a)}))},u.on("end",o),u.on("error",s),u}},5760:(e,r,t)=>{"use strict";try{const e=t(7838);r.isValidUTF8="object"==typeof e?e.Validation.isValidUTF8:e}catch(e){r.isValidUTF8=()=>!0}r.isValidStatusCode=e=>e>=1e3&&e<=1013&&1004!==e&&1005!==e&&1006!==e||e>=3e3&&e<=4999},8209:(e,r,t)=>{"use strict";var a=t(397);const n=t(2361),{createHash:i}=t(6113),{createServer:o,STATUS_CODES:s}=t(3685),l=t(6840),u=t(4888),{format:c,parse:f}=t(5905),{GUID:v}=t(3633),d=/^[+/0-9A-Za-z]{22}==$/,h=Symbol("kUsedByWebSocketServer");function _(e){e.emit("close")}function m(){this.destroy()}function p(e,r,t,a){e.writable&&(t=t||s[r],a={Connection:"close","Content-type":"text/html","Content-Length":Buffer.byteLength(t),...a},e.write(`HTTP/1.1 ${r} ${s[r]}\r\n`+Object.keys(a).map((e=>`${e}: ${a[e]}`)).join("\r\n")+"\r\n\r\n"+t)),e.removeListener("error",m),e.destroy()}e.exports=class extends n{constructor(e,r){if(super(),null==(e={maxPayload:104857600,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,...e}).port&&!e.server&&!e.noServer)throw new TypeError('One of the "port", "server", or "noServer" options must be specified');if(null!=e.port)this._server=o(((e,r)=>{const t=s[426];r.writeHead(426,{"Content-Length":t.length,"Content-Type":"text/plain"}),r.end(t)})),this._server.listen(e.port,e.host,e.backlog,r);else if(e.server){if(e.server[h])throw new Error("The HTTP/S server is already being used by another WebSocket server");e.server[h]=!0,this._server=e.server}this._server&&(this._removeListeners=function(e,r){for(const t of Object.keys(r))e.on(t,r[t]);return function(){for(const t of Object.keys(r))e.removeListener(t,r[t])}}(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(e,r,t)=>{this.handleUpgrade(e,r,t,(r=>{this.emit("connection",r,e)}))}})),!0===e.perMessageDeflate&&(e.perMessageDeflate={}),e.clientTracking&&(this.clients=new Set),this.options=e}address(){if(this.options.noServer)throw new Error('The server is operating in "noServer" mode');return this._server?this._server.address():null}close(e){if(e&&this.once("close",e),this.clients)for(const e of this.clients)e.terminate();const r=this._server;if(r){if(this._removeListeners(),this._removeListeners=this._server=null,null!=this.options.port)return void r.close((()=>this.emit("close")));delete r[h]}a.nextTick(_,this)}shouldHandle(e){if(this.options.path){const r=e.url.indexOf("?");if((-1!==r?e.url.slice(0,r):e.url)!==this.options.path)return!1}return!0}handleUpgrade(e,r,t,a){r.on("error",m);const n=void 0!==e.headers["sec-websocket-key"]&&e.headers["sec-websocket-key"].trim(),i=+e.headers["sec-websocket-version"],o={};if("GET"!==e.method||"websocket"!==e.headers.upgrade.toLowerCase()||!n||!d.test(n)||8!==i&&13!==i||!this.shouldHandle(e))return p(r,400);if(this.options.perMessageDeflate){const t=new l(this.options.perMessageDeflate,!0,this.options.maxPayload);try{const r=f(e.headers["sec-websocket-extensions"]);r[l.extensionName]&&(t.accept(r[l.extensionName]),o[l.extensionName]=t)}catch(e){return p(r,400)}}if(this.options.verifyClient){const s={origin:e.headers[8===i?"sec-websocket-origin":"origin"],secure:!(!e.connection.authorized&&!e.connection.encrypted),req:e};if(2===this.options.verifyClient.length)return void this.options.verifyClient(s,((i,s,l,u)=>{if(!i)return p(r,s||401,l,u);this.completeUpgrade(n,o,e,r,t,a)}));if(!this.options.verifyClient(s))return p(r,401)}this.completeUpgrade(n,o,e,r,t,a)}completeUpgrade(e,r,t,a,n,o){if(!a.readable||!a.writable)return a.destroy();const s=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${i("sha1").update(e+v).digest("base64")}`],f=new u(null);let d=t.headers["sec-websocket-protocol"];if(d&&(d=d.trim().split(/ *, */),d=this.options.handleProtocols?this.options.handleProtocols(d,t):d[0],d&&(s.push(`Sec-WebSocket-Protocol: ${d}`),f.protocol=d)),r[l.extensionName]){const e=r[l.extensionName].params,t=c({[l.extensionName]:[e]});s.push(`Sec-WebSocket-Extensions: ${t}`),f._extensions=r}this.emit("headers",s,t),a.write(s.concat("\r\n").join("\r\n")),a.removeListener("error",m),f.setSocket(a,n,this.options.maxPayload),this.clients&&(this.clients.add(f),f.on("close",(()=>this.clients.delete(f)))),o(f)}}},4888:(e,r,t)=>{"use strict";const a=t(2361),n=t(5687),i=t(3685),o=t(1808),s=t(4404),{randomBytes:l,createHash:u}=t(6113),{URL:c}=t(7310),f=t(6840),v=t(3548),d=t(1116),{BINARY_TYPES:h,EMPTY_BUFFER:_,GUID:m,kStatusCode:p,kWebSocket:S,NOOP:g}=t(3633),{addEventListener:b,removeEventListener:w}=t(2279),{format:E,parse:y}=t(5905),{toBuffer:k}=t(8515),C=["CONNECTING","OPEN","CLOSING","CLOSED"],A=[8,13];class M extends a{constructor(e,r,t){super(),this.readyState=M.CONNECTING,this.protocol="",this._binaryType=h[0],this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage="",this._closeTimer=null,this._closeCode=1006,this._extensions={},this._receiver=null,this._sender=null,this._socket=null,null!==e?(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,Array.isArray(r)?r=r.join(", "):"object"==typeof r&&null!==r&&(t=r,r=void 0),D(this,e,r,t)):this._isServer=!0}get CONNECTING(){return M.CONNECTING}get CLOSING(){return M.CLOSING}get CLOSED(){return M.CLOSED}get OPEN(){return M.OPEN}get binaryType(){return this._binaryType}set binaryType(e){h.includes(e)&&(this._binaryType=e,this._receiver&&(this._receiver._binaryType=e))}get bufferedAmount(){return this._socket?(this._socket.bufferSize||0)+this._sender._bufferedBytes:this._bufferedAmount}get extensions(){return Object.keys(this._extensions).join()}setSocket(e,r,t){const a=new v(this._binaryType,this._extensions,t);this._sender=new d(e,this._extensions),this._receiver=a,this._socket=e,a[S]=this,e[S]=this,a.on("conclude",R),a.on("drain",O),a.on("error",I),a.on("message",L),a.on("ping",P),a.on("pong",z),e.setTimeout(0),e.setNoDelay(),r.length>0&&e.unshift(r),e.on("close",B),e.on("data",V),e.on("end",U),e.on("error",W),this.readyState=M.OPEN,this.emit("open")}emitClose(){this.readyState=M.CLOSED,this._socket?(this._extensions[f.extensionName]&&this._extensions[f.extensionName].cleanup(),this._receiver.removeAllListeners(),this.emit("close",this._closeCode,this._closeMessage)):this.emit("close",this._closeCode,this._closeMessage)}close(e,r){if(this.readyState!==M.CLOSED){if(this.readyState===M.CONNECTING){const e="WebSocket was closed before the connection was established";return T(this,this._req,e)}this.readyState!==M.CLOSING?(this.readyState=M.CLOSING,this._sender.close(e,r,!this._isServer,(e=>{e||(this._closeFrameSent=!0,this._closeFrameReceived&&this._socket.end())})),this._closeTimer=setTimeout(this._socket.destroy.bind(this._socket),3e4)):this._closeFrameSent&&this._closeFrameReceived&&this._socket.end()}}ping(e,r,t){if(this.readyState===M.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(t=e,e=r=void 0):"function"==typeof r&&(t=r,r=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===M.OPEN?(void 0===r&&(r=!this._isServer),this._sender.ping(e||_,r,t)):N(this,e,t)}pong(e,r,t){if(this.readyState===M.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");"function"==typeof e?(t=e,e=r=void 0):"function"==typeof r&&(t=r,r=void 0),"number"==typeof e&&(e=e.toString()),this.readyState===M.OPEN?(void 0===r&&(r=!this._isServer),this._sender.pong(e||_,r,t)):N(this,e,t)}send(e,r,t){if(this.readyState===M.CONNECTING)throw new Error("WebSocket is not open: readyState 0 (CONNECTING)");if("function"==typeof r&&(t=r,r={}),"number"==typeof e&&(e=e.toString()),this.readyState!==M.OPEN)return void N(this,e,t);const a={binary:"string"!=typeof e,mask:!this._isServer,compress:!0,fin:!0,...r};this._extensions[f.extensionName]||(a.compress=!1),this._sender.send(e||_,a,t)}terminate(){if(this.readyState!==M.CLOSED){if(this.readyState===M.CONNECTING){const e="WebSocket was closed before the connection was established";return T(this,this._req,e)}this._socket&&(this.readyState=M.CLOSING,this._socket.destroy())}}}function D(e,r,t,a){const o={protocolVersion:A[1],maxPayload:104857600,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...a,createConnection:void 0,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:void 0,auth:void 0,host:void 0,path:void 0,port:void 0};if(!A.includes(o.protocolVersion))throw new RangeError(`Unsupported protocol version: ${o.protocolVersion} (supported versions: ${A.join(", ")})`);let s;r instanceof c?(s=r,e.url=r.href):(s=new c(r),e.url=r);const v="ws+unix:"===s.protocol;if(!(s.host||v&&s.pathname))throw new Error(`Invalid URL: ${e.url}`);const d="wss:"===s.protocol||"https:"===s.protocol,h=d?443:80,_=l(16).toString("base64"),p=d?n.get:i.get;let S;if(o.createConnection=d?x:H,o.defaultPort=o.defaultPort||h,o.port=s.port||h,o.host=s.hostname.startsWith("[")?s.hostname.slice(1,-1):s.hostname,o.headers={"Sec-WebSocket-Version":o.protocolVersion,"Sec-WebSocket-Key":_,Connection:"Upgrade",Upgrade:"websocket",...o.headers},o.path=s.pathname+s.search,o.timeout=o.handshakeTimeout,o.perMessageDeflate&&(S=new f(!0!==o.perMessageDeflate?o.perMessageDeflate:{},!1,o.maxPayload),o.headers["Sec-WebSocket-Extensions"]=E({[f.extensionName]:S.offer()})),t&&(o.headers["Sec-WebSocket-Protocol"]=t),o.origin&&(o.protocolVersion<13?o.headers["Sec-WebSocket-Origin"]=o.origin:o.headers.Origin=o.origin),(s.username||s.password)&&(o.auth=`${s.username}:${s.password}`),v){const e=o.path.split(":");o.socketPath=e[0],o.path=e[1]}let g=e._req=p(o);o.timeout&&g.on("timeout",(()=>{T(e,g,"Opening handshake has timed out")})),g.on("error",(r=>{e._req.aborted||(g=e._req=null,e.readyState=M.CLOSING,e.emit("error",r),e.emitClose())})),g.on("response",(n=>{const i=n.headers.location,s=n.statusCode;if(i&&o.followRedirects&&s>=300&&s<400){if(++e._redirects>o.maxRedirects)return void T(e,g,"Maximum redirects exceeded");g.abort();const n=new c(i,r);D(e,n,t,a)}else e.emit("unexpected-response",g,n)||T(e,g,`Unexpected server response: ${n.statusCode}`)})),g.on("upgrade",((r,a,n)=>{if(e.emit("upgrade",r),e.readyState!==M.CONNECTING)return;g=e._req=null;const i=u("sha1").update(_+m).digest("base64");if(r.headers["sec-websocket-accept"]!==i)return void T(e,a,"Invalid Sec-WebSocket-Accept header");const s=r.headers["sec-websocket-protocol"],l=(t||"").split(/, */);let c;if(!t&&s?c="Server sent a subprotocol but none was requested":t&&!s?c="Server sent no subprotocol":s&&!l.includes(s)&&(c="Server sent an invalid subprotocol"),c)T(e,a,c);else{if(s&&(e.protocol=s),S)try{const t=y(r.headers["sec-websocket-extensions"]);t[f.extensionName]&&(S.accept(t[f.extensionName]),e._extensions[f.extensionName]=S)}catch(r){return void T(e,a,"Invalid Sec-WebSocket-Extensions header")}e.setSocket(a,n,o.maxPayload)}}))}function H(e){return e.path=e.socketPath,o.connect(e)}function x(e){return e.path=void 0,e.servername||""===e.servername||(e.servername=e.host),s.connect(e)}function T(e,r,t){e.readyState=M.CLOSING;const a=new Error(t);Error.captureStackTrace(a,T),r.setHeader?(r.abort(),r.once("abort",e.emitClose.bind(e)),e.emit("error",a)):(r.destroy(a),r.once("error",e.emit.bind(e,"error")),r.once("close",e.emitClose.bind(e)))}function N(e,r,t){if(r){const t=k(r).length;e._socket?e._sender._bufferedBytes+=t:e._bufferedAmount+=t}t&&t(new Error(`WebSocket is not open: readyState ${e.readyState} (${C[e.readyState]})`))}function R(e,r){const t=this[S];t._socket.removeListener("data",V),t._socket.resume(),t._closeFrameReceived=!0,t._closeMessage=r,t._closeCode=e,1005===e?t.close():t.close(e,r)}function O(){this[S]._socket.resume()}function I(e){const r=this[S];r._socket.removeListener("data",V),r.readyState=M.CLOSING,r._closeCode=e[p],r.emit("error",e),r._socket.destroy()}function F(){this[S].emitClose()}function L(e){this[S].emit("message",e)}function P(e){const r=this[S];r.pong(e,!r._isServer,g),r.emit("ping",e)}function z(e){this[S].emit("pong",e)}function B(){const e=this[S];this.removeListener("close",B),this.removeListener("end",U),e.readyState=M.CLOSING,e._socket.read(),e._receiver.end(),this.removeListener("data",V),this[S]=void 0,clearTimeout(e._closeTimer),e._receiver._writableState.finished||e._receiver._writableState.errorEmitted?e.emitClose():(e._receiver.on("error",F),e._receiver.on("finish",F))}function V(e){this[S]._receiver.write(e)||this.pause()}function U(){const e=this[S];e.readyState=M.CLOSING,e._receiver.end(),this.end()}function W(){const e=this[S];this.removeListener("error",W),this.on("error",g),e&&(e.readyState=M.CLOSING,this.destroy())}C.forEach(((e,r)=>{M[e]=r})),["open","error","close","message"].forEach((e=>{Object.defineProperty(M.prototype,`on${e}`,{get(){const r=this.listeners(e);for(let e=0;e<r.length;e++)if(r[e]._listener)return r[e]._listener},set(r){const t=this.listeners(e);for(let r=0;r<t.length;r++)t[r]._listener&&this.removeListener(e,t[r]);this.addEventListener(e,r)}})})),M.prototype.addEventListener=b,M.prototype.removeEventListener=w,e.exports=M},5986:e=>{function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((function(e){t.push(e)}));else if(arguments.length>0)for(var a=0,n=arguments.length;a<n;a++)t.push(arguments[a]);return t}function t(e,r){e.tail=new n(r,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function a(e,r){e.head=new n(r,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function n(e,r,t,a){if(!(this instanceof n))return new n(e,r,t,a);this.list=a,this.value=e,r?(r.next=this,this.prev=r):this.prev=null,t?(t.prev=this,this.next=t):this.next=null}e.exports=r,r.Node=n,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw new Error("removing node which does not belong to this list");var r=e.next,t=e.prev;r&&(r.prev=t),t&&(t.next=r),e===this.head&&(this.head=r),e===this.tail&&(this.tail=t),e.list.length--,e.next=null,e.prev=null,e.list=null},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var r=this.head;e.list=this,e.next=r,r&&(r.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var r=this.tail;e.list=this,e.prev=r,r&&(r.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,r=arguments.length;e<r;e++)t(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,r=arguments.length;e<r;e++)a(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,r){r=r||this;for(var t=this.head,a=0;null!==t;a++)e.call(r,t.value,a,this),t=t.next},r.prototype.forEachReverse=function(e,r){r=r||this;for(var t=this.tail,a=this.length-1;null!==t;a--)e.call(r,t.value,a,this),t=t.prev},r.prototype.get=function(e){for(var r=0,t=this.head;null!==t&&r<e;r++)t=t.next;if(r===e&&null!==t)return t.value},r.prototype.getReverse=function(e){for(var r=0,t=this.tail;null!==t&&r<e;r++)t=t.prev;if(r===e&&null!==t)return t.value},r.prototype.map=function(e,t){t=t||this;for(var a=new r,n=this.head;null!==n;)a.push(e.call(t,n.value,this)),n=n.next;return a},r.prototype.mapReverse=function(e,t){t=t||this;for(var a=new r,n=this.tail;null!==n;)a.push(e.call(t,n.value,this)),n=n.prev;return a},r.prototype.reduce=function(e,r){var t,a=this.head;if(arguments.length>1)t=r;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");a=this.head.next,t=this.head.value}for(var n=0;null!==a;n++)t=e(t,a.value,n),a=a.next;return t},r.prototype.reduceReverse=function(e,r){var t,a=this.tail;if(arguments.length>1)t=r;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");a=this.tail.prev,t=this.tail.value}for(var n=this.length-1;null!==a;n--)t=e(t,a.value,n),a=a.prev;return t},r.prototype.toArray=function(){for(var e=new Array(this.length),r=0,t=this.head;null!==t;r++)e[r]=t.value,t=t.next;return e},r.prototype.toArrayReverse=function(){for(var e=new Array(this.length),r=0,t=this.tail;null!==t;r++)e[r]=t.value,t=t.prev;return e},r.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var a=new r;if(t<e||t<0)return a;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=0,i=this.head;null!==i&&n<e;n++)i=i.next;for(;null!==i&&n<t;n++,i=i.next)a.push(i.value);return a},r.prototype.sliceReverse=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var a=new r;if(t<e||t<0)return a;e<0&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,i=this.tail;null!==i&&n>t;n--)i=i.prev;for(;null!==i&&n>e;n--,i=i.prev)a.push(i.value);return a},r.prototype.reverse=function(){for(var e=this.head,r=this.tail,t=e;null!==t;t=t.prev){var a=t.prev;t.prev=t.next,t.next=a}return this.head=r,this.tail=e,this}},1093:(e,r,t)=>{"use strict";t.d(r,{J:()=>o,K:()=>i});var a=t(9233);let n=[];const i=!0===a.$l?function(e){n.forEach((r=>{r(e)}))}:function(){},o=!0===a.$l?function(e){return a.$l?(n.push(e),function(){n=n.filter((r=>r!==e))}):()=>{}}:function(e){return()=>{}}},8057:(e,r,t)=>{"use strict";t.d(r,{OB:()=>f,WV:()=>u,Y7:()=>c});var a=t(3303);const n="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks,i="undefined"!=typeof performance&&"function"==typeof performance.now;function o(e){n&&performance.mark(e+"-start")}function s(e){n&&(performance.mark(e+"-end"),performance.measure(e,e+"-start",e+"-end"),performance.clearMarks(e+"-start"),performance.clearMarks(e+"-end"))}function l(){return i?performance.now():Date.now()}async function u(e,r,t){const n=l();a.jr&&o(e);const i=await r();return a.jr&&s(e),null!=t&&t(l()-n),i}function c(e,r,t){const n=l();a.jr&&o(e);const i=r();return a.jr&&s(e),null!=t&&t(l()-n),i}function f(e,r,t){const n=l();return a.jr&&o(e),r((()=>{if(a.jr&&s(e),null!=t){const e=l()-n;t(e)}}))}},9233:(e,r,t)=>{"use strict";t.d(r,{$l:()=>a,pK:()=>i,st:()=>n});const a=!1,n=!1,i=!1},3303:(e,r,t)=>{"use strict";t.d(r,{Ay:()=>h,G2:()=>l,GC:()=>a,Ke:()=>m,Km:()=>f,Lg:()=>C,N2:()=>n,Nn:()=>d,Rc:()=>b,ah:()=>v,dG:()=>k,dM:()=>p,eU:()=>c,et:()=>w,gR:()=>A,hR:()=>D,jr:()=>s,k6:()=>E,nL:()=>i,p:()=>o,rA:()=>u,rG:()=>_,sD:()=>g,tF:()=>y,uP:()=>M,z1:()=>S});const a="fmkadmapgofadopljbjfkapdkoienihi",n="dnjnjgbfilfphmojnmhliehogmojhclc",i="ikiahnapldjmdmpkmfhjdjilojjhgcbf",o=!1,s=!1,l=1,u=2,c=3,f=4,v=5,d=6,h=7,_=1,m=2,p="React::DevTools::defaultTab",S="React::DevTools::componentFilters",g="React::DevTools::openInEditorUrl",b="React::DevTools::openInEditorUrlPreset",w="React::DevTools::parseHookNames",E="React::DevTools::breakOnConsoleErrors",y="React::DevTools::theme",k="React::DevTools::appendComponentStack",C="React::DevTools::showInlineWarningsAndErrors",A="React::DevTools::traceUpdatesEnabled",M="React::DevTools::hideConsoleLogsInStrictMode",D=5},2078:(e,r,t)=>{"use strict";t.d(r,{YR:()=>f,qG:()=>d,sZ:()=>h,xg:()=>v});var a=t(3303),n=t(8057),i=t(1093);const o=3e4,s=0,l=1,u=2;let c=new WeakMap;function f(e){const r=c.get(e);return null!=r&&r.status===l}function v(e,r,t,f){let v=c.get(e);if(a.p&&(console.groupCollapsed("loadHookNames() record:"),console.log(v),console.groupEnd()),!v){const d=new Set,h={then(e){d.add(e)},displayName:`Loading hook names for ${e.displayName||"Unknown"}`};let _,m=!1,p="unknown",S=null;const g=()=>{_&&(clearTimeout(_),_=null),d.forEach((e=>e())),d.clear()},b=r=>{(0,i.K)({event_name:"load-hook-names",event_status:p,duration_ms:r,inspected_element_display_name:e.displayName,inspected_element_number_of_hooks:S?.size??null})},w=v={status:s,value:h};(0,n.OB)("loadHookNames",(e=>{t(r,f).then((function(r){if(!m){if(a.p&&console.log("[hookNamesCache] onSuccess() hookNames:",r),r){const e=w;e.status=l,e.value=r}else{const e=w;e.status=u,e.value=null}p="success",S=r,e(),g()}}),(function(r){if(m)return;a.p&&console.log("[hookNamesCache] onError()"),console.error(r);const t=w;t.status=u,t.value=null,p="error",e(),g()})),_=setTimeout((function(){a.p&&console.log("[hookNamesCache] onTimeout()"),_=null,m=!0;const r=w;r.status=u,r.value=null,p="timeout",e(),g()}),o)}),b),c.set(e,v)}const d=function(e){if(e.status===l)return e;if(e.status===u)return e;throw e.value}(v).value;return d}function d({fileName:e,lineNumber:r,columnNumber:t}){if(null==e||null==r||null==t)throw Error("Hook source code location not found.");return`${e}:${r}:${t}`}function h(){c=new WeakMap}},2853:e=>{var r=function(e){"use strict";var r,t=Object.prototype,a=t.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",o=n.asyncIterator||"@@asyncIterator",s=n.toStringTag||"@@toStringTag";function l(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{l({},"")}catch(e){l=function(e,r,t){return e[r]=t}}function u(e,r,t,a){var n=r&&r.prototype instanceof m?r:m,i=Object.create(n.prototype),o=new D(a||[]);return i._invoke=function(e,r,t){var a=f;return function(n,i){if(a===d)throw new Error("Generator is already running");if(a===h){if("throw"===n)throw i;return x()}for(t.method=n,t.arg=i;;){var o=t.delegate;if(o){var s=C(o,t);if(s){if(s===_)continue;return s}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(a===f)throw a=h,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);a=d;var l=c(e,r,t);if("normal"===l.type){if(a=t.done?h:v,l.arg===_)continue;return{value:l.arg,done:t.done}}"throw"===l.type&&(a=h,t.method="throw",t.arg=l.arg)}}}(e,t,o),i}function c(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",v="suspendedYield",d="executing",h="completed",_={};function m(){}function p(){}function S(){}var g={};g[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(H([])));w&&w!==t&&a.call(w,i)&&(g=w);var E=S.prototype=m.prototype=Object.create(g);function y(e){["next","throw","return"].forEach((function(r){l(e,r,(function(e){return this._invoke(r,e)}))}))}function k(e,r){function t(n,i,o,s){var l=c(e[n],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&a.call(f,"__await")?r.resolve(f.__await).then((function(e){t("next",e,o,s)}),(function(e){t("throw",e,o,s)})):r.resolve(f).then((function(e){u.value=e,o(u)}),(function(e){return t("throw",e,o,s)}))}s(l.arg)}var n;this._invoke=function(e,a){function i(){return new r((function(r,n){t(e,a,r,n)}))}return n=n?n.then(i,i):i()}}function C(e,t){var a=e.iterator[t.method];if(a===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=r,C(e,t),"throw"===t.method))return _;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var n=c(a,e.iterator,t.arg);if("throw"===n.type)return t.method="throw",t.arg=n.arg,t.delegate=null,_;var i=n.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,_):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function A(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function M(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function H(e){if(e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(a.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=r,t.done=!0,t};return o.next=o}}return{next:x}}function x(){return{value:r,done:!0}}return p.prototype=E.constructor=S,S.constructor=p,p.displayName=l(S,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===p||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,S):(e.__proto__=S,l(e,s,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},y(k.prototype),k.prototype[o]=function(){return this},e.AsyncIterator=k,e.async=function(r,t,a,n,i){void 0===i&&(i=Promise);var o=new k(u(r,t,a,n),i);return e.isGeneratorFunction(t)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},y(E),l(E,s,"Generator"),E[i]=function(){return this},E.toString=function(){return"[object Generator]"},e.keys=function(e){var r=[];for(var t in e)r.push(t);return r.reverse(),function t(){for(;r.length;){var a=r.pop();if(a in e)return t.value=a,t.done=!1,t}return t.done=!0,t}},e.values=H,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(a,n){return s.type="throw",s.arg=e,t.next=a,n&&(t.method="next",t.arg=r),!!n}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var l=a.call(o,"catchLoc"),u=a.call(o,"finallyLoc");if(l&&u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(l){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,r){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=r&&r<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=r,i?(this.method="next",this.next=i.finallyLoc,_):this.complete(o)},complete:function(e,r){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&r&&(this.next=r),_},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),M(t),_}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var a=t.completion;if("throw"===a.type){var n=a.arg;M(t)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,a){return this.delegate={iterator:H(e),resultName:t,nextLoc:a},"next"===this.method&&(this.arg=r),_}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},5322:(e,r,t)=>{(e.exports=t(5751)(!1)).push([e.id,"/* Used to detect in JavaScript if apps have loaded styles or not. */\n:root {\n  --reach-menu-button: 1;\n}\n\n[data-reach-menu] {\n  position: relative;\n}\n\n[data-reach-menu-popover] {\n  display: block;\n  position: absolute;\n}\n\n[data-reach-menu-popover][hidden] {\n  display: none;\n}\n\n[data-reach-menu-list],\n[data-reach-menu-items] {\n  display: block;\n  white-space: nowrap;\n  border: solid 1px hsla(0, 0%, 0%, 0.25);\n  background: hsla(0, 100%, 100%, 0.99);\n  outline: none;\n  padding: 1rem 0;\n  font-size: 85%;\n}\n\n[data-reach-menu-item] {\n  display: block;\n  user-select: none;\n}\n\n/*\n The dom structure of a MenuLink is reach-menu-item > a,\n so to target all items we can use `data-reach-menu-item`\n*/\n[data-reach-menu-item] {\n  /*\n    These are styled in one rule instead of something like a[data-reach-menu-item]\n    and li[data-reach-menu-item] so that apps don't have to fight specificity and\n    can style both li and a menu items with one rule,\n    ie: `[data-selected] { background: red; }`.\n    Otherwise they'd have to define two styles, one for a and one for li.\n  */\n\n  /* reach-menu-item */\n  cursor: pointer;\n\n  /* a */\n  display: block;\n  color: inherit;\n  font: inherit;\n  text-decoration: initial;\n\n  /* both */\n  padding: 5px 20px;\n}\n\n/* pseudo pseudo selector */\n[data-reach-menu-item][data-selected] {\n  background: hsl(211, 81%, 36%);\n  color: white;\n  outline: none;\n}\n\n[data-reach-menu-item][aria-disabled] {\n  opacity: 0.5;\n  cursor: not-allowed;\n}\n",""])},7366:(e,r,t)=>{(e.exports=t(5751)(!1)).push([e.id,":root {\n  --reach-tooltip: 1;\n}\n\n[data-reach-tooltip] {\n  z-index: 1;\n  pointer-events: none;\n  position: absolute;\n  padding: 0.25em 0.5em;\n  box-shadow: 2px 2px 10px hsla(0, 0%, 0%, 0.1);\n  white-space: nowrap;\n  font-size: 85%;\n  background: #f0f0f0;\n  color: #444;\n  border: solid 1px #ccc;\n}\n",""])},1716:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ContextMenu___3Zn8W {\n  position: absolute;\n  background-color: var(--color-context-background);\n  box-shadow: 1px 1px 2px var(--color-shadow);\n  border-radius: 0.25rem;\n  overflow: hidden;\n  z-index: 10000002;\n  user-select: none;\n}",""]),r.locals={ContextMenu:"ContextMenu___3Zn8W"}},4556:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ContextMenuItem___21C_r {\n  display: flex;\n  align-items: center;\n  color: var(--color-context-text);\n  padding: 0.5rem 0.75rem;\n  cursor: default;\n  border-top: 1px solid var(--color-context-border);\n  font-family: var(--font-family-sans);\n  font-size: var(--font-size-sans-normal);\n}\n.ContextMenuItem___21C_r:first-of-type {\n  border-top: none;\n}\n.ContextMenuItem___21C_r:hover,\n.ContextMenuItem___21C_r:focus {\n  outline: 0;\n  background-color: var(--color-context-background-hover);\n}\n.ContextMenuItem___21C_r:active {\n  background-color: var(--color-context-background-selected);\n  color: var(--color-context-text-selected);\n}",""]),r.locals={ContextMenuItem:"ContextMenuItem___21C_r"}},4262:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Button___1-PiG {\n  border: none;\n  background: var(--color-button-background);\n  color: var(--color-button);\n  padding: 0;\n  border-radius: 0.25rem;\n  flex: 0 0 auto;\n  cursor: pointer;\n}\n.ButtonContent___2mZ9q {\n  display: inline-flex;\n  align-items: center;\n  border-radius: 0.25rem;\n  padding: 0.25rem;\n}\n\n.Button___1-PiG:hover {\n  color: var(--color-button-hover);\n}\n.Button___1-PiG:active {\n  color: var(--color-button-focus);\n  outline: none;\n}\n.Button___1-PiG:focus,\n.ButtonContent___2mZ9q:focus {\n  outline: none;\n}\n\n.Button___1-PiG:focus > .ButtonContent___2mZ9q {\n  background: var(--color-button-background-focus);\n}\n\n.Button___1-PiG:disabled,\n.Button___1-PiG:disabled:active {\n  background: var(--color-button-background);\n  color: var(--color-button-disabled);\n  cursor: default;\n}\n",""]),r.locals={Button:"Button___1-PiG",ButtonContent:"ButtonContent___2mZ9q"}},5945:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ButtonIcon___1AgYV {\n  width: 1rem;\n  height: 1rem;\n  fill: currentColor;\n}\n",""]),r.locals={ButtonIcon:"ButtonIcon___1AgYV"}},2163:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Badge___1D92d {\n  display: inline-block;\n  background-color: var(--color-component-badge-background);\n  color: var(--color-text);\n  padding: 0.125rem 0.25rem;\n  line-height: normal;\n  border-radius: 0.125rem;\n  margin-right: 0.25rem;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-small);\n}\n\n.ExtraLabel___ktyWc {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-small);\n  color: var(--color-component-badge-count);\n}\n",""]),r.locals={Badge:"Badge___1D92d",ExtraLabel:"ExtraLabel___ktyWc"}},3516:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Components___MlQHS {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: row;\n  background-color: var(--color-background);\n  color: var(--color-text);\n  font-family: var(--font-family-sans);\n}\n\n.Components___MlQHS, .Components___MlQHS * {\n  box-sizing: border-box;\n  -webkit-font-smoothing: var(--font-smoothing);\n}\n\n.TreeWrapper___2uPTC {\n  flex: 0 0 var(--horizontal-resize-percentage);\n  overflow: auto;\n}\n\n.InspectedElementWrapper___Ay-WL {\n  flex: 1 1 35%;\n  overflow-x: hidden;\n  overflow-y: auto;\n}\n\n.ResizeBarWrapper___2jVIz {\n  flex: 0 0 0px;\n  position: relative;\n}\n\n.ResizeBar___1o6VK {\n  position: absolute;\n  left: -2px;\n  width: 5px;\n  height: 100%;\n  cursor: ew-resize;\n}\n\n@media screen and (max-width: 600px) {\n  .Components___MlQHS {\n    flex-direction: column;\n  }\n\n  .TreeWrapper___2uPTC {\n    flex: 0 0 var(--vertical-resize-percentage);\n  }\n\n  .InspectedElementWrapper___Ay-WL {\n    flex: 1 1 50%;\n  }\n\n  .ResizeBar___1o6VK {\n    top: -2px;\n    left: 0;\n    width: 100%;\n    height: 5px;\n    cursor: ns-resize;\n  }\n}\n\n.Loading___Slif- {\n  height: 100%;\n  padding-left: 0.5rem;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  font-size: var(--font-size-sans-large);\n  color: var(--color-dim);\n  border-left: 1px solid var(--color-border);\n}\n",""]),r.locals={Components:"Components___MlQHS",TreeWrapper:"TreeWrapper___2uPTC",InspectedElementWrapper:"InspectedElementWrapper___Ay-WL",ResizeBarWrapper:"ResizeBarWrapper___2jVIz",ResizeBar:"ResizeBar___1o6VK",Loading:"Loading___Slif-"}},935:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Input___2v7pX {\n  flex: 0 1 auto;\n  box-shadow: 0px 1px 3px transparent;\n  color: var(--color-text);\n}\n.Input___2v7pX:focus {\n  color: var(--color-text);\n  box-shadow: 0px 1px 3px var(--color-shadow);\n}",""]),r.locals={Input:"Input___2v7pX"}},7379:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Checkbox___S8zDe {\n  flex: 0 0 auto;\n  align-self: center;\n  margin: 0 0.25rem;\n}\n\n.Input___54okB {\n  flex: 1 1;\n  background: none;\n  border: 1px solid transparent;\n  color: var(--color-attribute-editable-value);\n  border-radius: 0.125rem;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n}\n\n.Invalid___AR4Hd {\n  flex: 1 1;\n  background: none;\n  border: 1px solid transparent;\n  color: var(--color-attribute-editable-value);\n  border-radius: 0.125rem;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  background-color: var(--color-background-invalid);\n  color: var(--color-text-invalid);\n\n  --color-border: var(--color-text-invalid);\n}\n\n.Input___54okB:focus,\n.Invalid___AR4Hd:focus {\n  background-color: var(--color-button-background-focus);\n  outline: none;\n}\n",""]),r.locals={Checkbox:"Checkbox___S8zDe",Input:"Input___54okB",Invalid:"Invalid___AR4Hd"}},4419:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Element___1PGUo,\n.InactiveSelectedElement___3H2V0,\n.SelectedElement___2BZuq,\n.HoveredElement___4tCuC {\n  color: var(--color-component-name);\n}\n.HoveredElement___4tCuC {\n  background-color: var(--color-background-hover);\n}\n.InactiveSelectedElement___3H2V0 {\n  background-color: var(--color-background-inactive);\n}\n\n.Wrapper___1kRcF {\n  padding: 0 0.25rem;\n  white-space: pre;\n  height: var(--line-height-data);\n  line-height: var(--line-height-data);\n  display: inline-flex;\n  align-items: center;\n  cursor: default;\n  user-select: none;\n}\n\n.SelectedElement___2BZuq {\n  background-color: var(--color-background-selected);\n  color: var(--color-text-selected);\n\n  /* Invert colors */\n  --color-component-name: var(--color-component-name-inverted);\n  --color-text: var(--color-text-selected);\n  --color-component-badge-background: var(\n    --color-component-badge-background-inverted\n  );\n  --color-component-badge-count: var(--color-component-badge-count-inverted);\n  --color-attribute-name: var(--color-attribute-name-inverted);\n  --color-attribute-value: var(--color-attribute-value-inverted);\n  --color-expand-collapse-toggle: var(--color-component-name-inverted);\n}\n\n.KeyName___iOoVX {\n  color: var(--color-attribute-name);\n}\n\n.KeyValue___2hQzO {\n  color: var(--color-attribute-value);\n  user-select: text;\n  max-width: 100px;\n  overflow-x: hidden;\n  text-overflow: ellipsis;\n}\n\n.Highlight___OJ7Ox {\n  background-color: var(--color-search-match);\n}\n.CurrentHighlight___3RWa2 {\n  background-color: var(--color-search-match-current);\n}\n\n.ExpandCollapseToggle___3CxPD {\n  display: inline-flex;\n  width: 1rem;\n  height: 1rem;\n  flex: 0 0 1rem;\n  color: var(--color-expand-collapse-toggle);\n}\n\n.Badge___36OB- {\n  margin-left: 0.25rem;\n}\n\n.ErrorIcon___2HE8O,\n.ErrorIconContrast___25w80,\n.StrictMode___3TX6u,\n.StrictModeContrast___f70us,\n.WarningIcon___3s2DR,\n.WarningIconContrast___12tJE {\n  height: 0.75rem !important;\n  width: 0.75rem !important;\n  margin-left: 0.25rem;\n}\n.ErrorIcon___2HE8O {\n  color: var(--color-console-error-icon);\n}\n.StrictMode___3TX6u {\n  color: var(--color-dimmer);\n}\n.WarningIcon___3s2DR {\n  color: var(--color-console-warning-icon);\n}\n.ErrorIconContrast___25w80, .WarningIconContrast___12tJE {\n  color: var(--color-component-name);\n}\n.StrictModeContrast___f70us {\n  color: var(--color-text);\n}\n",""]),r.locals={Element:"Element___1PGUo",InactiveSelectedElement:"InactiveSelectedElement___3H2V0",SelectedElement:"SelectedElement___2BZuq",HoveredElement:"HoveredElement___4tCuC",Wrapper:"Wrapper___1kRcF",KeyName:"KeyName___iOoVX",KeyValue:"KeyValue___2hQzO",Highlight:"Highlight___OJ7Ox",CurrentHighlight:"CurrentHighlight___3RWa2",ExpandCollapseToggle:"ExpandCollapseToggle___3CxPD",Badge:"Badge___36OB-",ErrorIcon:"ErrorIcon___2HE8O",ErrorIconContrast:"ErrorIconContrast___25w80",StrictMode:"StrictMode___3TX6u",StrictModeContrast:"StrictModeContrast___f70us",WarningIcon:"WarningIcon___3s2DR",WarningIconContrast:"WarningIconContrast___12tJE"}},5266:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ExpandCollapseToggle___1eSq5 {\n  flex: 0 0 1rem;\n  width: 1rem;\n  height: 1rem;\n  padding: 0;\n  color: var(--color-expand-collapse-toggle);\n}\n",""]),r.locals={ExpandCollapseToggle:"ExpandCollapseToggle___1eSq5"}},642:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".HocBadges___3V-9f {\n  padding: 0.125rem 0.25rem;\n  user-select: none;\n}\n\n.Badge___yfw97 {\n  display: inline-block;\n  background-color: var(--color-component-badge-background);\n  color: var(--color-text);\n  padding: 0.125rem 0.25rem;\n  line-height: normal;\n  border-radius: 0.125rem;\n  margin-right: 0.25rem;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-small);\n}\n",""]),r.locals={HocBadges:"HocBadges___3V-9f",Badge:"Badge___yfw97"}},4282:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".InspectedElement___gy6ot {\n  display: flex;\n  flex-direction: column;\n  height: 100%;\n  width: 100%;\n  border-left: 1px solid var(--color-border);\n  border-top: 1px solid var(--color-border);\n}\n\n.TitleRow___2UUrj {\n  flex: 0 0 42px;\n  display: flex;\n  align-items: center;\n  font-size: var(--font-size-monospace-large);\n  border-bottom: 1px solid var(--color-border);\n  padding: 0.5rem;\n}\n\n.Key___1eadz {\n  flex: 0 1 auto;\n  padding-left: 0.25rem;\n  padding-right: 0.125rem;\n  line-height: 1rem;\n  border-top-left-radius: 0.125rem;\n  border-bottom-left-radius: 0.125rem;\n  display: inline-block;\n  background-color: var(--color-component-badge-background);\n  color: var(--color-text);\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-small);\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  max-width: 100%;\n}\n\n.KeyArrow___2TKpc {\n  height: 1rem;\n  width: 1rem;\n  margin-right: -0.25rem;\n  border: 0.5rem solid transparent;\n  border-left: 0.5rem solid var(--color-component-badge-background);\n}\n\n.SelectedComponentName___3ByrZ {\n  flex: 1 1 auto;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  line-height: normal;\n}\n\n.Component___No3ti {\n  flex: 1 1 auto;\n  color: var(--color-component-name);\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  max-width: 100%;\n}\n\n.Loading___1cYSg {\n  padding: 0.25rem;\n  color: var(--color-dimmer);\n  font-style: italic;\n  border-left: 1px solid var(--color-border);\n}\n\n.StrictModeNonCompliant___2P55H {\n  margin-right: 0.25rem;\n  color: var(--color-console-error-icon);\n}",""]),r.locals={InspectedElement:"InspectedElement___gy6ot",TitleRow:"TitleRow___2UUrj",Key:"Key___1eadz",KeyArrow:"KeyArrow___2TKpc",SelectedComponentName:"SelectedComponentName___3ByrZ",Component:"Component___No3ti",Loading:"Loading___1cYSg",StrictModeNonCompliant:"StrictModeNonCompliant___2P55H"}},3285:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Wrapper___15kcB {\n  height: 100%;\n}",""]),r.locals={Wrapper:"Wrapper___15kcB"}},434:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ErrorTree___OauA_, .WarningTree___2O5xr {\n  padding: 0.25rem 0 0 0;\n}\n\n.HeaderRow___2Y3QM {\n  padding: 0 0.25rem;\n}\n\n.HeaderRow___2Y3QM {\n  padding: 0 0.25rem;\n}\n\n.Error___CORL1, .Warning___zqCFY {\n  padding: 0 0.5rem;\n  display: flex;\n  align-items: center;\n}\n\n.Error___CORL1 {\n  border-top: 1px solid var(--color-console-error-border);\n  background-color: var(--color-console-error-background);\n  color: var(--color-error-text);\n  padding: 0 0.5rem;\n}\n\n.Warning___zqCFY {\n  border-top: 1px solid var(--color-console-warning-border);\n  background-color: var(--color-console-warning-background);\n  color: var(--color-warning-text);\n  padding: 0 0.5rem;\n}\n\n.Message___Ky3Dl {\n  overflow-x: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.ErrorBadge___MKpI8,\n.WarningBadge___22U6H {\n  display: inline-block;\n  width: 0.75rem;\n  height: 0.75rem;\n  flex: 0 0 0.75rem;\n  line-height: 0.75rem;\n  text-align: center;\n  border-radius: 0.25rem;\n  margin-right: 0.25rem;\n  font-size: var(--font-size-monospace-small);\n}\n\n.ErrorBadge___MKpI8 {\n  background-color: var(--color-console-error-icon);\n  color: var(--color-console-error-badge-text);\n}\n\n.WarningBadge___22U6H {\n  background-color: var(--color-console-warning-icon);\n  color: var(--color-console-warning-badge-text);\n}\n",""]),r.locals={ErrorTree:"ErrorTree___OauA_",WarningTree:"WarningTree___2O5xr",HeaderRow:"HeaderRow___2Y3QM",Error:"Error___CORL1",Warning:"Warning___zqCFY",Message:"Message___Ky3Dl",ErrorBadge:"ErrorBadge___MKpI8",WarningBadge:"WarningBadge___22U6H"}},8368:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".HooksTreeView___3YmZw {\n  padding: 0.25rem;\n  border-top: 1px solid var(--color-border);\n}\n\n.Hook___SbvM_ {\n}\n\n.Children___1f8xt {\n  padding-left: 1rem;\n}\n\n.HeaderRow___37mMe {\n  display: flex;\n  align-items: center;\n}\n\n.Header___9n-jL {\n  flex: 1 1;\n  font-family: var(--font-family-sans);\n}\n\n.NameValueRow___1dbuI {\n  display: flex;\n}\n\n.Name___3oYR1,\n.NameAnonymous___W-cy2 {\n  flex: 0 0 auto;\n  cursor: default;\n}\n.Name___3oYR1 {\n  color: var(--color-dim);\n}\n.NameAnonymous___W-cy2 {\n  color: var(--color-dimmer);\n}\n\n.EditableName___1m4Hy {\n  color: var(--color-attribute-name);\n  flex: 0 0 auto;\n  cursor: default;\n}\n.EditableName___1m4Hy:after,\n.Name___3oYR1:after {\n  color: var(--color-text);\n  content: ': ';\n  margin-right: 0.5rem;\n}\n\n.Value___3tDyC {\n  color: var(--color-attribute-value);\n  overflow: hidden;\n  text-overflow: ellipsis;\n  cursor: default;\n  white-space: nowrap;\n}\n\n.None___dHntG {\n  color: var(--color-dimmer);\n  font-style: italic;\n}\n\n.TruncationIndicator___fImBc {\n  color: var(--color-dimmer);\n}\n\n.ExpandCollapseToggleSpacer___2RAvX {\n  flex: 0 0 1rem;\n  width: 1rem;\n}\n\n.PrimitiveHookNumber___1ZHtG {\n  background-color: var(--color-primitive-hook-badge-background);\n  color: var(--color-primitive-hook-badge-text);\n  font-size: var(--font-size-monospace-small);\n  margin-right: 0.25rem;\n  border-radius: 0.125rem;\n  padding: 0.125rem 0.25rem;\n}\n\n.HookName___3Pr8I {\n  color: var(--color-component-name);\n}\n\n.ToggleError___2AMCP {\n  color: var(--color-error-text);\n}",""]),r.locals={HooksTreeView:"HooksTreeView___3YmZw",Hook:"Hook___SbvM_",Children:"Children___1f8xt",HeaderRow:"HeaderRow___37mMe",Header:"Header___9n-jL",NameValueRow:"NameValueRow___1dbuI",Name:"Name___3oYR1",NameAnonymous:"NameAnonymous___W-cy2",EditableName:"EditableName___1m4Hy",Value:"Value___3tDyC",None:"None___dHntG",TruncationIndicator:"TruncationIndicator___fImBc",ExpandCollapseToggleSpacer:"ExpandCollapseToggleSpacer___2RAvX",PrimitiveHookNumber:"PrimitiveHookNumber___1ZHtG",HookName:"HookName___3Pr8I",ToggleError:"ToggleError___2AMCP"}},5855:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".InspectedElementTree___2_4hD {\n  padding: 0.25rem;\n  border-top: 1px solid var(--color-border);\n}\n.InspectedElementTree___2_4hD:first-of-type {\n  border-top: none;\n}\n\n.HeaderRow___3I5kU {\n  display: flex;\n  align-items: center;\n}\n\n.Header___2LZLy {\n  display: flex;\n  align-items: center;\n  flex: 1 1;\n  font-family: var(--font-family-sans);\n}\n\n.Item___3t7sh {\n  display: flex;\n}\n\n.Name___6619F {\n  color: var(--color-attribute-name);\n  flex: 0 0 auto;\n}\n.Name___6619F:after {\n  content: ': ';\n  color: var(--color-text);\n  margin-right: 0.5rem;\n}\n\n.Value___na2y1 {\n  color: var(--color-attribute-value);\n  overflow: hidden;\n  text-overflow: ellipsis;\n}\n\n.None___1ezJC {\n  color: var(--color-dimmer);\n  font-style: italic;\n}\n\n.Empty___2hAqe {\n  color: var(--color-dimmer);\n  font-style: italic;\n  padding-left: 0.75rem;\n}\n\n.ToggleSuspenseRow___3Abo4 {\n  padding-left: 1rem;\n  white-space: nowrap;\n  display: flex;\n  align-items: center;\n}\n\n.EditableValue___2B5lx {\n  min-width: 1rem;\n}\n",""]),r.locals={InspectedElementTree:"InspectedElementTree___2_4hD",HeaderRow:"HeaderRow___3I5kU",Header:"Header___2LZLy",Item:"Item___3t7sh",Name:"Name___6619F",Value:"Value___na2y1",None:"None___1ezJC",Empty:"Empty___2hAqe",ToggleSuspenseRow:"ToggleSuspenseRow___3Abo4",EditableValue:"EditableValue___2B5lx"}},7591:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Source___DuiDm {\n  color: var(--color-dim);\n  margin-left: 1rem;\n  overflow: auto;\n  text-overflow: ellipsis;\n}",""]),r.locals={Source:"Source___DuiDm"}},9910:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Owners___13tPI {\n  padding: 0.25rem;\n  border-top: 1px solid var(--color-border);\n}\n\n.OwnersHeader___3Yv3d {\n  font-family: var(--font-family-sans);\n}\n\n.Source____5R8o {\n  padding: 0.25rem;\n  border-top: 1px solid var(--color-border);\n}\n\n.SourceHeaderRow___2mf8O {\n  display: flex;\n  align-items: center;\n}\n\n.SourceHeader___3eTnC {\n  flex: 1 1;\n  font-family: var(--font-family-sans);\n}\n\n.SourceOneLiner___1CmzZ {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  max-width: 100%;\n  margin-left: 1rem;\n}\n\n.Owner___3pCT- {\n  color: var(--color-component-name);\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  max-width: 100%;\n}\n\n.InspectedElement___AIaEa {\n  overflow-x: hidden;\n  overflow-y: auto;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  line-height: var(--line-height-data);\n}\n\n.Owner___3pCT- {\n  border-radius: 0.25rem;\n  padding: 0.125rem 0.25rem;\n  background: none;\n  border: none;\n  display: block;\n}\n.Owner___3pCT-:focus {\n  outline: none;\n  background-color: var(--color-button-background-focus);\n}\n\n.NotInStore___1AhKj {\n  color: var(--color-dim);\n  cursor: default;\n}\n\n.OwnerButton___1ZvI9 {\n  cursor: pointer;\n  width: 100%;\n  padding: 0;\n}\n\n.OwnerContent___1S1aF {\n  display: flex;\n  align-items: center;\n  padding-left: 1rem;\n  width: 100%;\n  border-radius: 0.25rem;\n}\n\n.OwnerContent___1S1aF:hover {\n  background-color: var(--color-background-hover);\n}\n\n.ContextMenuIcon___2EG7W {\n  margin-right: 0.5rem;\n}\n\n.OwnersMetaField___ot46- {\n  padding-left: 1.25rem;\n  white-space: nowrap;\n  overflow: hidden;\n  text-overflow: ellipsis;\n}",""]),r.locals={Owners:"Owners___13tPI",OwnersHeader:"OwnersHeader___3Yv3d",Source:"Source____5R8o",SourceHeaderRow:"SourceHeaderRow___2mf8O",SourceHeader:"SourceHeader___3eTnC",SourceOneLiner:"SourceOneLiner___1CmzZ",Owner:"Owner___3pCT-",InspectedElement:"InspectedElement___AIaEa",NotInStore:"NotInStore___1AhKj",OwnerButton:"OwnerButton___1ZvI9",OwnerContent:"OwnerContent___1S1aF",ContextMenuIcon:"ContextMenuIcon___2EG7W",OwnersMetaField:"OwnersMetaField___ot46-"}},8203:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Item___2n2qv:not([hidden]) {\n  display: flex;\n}\n\n.Name___3LSJX {\n  color: var(--color-attribute-name-not-editable);\n  flex: 0 0 auto;\n  cursor: default;\n}\n\n.EditableName___2TyRo {\n  color: var(--color-attribute-name);\n  flex: 0 0 auto;\n  cursor: default;\n}\n\n.AfterName___1HlGw {\n  color: var(--color-text);\n  margin-right: 0.5rem;\n}\n\n.Value___7p123 {\n  color: var(--color-attribute-value);\n  white-space: pre;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  cursor: default;\n  flex: 1;\n}\n\n.Link___35OsV {\n  color: var(--color-link);\n  white-space: pre;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  flex: 1;\n}\n\n.ExpandCollapseToggleSpacer___3KNWO {\n  flex: 0 0 1rem;\n  width: 1rem;\n}\n\n.DeleteArrayItemButton___1R-pd {\n  padding: 0;\n  margin-right: 0.125rem;\n}\n\n.HookName___1ZjVf {\n  color: var(--color-component-name);\n}",""]),r.locals={Item:"Item___2n2qv",Name:"Name___3LSJX",EditableName:"EditableName___2TyRo",AfterName:"AfterName___1HlGw",Value:"Value___7p123",Link:"Link___35OsV",ExpandCollapseToggleSpacer:"ExpandCollapseToggleSpacer___3KNWO",DeleteArrayItemButton:"DeleteArrayItemButton___1R-pd",HookName:"HookName___1ZjVf"}},9436:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Icon___2CecY {\n  width: 1rem;\n  height: 1rem;\n  fill: currentColor;\n}\n",""]),r.locals={Icon:"Icon___2CecY"}},9553:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Input___2Lqoc {\n  min-width: 0.5rem;\n  flex: 1 1 auto;\n  border: none;\n  background: transparent;\n  outline: none;\n  padding: 0;\n  border: none;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n}\n\n.Input___2Lqoc:focus {\n  border-color: var(--color-border);\n}\n",""]),r.locals={Input:"Input___2Lqoc"}},921:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".LayoutViewer___215Ad {\n  padding: 0.25rem;\n  border-top: 1px solid var(--color-border);\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-small);\n}\n\n.Header___YXSRg {\n  font-family: var(--font-family-sans);\n}\n\n.DashedBox___i8dxS,\n.SolidBox___1W-UG {\n  flex: 1 1 auto;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  border-width: 1px;\n  border-color: var(--color-dim);\n  padding: 0.25rem;\n  margin: 0.25rem;\n}\n.DashedBox___i8dxS {\n  border-style: dashed;\n}\n.SolidBox___1W-UG {\n  border-style: solid;\n}\n\n.LabelRow___2SQOh {\n  width: 100%;\n  position: relative;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.Label___IskVY {\n  position: absolute;\n  left: 0.5rem;\n  flex: 1 0 100px;\n  color: var(--color-attribute-name);\n}\n\n.BoxRow___2_1as {\n  width: 100%;\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n}\n",""]),r.locals={LayoutViewer:"LayoutViewer___215Ad",Header:"Header___YXSRg",DashedBox:"DashedBox___i8dxS",SolidBox:"SolidBox___1W-UG",LabelRow:"LabelRow___2SQOh",Label:"Label___IskVY",BoxRow:"BoxRow___2_1as"}},3727:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".StyleEditor___1RvzE {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  padding: 0.25rem;\n  border-top: 1px solid var(--color-border);\n}\n\n.HeaderRow___xyA6t {\n  display: flex;\n  align-items: center;\n}\n\n.Header___2SGfE {\n  flex: 1 1;\n}\n\n.Brackets___2zA4K {\n  font-family: var(--font-family-sans);\n  font-size: var(--font-size-sans-small);\n}\n\n.Row___3v8mp {\n  white-space: nowrap;\n  padding-left: 1rem;\n  display: flex;\n  align-items: center;\n}\n\n.Invalid___3ogBH {\n  background-color: var(--color-background-invalid);\n  color: var(--color-text-invalid);\n\n  --color-border: var(--color-text-invalid);\n}\n.Attribute___2yC0c {\n  color: var(--color-attribute-name);\n}\n\n.Value___1yJUg {\n  color: var(--color-attribute-value);\n}\n\n.Input___3Zdnf {\n  flex: 0 1 auto;\n  padding: 1px;\n  box-shadow: 0px 1px 3px transparent;\n}\n.Input___3Zdnf:focus {\n  color: var(--color-text);\n  box-shadow: 0px 1px 3px var(--color-shadow);\n}\n\n",""]),r.locals={StyleEditor:"StyleEditor___1RvzE",HeaderRow:"HeaderRow___xyA6t",Header:"Header___2SGfE",Brackets:"Brackets___2zA4K",Row:"Row___3v8mp",Invalid:"Invalid___3ogBH",Attribute:"Attribute___2yC0c",Value:"Value___1yJUg",Input:"Input___3Zdnf"}},6591:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".NewArrayValue___3rHoU {\n  white-space: nowrap;\n  display: flex;\n  align-items: center;\n}\n\n.EditableName___3OJ36 {\n  margin-left: 1rem;\n}\n\n.Invalid___1sVw9 {\n  background-color: var(--color-background-invalid);\n  color: var(--color-text-invalid) !important;\n}\n\n.Invalid___1sVw9:focus {\n  background-color: var(--color-button-background-focus);\n}",""]),r.locals={NewArrayValue:"NewArrayValue___3rHoU",EditableName:"EditableName___3OJ36",Invalid:"Invalid___1sVw9"}},7481:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".NewKeyValue___34r7B {\n  white-space: nowrap;\n  display: flex;\n  align-items: center;\n}\n\n.EditableName___2W--L {\n  margin-left: 1rem;\n}\n\n.EditableValue___16Q0K {\n  min-width: 1rem;\n}\n",""]),r.locals={NewKeyValue:"NewKeyValue___34r7B",EditableName:"EditableName___2W--L",EditableValue:"EditableValue___16Q0K"}},4721:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".OwnerStack___32qwj {\n  max-width: 100%;\n  overflow-x: auto;\n  flex: 1;\n  display: flex;\n  align-items: center;\n  position: relative;\n}\n\n.Component___3e3s7,\n.Component___3e3s7[data-reach-menu-item] {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  user-select: none;\n  white-space: nowrap;\n  display: flex;\n  align-items: center;\n}\n\n.Component___3e3s7[data-reach-menu-item][data-selected],\n.Component___3e3s7[data-reach-menu-item][data-selected]:hover {\n  color: var(--color-text-selected);\n  background: var(--color-background-selected);\n}\n.Component___3e3s7[data-reach-menu-item][data-selected]:focus {\n  outline: none;\n}\n\n.Bar___3G3dX {\n  display: flex;\n  flex: 1 1 auto;\n  overflow-x: auto;\n}\n\n.VRule___IJYKJ {\n  flex: 0 0 auto;\n  height: 20px;\n  width: 1px;\n  background-color: var(--color-border);\n  margin: 0 0.5rem;\n}\n\n.MenuButton___3te3U {\n  border-radius: 0.25rem;\n  display: inline-flex;\n  align-items: center;\n  padding: 0;\n  flex: 0 0 auto;\n  border: none;\n  background: var(--color-button-background);\n  color: var(--color-button);\n}\n.MenuButtonContent___3VvHH {\n  display: inline-flex;\n  align-items: center;\n  border-radius: 0.25rem;\n  padding: 0.25rem;\n}\n.MenuButton___3te3U:hover {\n  color: var(--color-button-hover);\n}\n.MenuButton___3te3U[aria-expanded='true'],\n.MenuButton___3te3U[aria-expanded='true']:active {\n  color: var(--color-button-active);\n  outline: none;\n}\n\n.MenuButton___3te3U:focus,\n.MenuButtonContent___3VvHH:focus {\n  outline: none;\n}\n.MenuButton___3te3U:focus > .MenuButtonContent___3VvHH {\n  background: var(--color-button-background-focus);\n}\n\n.Modal___8b8bs[data-reach-menu-list] {\n  display: inline-flex;\n  flex-direction: column;\n  background-color: var(--color-background);\n  color: var(--color-button);\n  padding: 0.25rem 0;\n  padding-right: 0;\n  border: 1px solid var(--color-border);\n  border-radius: 0.25rem;\n  max-height: 10rem;\n  overflow: auto;\n\n  /* Make sure this is above the DevTools, which are above the Overlay */\n  z-index: 10000002;\n  position: relative;\n\n  /* Reach UI tries to set its own :( */\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n}\n\n.NotInStore___3Y2P2,\n.NotInStore___3Y2P2:hover {\n  color: var(--color-dimmest);\n}\n\n.Badge___2E6aT {\n  margin-left: 0.25rem;\n}\n",""]),r.locals={OwnerStack:"OwnerStack___32qwj",Component:"Component___3e3s7",Bar:"Bar___3G3dX",VRule:"VRule___IJYKJ",MenuButton:"MenuButton___3te3U",MenuButtonContent:"MenuButtonContent___3VvHH",Modal:"Modal___8b8bs",NotInStore:"NotInStore___3Y2P2",Badge:"Badge___2E6aT"}},8291:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Active___3Y5D2,\n.Inactive___2Ddkx {\n  position: absolute;\n  left: 0;\n  width: 100%;\n  z-index: 0;\n  pointer-events: none;\n}\n\n.Active___3Y5D2 {\n  background-color: var(--color-selected-tree-highlight-active);\n}\n\n.Inactive___2Ddkx {\n  background-color: var(--color-selected-tree-highlight-inactive);\n}\n",""]),r.locals={Active:"Active___3Y5D2",Inactive:"Inactive___2Ddkx"}},1907:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Tree___3Pjje {\n  position: relative;\n  height: 100%;\n  width: 100%;\n  display: flex;\n  flex-direction: column;\n  border-top: 1px solid var(--color-border);\n\n  /* Default size will be adjusted by Tree after scrolling */\n  --indentation-size: 12px;\n}\n\n.List___qlOJG {\n  overflow-x: hidden !important;\n}\n\n.InnerElementType___1csGF {\n  overflow-x: hidden;\n}\n\n.SearchInput___1Q2I_ {\n  flex: 0 0 42px;\n  display: flex;\n  align-items: center;\n  border-bottom: 1px solid var(--color-border);\n  padding: 0.5rem;\n}\n\n.AutoSizerWrapper___3IcMr {\n  width: 100%;\n  overflow: hidden;\n  flex: 1 0 auto;\n}\n.AutoSizerWrapper___3IcMr:focus {\n  outline: none;\n}\n\n.List___qlOJG {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  line-height: var(--line-height-data);\n}\n\n.VRule___3yG5q {\n  height: 20px;\n  width: 1px;\n  flex: 0 0 1px;\n  margin: 0 0.5rem;\n  background-color: var(--color-border);\n}\n\n.Loading___TrqnR {\n  height: 100%;\n  padding-left: 0.5rem;\n  display: flex;\n  align-items: center;\n  flex: 1;\n  justify-content: flex-start;\n  font-size: var(--font-size-sans-large);\n  color: var(--color-dim);\n}\n\n.IconAndCount___1CZUm {\n  display: flex;\n  align-items: center;\n  font-size: var(--font-size-sans-normal);\n}\n\n.ErrorIcon___1SNsZ, .WarningIcon___23GHe {\n  width: 0.75rem;\n  height: 0.75rem;\n  margin-left: 0.25rem;\n  margin-right: 0.25rem;\n  flex: 0 0 auto;\n}\n.ErrorIcon___1SNsZ {\n  color: var(--color-console-error-icon);\n}\n.WarningIcon___23GHe {\n  color: var(--color-console-warning-icon);\n}\n\n.ZeroElementsNotice___1e7ln {\n  padding-left: 1em;\n  opacity: 0;\n  animation: fadeIn___3yIM4 0.5s forwards;\n  animation-delay: 2s;\n}\n@keyframes fadeIn___3yIM4 {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n.Link___wwMB5 {\n  color: var(--color-button-active);\n}",""]),r.locals={Tree:"Tree___3Pjje",List:"List___qlOJG",InnerElementType:"InnerElementType___1csGF",SearchInput:"SearchInput___1Q2I_",AutoSizerWrapper:"AutoSizerWrapper___3IcMr",VRule:"VRule___3yG5q",Loading:"Loading___TrqnR",IconAndCount:"IconAndCount___1CZUm",ErrorIcon:"ErrorIcon___1SNsZ",WarningIcon:"WarningIcon___23GHe",ZeroElementsNotice:"ZeroElementsNotice___1e7ln",fadeIn:"fadeIn___3yIM4",Link:"Link___wwMB5"}},7204:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Tooltip___2QcDY {\n  border: none;\n  border-radius: 0.25rem;\n  padding: 0.25rem 0.5rem;\n  font-family: var(--font-family-sans);\n  font-size: 12px;\n  background-color: var(--color-tooltip-background);\n  color: var(--color-tooltip-text);\n  box-shadow: 1px 1px 2px var(--color-shadow);\n\n  /* Make sure this is above the DevTools, which are above the Overlay */\n  z-index: 10000002;\n}\n",""]),r.locals={Tooltip:"Tooltip___2QcDY"}},4843:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".DevTools___NAxvy {\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  background-color: var(--color-background);\n  color: var(--color-text);\n}\n\n.TabBar___2aDHU {\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  padding: 0 0.5rem;\n  background-color: var(--color-background);\n  border-top: 1px solid var(--color-border);\n  font-family: var(--font-family-sans);\n  font-size: var(--font-size-sans-large);\n  user-select: none;\n\n  /* Electron drag area */\n  -webkit-app-region: drag;\n}\n\n.Spacer___1VPRF {\n  flex: 1;\n}\n\n.TabContent___27Qz1 {\n  flex: 1 1 100%;\n  overflow: auto;\n  -webkit-app-region: no-drag;\n}\n\n.DevToolsVersion___3_3UD {\n  font-size: var(--font-size-sans-normal);\n  margin-right: 0.5rem;\n}\n\n.DevToolsVersion___3_3UD:before {\n  font-size: var(--font-size-sans-large);\n  content: 'DevTools ';\n}\n\n@media screen and (max-width: 400px) {\n  .DevToolsVersion___3_3UD:before {\n    content: '';\n  }\n}\n\n@media screen and (max-width: 300px) {\n  .DevToolsVersion___3_3UD {\n    display: none;\n  }\n}\n\n.DevTools___NAxvy, .DevTools___NAxvy * {\n  box-sizing: border-box;\n  -webkit-font-smoothing: var(--font-smoothing);\n}\n",""]),r.locals={DevTools:"DevTools___NAxvy",TabBar:"TabBar___2aDHU",Spacer:"Spacer___1VPRF",TabContent:"TabContent___27Qz1",DevToolsVersion:"DevToolsVersion___3_3UD"}},5850:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".GitHubLinkRow___1Ubg1 {\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: auto;\n  padding: 0.25rem 0.5rem;\n  background: var(--color-console-warning-background);\n  color: var(--color-text);\n  border-bottom: 1px solid var(--color-console-warning-border);\n  border-top: 1px solid var(--color-console-warning-border);\n}\n\n.WorkplaceGroupRow___2bkPD {\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  overflow: auto;\n  padding: 0.25rem 0.5rem;\n  background: var(--color-background-hover);\n  border-bottom: 1px solid var(--color-border);\n}\n\n.ErrorBoundary___2iFtc {\n  height: 100%;\n  width: 100%;\n  background-color: var(--color-background);\n  display: flex;\n  flex-direction: column;\n  border: 1px solid var(--color-border);\n}\n\n.ErrorInfo___3rbAr {\n  padding: 0.5rem;\n  overflow: auto;\n}\n\n.HeaderRow___1yCa9 {\n  display: flex;\n  flex-direction: row;\n  font-size: var(--font-size-sans-large);\n  font-weight: bold;\n}\n\n.ErrorHeader___Ck9BV,\n.TimeoutHeader___2_O9L {\n  flex: 1 1 auto;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  min-width: 0;\n}\n\n.ErrorHeader___Ck9BV {\n  color: var(--color-error-text);\n}\n.TimeoutHeader___2_O9L {\n  color: var(--color-text);\n}\n\n.ErrorStack___xWW5M,\n.TimeoutStack___31pZb {\n  margin-top: 0.5rem;\n  white-space: pre-wrap;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  -webkit-font-smoothing: initial;\n  border-radius: 0.25rem;\n  padding: 0.5rem;\n  overflow: auto;\n}\n\n.ErrorStack___xWW5M {\n  background-color: var(--color-error-background);\n  border: 1px solid var(--color-error-border);\n  color: var(--color-error-text);\n}\n\n.TimeoutStack___31pZb {\n  background-color: var(--color-console-warning-background);\n  color: var(--color-console-warning-text);\n  border: var(--color-console-warning-border)\n}\n\n.LoadingIcon___2Ox_q {\n  margin-right: 0.25rem;\n}\n\n.ReportIcon___163qD {\n  margin-right: 0.25rem;\n}\n\n.ReportLink___1RRG6 {\n  color: var(--color-link);\n}\n\n.FacebookOnly___1Q5yi {\n  margin-left: 0.25rem;\n}\n\n.ReproSteps___21X2x {\n  margin-left: 0.25rem;\n  color: var(--color-console-warning-text);\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  min-width: 0;\n}\n\n.UpdateExistingIssuePrompt___1AP89 {\n  margin-right: 0.25rem;\n  color: var(--color-console-warning-text);\n}\n\n.CloseButton___19JNk {\n  font-weight: bold;\n}\n\n.CloseButtonIcon___Fp6qN {\n  margin-left: 0.25rem;\n}\n\n.InfoBox___9MO75 {\n  margin-top: 0.5rem;\n  background: var(--color-console-warning-background);\n  border: 1px solid var(--color-console-warning-border);\n  padding: 0.25rem 0.5rem;\n  border-radius: 0.5rem;\n  color: var(--color-console-warning-text);\n}",""]),r.locals={GitHubLinkRow:"GitHubLinkRow___1Ubg1",WorkplaceGroupRow:"WorkplaceGroupRow___2bkPD",ErrorBoundary:"ErrorBoundary___2iFtc",ErrorInfo:"ErrorInfo___3rbAr",HeaderRow:"HeaderRow___1yCa9",ErrorHeader:"ErrorHeader___Ck9BV",TimeoutHeader:"TimeoutHeader___2_O9L",ErrorStack:"ErrorStack___xWW5M",TimeoutStack:"TimeoutStack___31pZb",LoadingIcon:"LoadingIcon___2Ox_q",ReportIcon:"ReportIcon___163qD",ReportLink:"ReportLink___1RRG6",FacebookOnly:"FacebookOnly___1Q5yi",ReproSteps:"ReproSteps___21X2x",UpdateExistingIssuePrompt:"UpdateExistingIssuePrompt___1AP89",CloseButton:"CloseButton___19JNk",CloseButtonIcon:"CloseButtonIcon___Fp6qN",InfoBox:"InfoBox___9MO75"}},7649:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Icon___v5HwN {\n  width: 1rem;\n  height: 1rem;\n  fill: currentColor;\n}\n",""]),r.locals={Icon:"Icon___v5HwN"}},3036:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Background___39iOi {\n  position: absolute;\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: row;\n  align-items: flex-start;\n  justify-content: center;\n  padding: 1rem;\n  background-color: var(--color-modal-background);\n  overflow: auto;\n}\n\n.Dialog___2XI77 {\n  position: relative;\n  z-index: 3;\n  margin: 0 0.25rem;\n  width: 25rem;\n  min-width: 20rem;\n  max-width: 100%;\n  display: inline-block;\n  background-color: var(--color-background);\n  box-shadow: 0 2px 4px var(--color-shadow);\n  padding: 0.5rem;\n  border: 1px solid var(--color-border);\n  border-radius: 0.25rem;\n  font-size: var(--font-size-sans-normal);\n}\n\n.Title___1FtK3 {\n  font-size: var(--font-size-sans-large);\n  margin-bottom: 0.5rem;\n}\n\n.Buttons___3N6w8 {\n  text-align: right;\n  margin-top: 0.5rem;\n}\n\n.Button___3JNc2 {\n  font-size: var(--font-size-sans-large);\n}\n",""]),r.locals={Background:"Background___39iOi",Dialog:"Dialog___2XI77",Title:"Title___1FtK3",Buttons:"Buttons___3N6w8",Button:"Button___3JNc2"}},796:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Group___2hArG {\n  transition: all ease-in-out 250ms;\n}\n\n.Rect___fBfs_ {\n  cursor: pointer;\n  stroke: var(--color-background);\n  transition: all ease-in-out 250ms;\n}\n\n.ForeignObject___2EdVc {\n  pointer-events: none;\n  transition: all ease-in-out 250ms;\n}\n\n.Div___1Pgrm {\n  pointer-events: none;\n  white-space: nowrap;\n  text-overflow: ellipsis;\n  overflow: hidden;\n  font-family: var(--font-family-sans);\n  font-size: var(--font-size-sans-normal);\n  margin-left: 0.25rem;\n  margin-right: 0.25rem;\n  line-height: 1.5;\n  padding: 0 0 0;\n  font-weight: 400;\n  color: var(--color-commit-gradient-text);\n  text-align: left;\n  transition: all ease-in-out 250ms;\n}\n",""]),r.locals={Group:"Group___2hArG",Rect:"Rect___fBfs_",ForeignObject:"ForeignObject___2EdVc",Div:"Div___1Pgrm"}},5758:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Container___WYOTp {\n  width: 100%;\n  flex: 1;\n  padding: 0.5rem;\n}\n\n.PatternPath___2kgd1 {\n  stroke: var(--color-commit-did-not-render-pattern);\n  stroke-width: 1;\n}\n",""]),r.locals={Container:"Container___WYOTp",PatternPath:"PatternPath___2kgd1"}},2760:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Container___2D32U {\n  width: 100%;\n  flex: 1;\n  padding: 0.5rem;\n}\n",""]),r.locals={Container:"Container___2D32U"}},9723:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Toolbar___3u3I_ {\n  padding: 0.25rem 0;\n  margin-bottom: 0.25rem;\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  border-bottom: 1px solid var(--color-border);\n}\n\n.Content___3i3NJ {\n  user-select: none;\n  overflow-y: auto;\n}\n\n.Component___Y5kFG {\n  flex: 1;\n  font-weight: bold;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  white-space: nowrap;\n  overflow-x: hidden;\n  text-overflow: ellipsis;\n}\n\n.CurrentCommit___21fVV {\n  margin: 0.25rem 0;\n  display: block;\n  width: 100%;\n  text-align: left;\n  background: none;\n  border: none;\n}\n",""]),r.locals={Toolbar:"Toolbar___3u3I_",Content:"Content___3i3NJ",Component:"Component___Y5kFG",CurrentCommit:"CurrentCommit___21fVV"}},3206:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".NoCommitData___2oJ_z {\n  width: 100%;\n  height: 100%;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n}\n\n.Header___1oGeD {\n  font-size: var(--font-size-sans-large);\n  margin-bottom: 0.5rem;\n}\n\n.FilterMessage___1Yg5n {\n  display: flex;\n  align-items: center;\n}\n",""]),r.locals={NoCommitData:"NoCommitData___2oJ_z",Header:"Header___1oGeD",FilterMessage:"FilterMessage___1Yg5n"}},5885:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Profiler___20Ry4 {\n  width: 100%;\n  height: 100%;\n  position: relative;\n  display: flex;\n  flex-direction: row;\n  align-items: stretch;\n  font-family: var(--font-family-sans);\n  font-size: var(--font-size-sans-normal);\n  background-color: var(--color-background);\n  color: var(--color-text);\n}\n\n.Profiler___20Ry4, .Profiler___20Ry4 * {\n  box-sizing: border-box;\n  -webkit-font-smoothing: var(--font-smoothing);\n}\n\n.LeftColumn___3I7-I {\n  display: flex;\n  flex-direction: column;\n  flex: 2 1 200px;\n  border-top: 1px solid var(--color-border);\n}\n\n.RightColumn___3smXD {\n  display: flex;\n  flex-direction: column;\n  flex: 1 1 100px;\n  max-width: 300px;\n  overflow-x: hidden;\n  border-left: 1px solid var(--color-border);\n  border-top: 1px solid var(--color-border);\n}\n\n.Content___1LjDy {\n  position: relative;\n  flex: 1 1 auto;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n}\n\n.Column___3WWtw {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  padding: 0 1rem;\n}\n\n.Paragraph___1HLty {\n  text-align: center;\n}\n\n.Row___1RpSu {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  justify-content: center;\n}\n\n.LearnMoreRow___3lYIu {\n  margin-top: 1rem;\n  color: var(--color-dim);\n  font-size: var(--font-size-sans-small);\n}\n\n.Header___QyJw2 {\n  font-size: var(--font-size-sans-large);\n  margin-bottom: 0.5rem;\n}\n\n.Toolbar___30kHu {\n  height: 2.25rem;\n  padding: 0 0.25rem;\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  border-bottom: 1px solid var(--color-border);\n}\n\n.VRule___2y9G3 {\n  height: 20px;\n  width: 1px;\n  border-left: 1px solid var(--color-border);\n  padding-left: 0.25rem;\n  margin-left: 0.25rem;\n}\n\n.Spacer___1sezP {\n  flex: 1;\n}\n\n.StopRecordingButton___1-ElU {\n  font-size: var(--font-size-sans-large);\n  padding: 0.5rem;\n}\n\n.ContentFallback___2Ata2 {\n  width: 100%;\n  height: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  font-size: var(--font-size-sans-large);\n  color: var(--color-dim);\n}\n\n.SnapshotSelectorFallback___3fsFv {\n  height: 100%;\n  padding-left: 0.5rem;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  font-size: var(--font-size-sans-large);\n  color: var(--color-dim);\n}\n\n.Link___mZ2LE {\n  color: var(--color-button);\n}\n\n.TimelineSearchInputContainer___33BJF {\n  flex: 1 1;\n  display: flex;\n  align-items: center;\n}\n\n.LearnMoreLink___7A9ws {\n  color: var(--color-link);\n  margin-left: 0.25rem;\n  margin-right: 0.25rem;\n}",""]),r.locals={Profiler:"Profiler___20Ry4",LeftColumn:"LeftColumn___3I7-I",RightColumn:"RightColumn___3smXD",Content:"Content___1LjDy",Column:"Column___3WWtw",Paragraph:"Paragraph___1HLty",Row:"Row___1RpSu",LearnMoreRow:"LearnMoreRow___3lYIu",Header:"Header___QyJw2",Toolbar:"Toolbar___30kHu",VRule:"VRule___2y9G3",Spacer:"Spacer___1sezP",StopRecordingButton:"StopRecordingButton___1-ElU",ContentFallback:"ContentFallback___2Ata2",SnapshotSelectorFallback:"SnapshotSelectorFallback___3fsFv",Link:"Link___mZ2LE",TimelineSearchInputContainer:"TimelineSearchInputContainer___33BJF",LearnMoreLink:"LearnMoreLink___7A9ws"}},6057:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".VRule___2XiHw {\n  height: 20px;\n  width: 1px;\n  border-left: 1px solid var(--color-border);\n  padding-left: 0.25rem;\n  margin-left: 0.25rem;\n}\n\n/**\n * https://developer.mozilla.org/en-US/docs/Web/API/File/Using_files_from_web_applications\n */\n.Input___2GKA7 {\n  position: absolute !important;\n  height: 1px;\n  width: 1px;\n  overflow: hidden;\n  clip: rect(1px, 1px, 1px, 1px);\n}\n\n.ErrorMessage___3yR0b {\n  margin: 0.5rem 0;\n  color: var(--color-dim);\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n}\n",""]),r.locals={VRule:"VRule___2XiHw",Input:"Input___2GKA7",ErrorMessage:"ErrorMessage___3yR0b"}},8868:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ActiveRecordToggle___1Cpcb {\n  color: var(--color-record-active);\n}\n.ActiveRecordToggle___1Cpcb:hover {\n  color: var(--color-record-active);\n}\n.ActiveRecordToggle___1Cpcb:focus {\n  color: var(--color-record-active);\n}\n.ActiveRecordToggle___1Cpcb:active {\n  color: var(--color-record-hover);\n}\n\n.InactiveRecordToggle___2CUtF {\n  color: var(--color-record-inactive);\n}\n.InactiveRecordToggle___2CUtF:hover {\n  color: var(--color-record-hover);\n}\n.InactiveRecordToggle___2CUtF:focus {\n  color: var(--color-record-inactive);\n}\n.InactiveRecordToggle___2CUtF:active {\n  color: var(--color-record-hover);\n}\n\n.DisabledRecordToggle___gcsbF {\n  color: var(--color-button-disabled);\n}\n.DisabledRecordToggle___gcsbF:hover {\n  color: var(--color-button-disabled);\n}\n.DisabledRecordToggle___gcsbF:focus {\n  color: var(--color-button-disabled);\n}\n.DisabledRecordToggle___gcsbF:active {\n  color: var(--color-button-disabled);\n}\n",""]),r.locals={ActiveRecordToggle:"ActiveRecordToggle___1Cpcb",InactiveRecordToggle:"InactiveRecordToggle___2CUtF",DisabledRecordToggle:"DisabledRecordToggle___gcsbF"}},4290:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Spacer___1c3sH {\n  flex: 1;\n}\n",""]),r.locals={Spacer:"Spacer___1c3sH"}},3179:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Toolbar___CuJgF {\n  height: 2.25rem;\n  padding: 0 0.5rem;\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  border-bottom: 1px solid var(--color-border);\n}\n\n.Content___2tGS0 {\n  padding: 0.5rem;\n  user-select: none;\n  overflow: auto;\n}\n\n.List___2AC9R {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n.ListItem___2wzT0 {\n  margin: 0 0 0.5rem;\n}\n\n.Label___3KINM {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-weight: bold;\n}\n\n.Value___3wrFP {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n}\n\n.NothingSelected___2Sj9L {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  height: 100%;\n  color: var(--color-dim);\n}\n\n.DurationsList___19XUj {\n  list-style: none;\n  margin: 0.25rem 0 0 0;\n  padding: 0;\n  background: var(--color-background-inactive);\n  padding: 0.25rem 0.5rem;\n  border-radius: 0.25rem;\n}\n\n.DurationsListItem___2UKVV {\n  margin: 0.25rem 0 0 0;\n}\n.DurationsListItem___2UKVV:first-of-type {\n  margin: 0;\n}\n",""]),r.locals={Toolbar:"Toolbar___CuJgF",Content:"Content___2tGS0",List:"List___2AC9R",ListItem:"ListItem___2wzT0",Label:"Label___3KINM",Value:"Value___3wrFP",NothingSelected:"NothingSelected___2Sj9L",DurationsList:"DurationsList___19XUj",DurationsListItem:"DurationsListItem___2UKVV"}},2856:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Toolbar___1anMW {\n  height: 2.25rem;\n  padding: 0 0.5rem;\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  border-bottom: 1px solid var(--color-border);\n}\n\n.Content___3KVRW {\n  padding: 0.5rem;\n  user-select: none;\n  overflow: auto;\n}\n\n.List___DLnbX {\n  list-style: none;\n  margin: 0;\n  padding: 0;\n}\n\n.ListItem___3Uw7N {\n  flex: 1 1;\n  margin: 0 0 0.5rem;\n}\n\n.Label___9ImgF {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-weight: bold;\n  flex: 1 1;\n}\n\n.Value___1E_uv {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n}\n\n.Row___327lN {  \n  display: flex;  \n  flex-direction: row;  \n  align-items: center;\n  border-top: 1px solid var(--color-border);\n} \n\n.UnclickableSource___3Kp1w,\n.ClickableSource___1ExdQ {\n  width: 100%;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  font-family: var(--font-family-sans);\n  font-size: var(--font-size-sans-normal);\n}\n\n.UnclickableSource___3Kp1w {\n  color: var(--color-dim);\n}\n\n.ClickableSource___1ExdQ {\n  color: var(--color-text);\n}\n\n.ClickableSource___1ExdQ:focus,\n.ClickableSource___1ExdQ:hover {\n  background-color: var(--color-background-hover);\n}\n",""]),r.locals={Toolbar:"Toolbar___1anMW",Content:"Content___3KVRW",List:"List___DLnbX",ListItem:"ListItem___3Uw7N",Label:"Label___9ImgF",Value:"Value___1E_uv",Row:"Row___327lN",UnclickableSource:"UnclickableSource___3Kp1w",ClickableSource:"ClickableSource___1ExdQ"}},9074:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Toolbar___2uBS2 {\n  height: 2.25rem;\n  padding: 0 0.5rem;\n  flex: 0 0 auto;\n  display: flex;\n  align-items: center;\n  border-bottom: 1px solid var(--color-border);\n}\n\n.Content___1WAA9 {\n  padding: 0.5rem;\n  user-select: none;\n  overflow-y: auto;\n}\n\n.Component___1oc9o {\n  flex: 1;\n  color: var(--color-component-name);\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n  white-space: nowrap;\n  overflow-x: hidden;\n  text-overflow: ellipsis;\n}\n\n.Label___buTyu {\n  font-weight: bold;\n  margin-bottom: 0.5rem;\n}\n\n.CurrentCommit___2ZAl5,\n.Commit___2PAr5 {\n  display: block;\n  width: 100%;\n  text-align: left;\n  background: none;\n  border: none;\n  padding: 0.25rem 0.5rem;\n  color: var(--color-text);\n}\n\n.Commit___2PAr5:focus,\n.Commit___2PAr5:hover {\n  outline: none;\n  background-color: var(--color-background-hover);\n}\n\n.CurrentCommit___2ZAl5 {\n  background-color: var(--color-background-selected);\n  color: var(--color-text-selected);\n}\n\n.CurrentCommit___2ZAl5:focus {\n  outline: none;\n}\n",""]),r.locals={Toolbar:"Toolbar___2uBS2",Content:"Content___1WAA9",Component:"Component___1oc9o",Label:"Label___buTyu",CurrentCommit:"CurrentCommit___2ZAl5",Commit:"Commit___2PAr5"}},786:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".List___1_Mwa {\n  /**\n   * The decision to suppress the default (horizontal) scroll bars is intentional.\n   * The snapshot selector is small enough that the scrollbar renders it essentially useless.\n   * There are two alternative navigation mechanisms (arrow keys and arrow buttons).\n   * If necessary, we could also expand the click-and-drag mechanism to scroll.\n   */\n  overflow-x: hidden !important;\n}\n\n.Tooltip___2j_4b {\n  margin-top: 2.5rem;\n}\n\n.TooltipList___26ss7 {\n  list-style: none;\n  padding: 0;\n  margin: 0;\n}\n\n.TooltipListItem___3xWli {\n  display: flex;\n}\n\n.TooltipLabel___2xbrN {\n  font-weight: bold;\n  margin-right: 0.25rem;\n}\n.TooltipLabel___2xbrN:after {\n  content: ':';\n}\n\n.TooltipValue___1nc1C {\n  flex-grow: 1;\n  text-align: end;\n}\n\n.DurationsWrapper___10A0R {\n  flex-grow: 1;\n}\n\n.DurationsList___NtAHH {\n  list-style: none;\n  margin: 0 0 0 1rem;\n  padding: 0;\n}\n\n.DurationsListItem___Q0jav {\n  display: flex;\n}\n\n.DurationsLabel___XxynS {\n  margin-right: 0.25rem;\n}\n.DurationsLabel___XxynS:after {\n  content: ':';\n}\n\n.DurationsValue___1FRM8 {\n  flex-grow: 1;\n  text-align: end;\n}",""]),r.locals={List:"List___1_Mwa",Tooltip:"Tooltip___2j_4b",TooltipList:"TooltipList___26ss7",TooltipListItem:"TooltipListItem___3xWli",TooltipLabel:"TooltipLabel___2xbrN",TooltipValue:"TooltipValue___1nc1C",DurationsWrapper:"DurationsWrapper___10A0R",DurationsList:"DurationsList___NtAHH",DurationsListItem:"DurationsListItem___Q0jav",DurationsLabel:"DurationsLabel___XxynS",DurationsValue:"DurationsValue___1FRM8"}},466:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Outer___2YMUU {\n  user-select: none;\n  cursor: pointer;\n  border-bottom: 3px solid transparent;\n  padding-top: 4px;\n  padding-bottom: 1px;\n  display: flex;\n  align-items: flex-end;\n}\n.Outer___2YMUU:hover {\n  background-color: var(--color-background);\n}\n\n.Inner___TFCLU,\n.InnerSelected___2Qf2T {\n  width: 100%;\n  min-height: 2px;\n  background-color: var(--color-commit-did-not-render-fill);\n  color: var(--color-commit-did-not-render-fill-text);\n}\n\n.InnerSelected___2Qf2T {\n  background-color: var(--color-button-active);\n}",""]),r.locals={Outer:"Outer___2YMUU",Inner:"Inner___TFCLU",InnerSelected:"InnerSelected___2Qf2T"}},3599:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Button___7tgtJ {\n  flex: 0 0 auto;\n  margin-left: 0.25rem;\n}\n\n.Commits___2KF5W {\n  height: 100%;\n  min-width: 30px;\n  margin-left: 0.25rem;\n  overflow: visible;\n}\n.Commits___2KF5W:focus {\n  outline: none;\n  background-color: var(--color-button-background-focus);\n}\n\n.IndexLabel___36CS7 {\n  flex: 0 0 auto;\n  white-space: nowrap;\n  font-family: var(--font-family-monospace);\n  margin-left: 0.25rem;\n}\n\n.NoCommits___3GzV1 {\n  height: 100%;\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  color: var(--color-dim);\n}\n\n.Input___2QoRI {\n  background: none;\n  font-size: var(--font-size-sans-normal);\n  text-align: right;\n  font-family: var(--font-family-monospace);\n  border: 1px solid transparent;\n  border-radius: 0.125rem;\n  padding: 0.125rem;\n  color: var(--color-attribute-editable-value);\n}\n\n.Input___2QoRI:focus {\n  background-color: var(--color-button-background-focus);\n  outline: none;\n}\n",""]),r.locals={Button:"Button___7tgtJ",Commits:"Commits___2KF5W",IndexLabel:"IndexLabel___36CS7",NoCommits:"NoCommits___3GzV1",Input:"Input___2QoRI"}},6841:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Tooltip___NP68S {\n  position: absolute;\n  pointer-events: none;\n  border: none;\n  border-radius: 0.25rem;\n  padding: 0.25rem 0.5rem;\n  font-family: var(--font-family-sans);\n  font-size: 12px;\n  background-color: var(--color-tooltip-background);\n  color: var(--color-tooltip-text);\n  opacity: 1;\n  white-space: nowrap;\n  /* Make sure this is above the DevTools, which are above the Overlay */\n  z-index: 10000002;\n}\n\n.Tooltip___NP68S.hidden___3rGbV {\n  opacity: 0;\n}\n\n\n.Container___3aJAm {\n  width: -moz-max-content;\n  width: -webkit-max-content;\n}\n",""]),r.locals={Tooltip:"Tooltip___NP68S",hidden:"hidden___3rGbV",Container:"Container___3aJAm"}},1400:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Updaters___ykaBk {\n  margin: 0 0 0.5rem;\n}\n\n.NoUpdaters___2ZO7w,\n.Updater___f5nQz,\n.UnmountedUpdater___2Smse {\n  display: block;\n  width: 100%;\n  text-align: left;\n  background: none;\n  border: none;\n  padding: 0.25rem 0.5rem;\n  color: var(--color-text);\n}\n.Updater___f5nQz:focus,\n.Updater___f5nQz:hover {\n  outline: none;\n  background-color: var(--color-background-hover);\n}\n\n.NoUpdaters___2ZO7w,\n.UnmountedUpdater___2Smse {\n  color: var(--color-dim);\n}\n",""]),r.locals={Updaters:"Updaters___ykaBk",NoUpdaters:"NoUpdaters___2ZO7w",Updater:"Updater___f5nQz",UnmountedUpdater:"UnmountedUpdater___2Smse"}},9061:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Component___3ci_S {\n  margin-bottom: 0.5rem;\n}\n\n.Item___2hxYk {\n  margin-top: 0.25rem;\n}\n\n.Key___1tUd1 {\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-small);\n  line-height: 1;\n}\n\n.Key___1tUd1:first-of-type::before {\n  content: ' (';\n}\n\n.Key___1tUd1::after {\n  content: ', ';\n}\n\n.Key___1tUd1:last-of-type::after {\n  content: ')';\n}\n\n.Label___2zyeV {\n  font-weight: bold;\n}\n",""]),r.locals={Component:"Component___3ci_S",Item:"Item___2hxYk",Key:"Key___1tUd1",Label:"Label___2zyeV"}},5070:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ReactLogo___O8zf5 {\n  width: 1.75rem;\n  height: 1.75rem;\n  margin: 0 0.75rem 0 0.25rem;\n  color: var(--color-button-active);\n}\n",""]),r.locals={ReactLogo:"ReactLogo___O8zf5"}},3609:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".SearchInput___5BLz9 {\n  flex: 1 1;\n  display: flex;\n  align-items: center;\n}\n\n.Input___15H-Z {\n  flex: 1 1 100px;\n  width: 100px;\n  font-size: var(--font-size-sans-large);\n  outline: none;\n  border: none;\n  background-color: var(--color-background);\n  color: var(--color-text);\n  padding-left: 1.5rem;\n  margin-left: -1rem;\n}\n\n.InputIcon___2jd-q {\n  pointer-events: none;\n  z-index: 2;\n  color: var(--color-dimmer);\n}\n\n.IndexLabel___98Dk_ {\n  color: var(--color-dim);\n  font-size: var(--font-size-sans-normal);\n  white-space: pre;\n}\n\n.LeftVRule___B5avU{\n  height: 20px;\n  width: 1px;\n  background-color: var(--color-border);\n}\n.LeftVRule___B5avU {\n  margin: 0 0.25rem 0 0.5rem;\n}\n",""]),r.locals={SearchInput:"SearchInput___5BLz9",Input:"Input___15H-Z",InputIcon:"InputIcon___2jd-q",IndexLabel:"IndexLabel___98Dk_",LeftVRule:"LeftVRule___B5avU"}},5240:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Background___3ncIs {\n  position: absolute;\n  z-index: 3;\n  width: 100%;\n  top: 0;\n  bottom: 0;\n  background-color: var(--color-modal-background);\n  display: flex;\n  align-items: flex-start;\n  justify-content: center;\n  font-size: var(--font-size-sans-normal);\n  padding: 1rem;\n}\n\n.Modal___rU10h {\n  display: flex;\n  flex-direction: column;\n  flex: 0 1 auto;\n  max-height: 100%;\n  background-color: var(--color-background);\n  border: 1px solid var(--color-border);\n  box-shadow: 0 2px 4px var(--color-shadow);\n  border-radius: 0.25rem;\n  overflow: auto;\n  width: 410px;\n  max-width: 100%;\n}\n\n.Spacer___3_C0y {\n  flex: 1;\n}\n\n.Tabs___3mQky {\n  display: flex;\n  flex-direction: row;\n  border-bottom: 1px solid var(--color-border);\n  padding-right: 0.25rem;\n  flex: 0 0 auto;\n}\n\n.Content___2YU9A {\n  padding: 0.5rem;\n  flex: 0 1 auto;\n  overflow: auto;\n}",""]),r.locals={Background:"Background___3ncIs",Modal:"Modal___rU10h",Spacer:"Spacer___3_C0y",Tabs:"Tabs___3mQky",Content:"Content___2YU9A"}},5489:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Settings___29B2k {\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  justify-content: flex-start;\n  font-family: var(--font-family-sans);\n  font-size: var(--font-size-sans-normal);\n}\n\n.Setting___1NJgU {\n  margin-bottom: 0.5rem;\n}\n.Setting___1NJgU:last-of-type {\n  margin-bottom: 0;\n}\n\n.OpenInURLSetting___2eTwK {\n  margin: 0.5rem 0;\n}\n\n.OptionGroup___2ZgHP {\n  display: inline-flex;\n  flex-direction: row;\n  align-items: center;\n  user-select: none;\n  margin: 0 1rem 0.5rem 0;\n}\n.OptionGroup___2ZgHP:last-of-type {\n  margin-right: 0;\n}\n\n.RadioLabel___1oyOB {\n  display: inline;\n  margin-right: 0.5rem;\n}\n\n.Spacer___1rTaV {\n  height: 0.5rem;\n}\n\n.CheckboxOption___2XWVZ {\n  display: block;\n  padding: 0 0 0.5rem;\n}\n\n.HRule___1h4ad {\n  height: 1px;\n  background-color: var(--color-border);\n  width: 100%;\n  border: none;\n  margin: 0.5rem 0;\n}\n\n.Header___NGIlt {\n  font-size: var(--font-size-sans-large);\n  margin-top: 0.5rem;\n}\n\n.ButtonIcon___3ZAjp {\n  margin-right: 0.25rem;\n}\n\n.NoFiltersCell___1WYR2 {\n  padding: 0.25rem 0;\n  color: var(--color-dim);\n}\n\n.Table___2srES {\n  min-width: 20rem;\n  margin-top: 0.5rem;\n  border-spacing: 0;\n}\n\n.TableRow___3kYuW {\n  padding-bottom: 0.5rem;\n}\n\n.TableCell___1yj52 {\n  padding: 0;\n  padding-right: 0.5rem;\n}\n.TableCell___1yj52:last-of-type {\n  text-align: right;\n  padding-right: 0;\n}\n\n.Input___I9AdA {\n  border: 1px solid var(--color-border);\n  border-radius: 0.125rem;\n  padding: 0.125rem;\n  margin-left: .5rem;\n}\n\n.InvalidRegExp___35lmE,\n.InvalidRegExp___35lmE:active,\n.InvalidRegExp___35lmE:focus,\n.InvalidRegExp___35lmE:hover {\n  color: var(--color-value-invalid);\n}\n\n.ToggleOffInvalid___2Rg2K,\n.ToggleOnInvalid___1Kamt,\n.ToggleOff___3cr6E,\n.ToggleOn___3KAVB {\n  border-radius: 0.75rem;\n  width: 1rem;\n  height: 0.625rem;\n  display: flex;\n  align-items: center;\n  padding: 0.125rem;\n}\n.ToggleOffInvalid___2Rg2K {\n  background-color: var(--color-toggle-background-invalid);\n  justify-content: flex-start;\n}\n.ToggleOnInvalid___1Kamt {\n  background-color: var(--color-toggle-background-invalid);\n  justify-content: flex-end;\n}\n.ToggleOff___3cr6E {\n  background-color: var(--color-toggle-background-off);\n  justify-content: flex-start;\n}\n.ToggleOn___3KAVB {\n  background-color: var(--color-toggle-background-on);\n  justify-content: flex-end;\n}\n\n.ToggleInsideOff___1pXcm,\n.ToggleInsideOn___3kEsU {\n  border-radius: 0.375rem;\n  width: 0.375rem;\n  height: 0.375rem;\n  background-color: var(--color-toggle-text);\n}\n\n.ReleaseNotes___q8NY1 {\n  width: 100%;\n  background-color: var(--color-background-hover);\n  padding: 0.25rem 0.5rem;\n  border-radius: 0.25rem;\n}\n\n.ReleaseNotesLink___2gjE8 {\n  color: var(--color-button-active);\n}\n\n.Warning___3xUvj {\n  color: var(--color-error-text);\n}\n\n.VersionsList___35cmE {\n  list-style: none;\n  padding: 0;\n  margin: 0;\n}",""]),r.locals={Settings:"Settings___29B2k",Setting:"Setting___1NJgU",OpenInURLSetting:"OpenInURLSetting___2eTwK",OptionGroup:"OptionGroup___2ZgHP",RadioLabel:"RadioLabel___1oyOB",Spacer:"Spacer___1rTaV",CheckboxOption:"CheckboxOption___2XWVZ",HRule:"HRule___1h4ad",Header:"Header___NGIlt",ButtonIcon:"ButtonIcon___3ZAjp",NoFiltersCell:"NoFiltersCell___1WYR2",Table:"Table___2srES",TableRow:"TableRow___3kYuW",TableCell:"TableCell___1yj52",Input:"Input___I9AdA",InvalidRegExp:"InvalidRegExp___35lmE",ToggleOffInvalid:"ToggleOffInvalid___2Rg2K",ToggleOnInvalid:"ToggleOnInvalid___1Kamt",ToggleOff:"ToggleOff___3cr6E",ToggleOn:"ToggleOn___3KAVB",ToggleInsideOff:"ToggleInsideOff___1pXcm",ToggleInsideOn:"ToggleInsideOn___3kEsU",ReleaseNotes:"ReleaseNotes___q8NY1",ReleaseNotesLink:"ReleaseNotesLink___2gjE8",Warning:"Warning___3xUvj",VersionsList:"VersionsList___35cmE"}},5744:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Tab___20JoC,\n.TabCurrent___b4c3L,\n.TabDisabled___l1-ZF {\n  height: 100%;\n  display: flex;\n  align-items: center;\n  cursor: pointer;\n  border-top: 3px solid transparent;\n  border-bottom: 3px solid transparent;\n  user-select: none;\n  color: var(--color-text);\n\n  /* Hide radio buttons for Firefox too */\n  position:  relative;\n\n  /* Electron drag area */\n  -webkit-app-region: no-drag;\n}\n.Tab___20JoC:hover,\n.TabCurrent___b4c3L:hover {\n  background-color: var(--color-background-hover);\n}\n.Tab___20JoC:focus-within,\n.TabCurrent___b4c3L:focus-within {\n  background-color: var(--color-background-hover);\n}\n\n.TabCurrent___b4c3L {\n  border-bottom: 3px solid var(--color-tab-selected-border);\n}\n\n.TabDisabled___l1-ZF {\n  color: var(--color-dim);\n  cursor: default;\n}\n\n.TabSizeNavigation___2GG1g {\n  font-size: var(--font-size-sans-large);\n  padding: 0.5rem 1rem;\n}\n.TabSizeProfiler___2wFBf {\n  font-size: var(--font-size-sans-normal);\n  padding: 0.25rem 0.5rem;\n}\n.TabSizeSettings___3V4f9 {\n  font-size: var(--font-size-sans-normal);\n  padding: 0.25rem 0.5rem;\n}\n\n.Input___2unCl {\n  width: 0;\n  margin: 0;\n  opacity: 0;\n\n  /* Hide radio buttons for Firefox too */\n  position:  absolute;\n}\n\n.IconSizeNavigation___mZIpl,\n.IconSizeProfiler___1jYXs,\n.IconSizeSettings___1HNRk {\n  margin-right: 0.5rem;\n  color: var(--color-button-active);\n}\n\n.IconDisabled___17Sd2 {\n  color: var(--color-dim);\n}\n\n.IconSizeNavigation___mZIpl {\n  width: 1.5rem;\n  height: 1.5rem;\n}\n.IconSizeProfiler___1jYXs {\n  width: 1rem;\n  height: 1rem;\n}\n.IconSizeSettings___1HNRk {\n  width: 1rem;\n  height: 1rem;\n}\n\n.TabLabelNavigation___2q3j3,\n.TabLabelProfiler___2QHeh,\n.TabLabelSettings___1pDKr {\n}\n\n.VRule___QpkmZ {\n  height: 20px;\n  width: 1px;\n  border-left: 1px solid var(--color-border);\n  padding-left: 0.25rem;\n  margin-left: 0.25rem;\n}\n\n@media screen and (max-width: 525px) {\n  .IconSizeNavigation___mZIpl {\n    margin-right: 0;\n  }\n\n  .TabLabelNavigation___2q3j3 {\n    display: none;\n  }\n}\n\n@media screen and (max-width: 900px) {\n  .TabLabelProfiler___2QHeh {\n    display: none;\n  }\n\n  .IconSizeProfiler___1jYXs {\n    margin-right: 0;\n  }\n}\n\n@media screen and (max-width: 400px) {\n  .TabLabelSettings___1pDKr {\n    display: none;\n  }\n\n  .IconSizeSettings___1HNRk {\n    margin-right: 0;\n  }\n}\n",""]),r.locals={Tab:"Tab___20JoC",TabCurrent:"TabCurrent___b4c3L",TabDisabled:"TabDisabled___l1-ZF",TabSizeNavigation:"TabSizeNavigation___2GG1g",TabSizeProfiler:"TabSizeProfiler___2wFBf",TabSizeSettings:"TabSizeSettings___3V4f9",Input:"Input___2unCl",IconSizeNavigation:"IconSizeNavigation___mZIpl",IconSizeProfiler:"IconSizeProfiler___1jYXs",IconSizeSettings:"IconSizeSettings___1HNRk",IconDisabled:"IconDisabled___17Sd2",TabLabelNavigation:"TabLabelNavigation___2q3j3",TabLabelProfiler:"TabLabelProfiler___2QHeh",TabLabelSettings:"TabLabelSettings___1pDKr",VRule:"VRule___QpkmZ"}},9741:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".ToggleDisabled___iQeZ3,\n.ToggleOn___3XJTo,\n.ToggleOff___142SC {\n  background: var(--color-button-background);\n  border: none;\n  border-radius: 0.25rem;\n  padding: 0;\n  flex: 0 0 auto;\n}\n\n.ToggleContent___1C-vg {\n  display: inline-flex;\n  align-items: center;\n  border-radius: 0.25rem;\n  padding: 0.25rem;\n}\n\n.ToggleOff___142SC {\n  border: none;\n  background: var(--color-button-background);\n  color: var(--color-button);\n}\n.ToggleOff___142SC:hover {\n  color: var(--color-button-hover);\n}\n\n.ToggleOn___3XJTo,\n.ToggleOn___3XJTo:active {\n  color: var(--color-button-active);\n  outline: none;\n}\n\n.ToggleOn___3XJTo:focus,\n.ToggleOff___142SC:focus,\n.ToggleContent___1C-vg:focus {\n  outline: none;\n}\n\n.ToggleOn___3XJTo:focus > .ToggleContent___1C-vg,\n.ToggleOff___142SC:focus > .ToggleContent___1C-vg {\n  background: var(--color-button-background-focus);\n}\n\n.ToggleDisabled___iQeZ3 {\n  background: var(--color-button-background);\n  color: var(--color-button-disabled);\n  cursor: default;\n}\n",""]),r.locals={ToggleDisabled:"ToggleDisabled___iQeZ3",ToggleOn:"ToggleOn___3XJTo",ToggleOff:"ToggleOff___142SC",ToggleContent:"ToggleContent___1C-vg"}},8611:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Column___3s3y6 { \n  display: flex;  \n  flex-direction: column; \n} \n\n.Title___2c8MM {  \n  font-size: var(--font-size-sans-large); \n  margin-bottom: 0.5rem;  \n} \n\n.Version___34HO3 {\n  color: var(--color-bridge-version-number);\n  font-weight: bold;\n}\n\n.NpmCommand___2lHg1 {\n  display: flex;\n  justify-content: space-between;\n  padding: 0.25rem 0.25rem 0.25rem 0.5rem;\n  background-color: var(--color-bridge-version-npm-background);\n  color: var(--color-bridge-version-npm-text);\n  margin: 0;\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-large);\n}\n\n.Paragraph___3H72v {\n  margin: 0.5rem 0;\n}\n\n.Link___5TAEG {\n  color: var(--color-link);\n}",""]),r.locals={Column:"Column___3s3y6",Title:"Title___2c8MM",Version:"Version___34HO3",NpmCommand:"NpmCommand___2lHg1",Paragraph:"Paragraph___3H72v",Link:"Link___5TAEG"}},250:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Row___3IwJ6 {  \n  display: flex;  \n  flex-direction: row;  \n  align-items: center;  \n} \n\n.Title___1PTyg {  \n  font-size: var(--font-size-sans-large); \n  margin-bottom: 0.5rem;  \n} \n\n.ReleaseNotesLink___2_Y38 { \n  color: var(--color-button-active);  \n}",""]),r.locals={Row:"Row___3IwJ6",Title:"Title___1PTyg",ReleaseNotesLink:"ReleaseNotesLink___2_Y38"}},4252:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Command___2iS3V {\n  background-color: var(--color-dimmest);\n  padding: 0.25rem 0.5rem;\n  display: block;\n  border-radius: 0.125rem;\n}\n",""]),r.locals={Command:"Command___2iS3V"}},7408:(e,r,t)=>{(e.exports=t(5751)(!1)).push([e.id,":root {\n  /* Font smoothing */\n  --font-smoothing: auto;\n\n  /* GitHub.com system fonts */\n  --font-family-monospace: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo,\n    Courier, monospace;\n  --font-family-sans: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica,\n    Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;\n}\n",""])},1492:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".CanvasPage___1bMJ5 {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  left: 0;\n  right: 0;\n}\n",""]),r.locals={CanvasPage:"CanvasPage___1bMJ5"}},5404:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Tooltip___zx7EV {\n  position: fixed;\n}\n\n.TooltipSection___1ymuA,\n.TooltipWarningSection___3NM2z,\n.SingleLineTextSection___Xt1VX {\n  display: block;\n  border-radius: 0.125rem;\n  padding: 0.25rem;\n  user-select: none;\n  pointer-events: none;\n  background-color: var(--color-tooltip-background);\n  box-shadow: 1px 1px 2px var(--color-shadow);\n  color: var(--color-tooltip-text);\n  font-size: 11px;\n}\n.TooltipWarningSection___3NM2z {\n  margin-top: 0.25rem;\n  background-color: var(--color-warning-background);\n}\n.TooltipSection___1ymuA,\n.TooltipWarningSection___3NM2z {\n  max-width: 300px;\n}\n.SingleLineTextSection___Xt1VX {\n  white-space: nowrap;\n}\n\n.Divider___3WRJj {\n  height: 1px;\n  background-color: #aaa;\n  margin: 0.25rem 0;\n}\n\n.DetailsGrid___2geMz {\n  display: grid;\n  padding-top: 5px;\n  grid-gap: 2px 5px;\n  grid-template-columns: min-content auto;\n}\n\n.DetailsGridLabel___Vo1pu {\n  color: var(--color-dim);\n  text-align: right;\n  white-space: nowrap;\n}\n\n.DetailsGridLongValue___3vEFb {\n  word-break: break-all;\n  max-height: 50vh;\n  overflow: hidden;\n}\n\n.FlamechartStackFrameName___15Syk {\n  word-break: break-word;\n}\n\n.ComponentName___M_PGg {\n  font-weight: bold;\n  word-break: break-word;\n  margin-right: 0.25rem;\n}\n\n.ReactMeasureLabel___rpyRN {\n}\n\n.UserTimingLabel___1Fpxr {\n  word-break: break-word;\n}\n\n.NativeEventName___HXtAH {\n  font-weight: bold;\n  word-break: break-word;\n  margin-right: 0.25rem;\n}\n\n.WarningText___cf1lY {\n  color: var(--color-warning-text-color);\n}\n\n.Image___3nrFz {\n  border: 1px solid var(--color-border);\n}\n\n.DimText___asq74 {\n  color: var(--color-dim);\n}",""]),r.locals={Tooltip:"Tooltip___zx7EV",TooltipSection:"TooltipSection___1ymuA",TooltipWarningSection:"TooltipWarningSection___3NM2z",SingleLineTextSection:"SingleLineTextSection___Xt1VX",Divider:"Divider___3WRJj",DetailsGrid:"DetailsGrid___2geMz",DetailsGridLabel:"DetailsGridLabel___Vo1pu",DetailsGridLongValue:"DetailsGridLongValue___3vEFb",FlamechartStackFrameName:"FlamechartStackFrameName___15Syk",ComponentName:"ComponentName___M_PGg",ReactMeasureLabel:"ReactMeasureLabel___rpyRN",UserTimingLabel:"UserTimingLabel___1Fpxr",NativeEventName:"NativeEventName___HXtAH",WarningText:"WarningText___cf1lY",Image:"Image___3nrFz",DimText:"DimText___asq74"}},6677:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Content___2QeJf {\n  width: 100%;\n  position: relative;\n  flex: 1 1 auto;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n}\n\n\n.ErrorMessage___1LWbq {\n  margin: 0.5rem 0;\n  color: var(--color-dim);\n  font-family: var(--font-family-monospace);\n  font-size: var(--font-size-monospace-normal);\n}\n\n.Row___1Veyi {\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  justify-content: center;\n  flex-flow: wrap;\n}\n\n.EmptyStateContainer___2OQbO {\n  text-align: center;\n}\n\n.Header___2vzMq {\n  font-size: var(--font-size-sans-large);\n  margin-bottom: 0.5rem;\n}\n",""]),r.locals={Content:"Content___2QeJf",ErrorMessage:"ErrorMessage___1LWbq",Row:"Row___1Veyi",EmptyStateContainer:"EmptyStateContainer___2OQbO",Header:"Header___2vzMq"}},9490:(e,r,t)=>{(r=e.exports=t(5751)(!1)).push([e.id,".Column___5Ol48 {\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  padding: 0 1rem;\n}\n\n.Header___322Sm {\n  font-size: var(--font-size-sans-large);\n  margin-bottom: 0.5rem;\n}\n\n.Paragraph___22fN5 {\n  text-align: center;\n  margin: 0;\n}\n\n.Link___36nzP {\n  color: var(--color-link);\n}\n\n.LearnMoreRow___aWp1e {\n  margin-top: 1rem;\n  color: var(--color-dim);\n  font-size: var(--font-size-sans-small);\n}\n\n.Code___19uUo {\n  color: var(--color-bridge-version-number);\n}\n\n.MetaGKRow___1tKC1 {\n  background: var(--color-background-hover);\n  padding: 0.25rem 0.5rem;\n  border-radius: 0.25rem;\n  margin-top: 1rem;\n}",""]),r.locals={Column:"Column___5Ol48",Header:"Header___322Sm",Paragraph:"Paragraph___22fN5",Link:"Link___36nzP",LearnMoreRow:"LearnMoreRow___aWp1e",Code:"Code___19uUo",MetaGKRow:"MetaGKRow___1tKC1"}},7007:(e,r,t)=>{var a=t(5322);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},707:(e,r,t)=>{var a=t(7366);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},4850:(e,r,t)=>{var a=t(1716);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3072:(e,r,t)=>{var a=t(4556);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3683:(e,r,t)=>{var a=t(4262);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},6628:(e,r,t)=>{var a=t(5945);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},19:(e,r,t)=>{var a=t(2163);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},407:(e,r,t)=>{var a=t(3516);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3004:(e,r,t)=>{var a=t(935);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8490:(e,r,t)=>{var a=t(7379);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},5994:(e,r,t)=>{var a=t(4419);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1774:(e,r,t)=>{var a=t(5266);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1456:(e,r,t)=>{var a=t(642);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7613:(e,r,t)=>{var a=t(4282);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},9548:(e,r,t)=>{var a=t(3285);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1443:(e,r,t)=>{var a=t(434);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8562:(e,r,t)=>{var a=t(8368);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7074:(e,r,t)=>{var a=t(5855);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3587:(e,r,t)=>{var a=t(7591);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},69:(e,r,t)=>{var a=t(9910);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},5458:(e,r,t)=>{var a=t(8203);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8818:(e,r,t)=>{var a=t(9436);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},6747:(e,r,t)=>{var a=t(9553);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},232:(e,r,t)=>{var a=t(921);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7494:(e,r,t)=>{var a=t(3727);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},6974:(e,r,t)=>{var a=t(6591);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8313:(e,r,t)=>{var a=t(7481);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},9515:(e,r,t)=>{var a=t(4721);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7500:(e,r,t)=>{var a=t(8291);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8633:(e,r,t)=>{var a=t(1907);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1061:(e,r,t)=>{var a=t(7204);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7922:(e,r,t)=>{var a=t(4843);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},5394:(e,r,t)=>{var a=t(5850);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3943:(e,r,t)=>{var a=t(7649);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7826:(e,r,t)=>{var a=t(3036);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},886:(e,r,t)=>{var a=t(796);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},2350:(e,r,t)=>{var a=t(5758);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},5292:(e,r,t)=>{var a=t(2760);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},6078:(e,r,t)=>{var a=t(9723);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},4368:(e,r,t)=>{var a=t(3206);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},6670:(e,r,t)=>{var a=t(5885);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8682:(e,r,t)=>{var a=t(6057);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1909:(e,r,t)=>{var a=t(8868);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},4594:(e,r,t)=>{var a=t(4290);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},6038:(e,r,t)=>{var a=t(3179);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},5714:(e,r,t)=>{var a=t(2856);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1409:(e,r,t)=>{var a=t(9074);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},5722:(e,r,t)=>{var a=t(786);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7102:(e,r,t)=>{var a=t(466);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1633:(e,r,t)=>{var a=t(3599);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1680:(e,r,t)=>{var a=t(6841);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8640:(e,r,t)=>{var a=t(1400);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3582:(e,r,t)=>{var a=t(9061);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},9653:(e,r,t)=>{var a=t(5070);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},9110:(e,r,t)=>{var a=t(3609);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},476:(e,r,t)=>{var a=t(5240);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},1426:(e,r,t)=>{var a=t(5489);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3617:(e,r,t)=>{var a=t(5744);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},2235:(e,r,t)=>{var a=t(9741);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8178:(e,r,t)=>{var a=t(8611);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7304:(e,r,t)=>{var a=t(250);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7277:(e,r,t)=>{var a=t(4252);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},2404:(e,r,t)=>{var a=t(7408);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},9410:(e,r,t)=>{var a=t(1492);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},3980:(e,r,t)=>{var a=t(5404);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},7578:(e,r,t)=>{var a=t(6677);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},8942:(e,r,t)=>{var a=t(9490);"string"==typeof a&&(a=[[e.id,a,""]]);t(2379)(a,{hmr:!0,transform:void 0,insertInto:void 0}),a.locals&&(e.exports=a.locals)},2379:(e,r,t)=>{var a,n,i={},o=(a=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===n&&(n=a.apply(this,arguments)),n}),s=function(e,r){return r?r.querySelector(e):document.querySelector(e)},l=function(e){var r={};return function(e,t){if("function"==typeof e)return e();if(void 0===r[e]){var a=s.call(this,e,t);if(window.HTMLIFrameElement&&a instanceof window.HTMLIFrameElement)try{a=a.contentDocument.head}catch(e){a=null}r[e]=a}return r[e]}}(),u=null,c=0,f=[],v=t(2275);function d(e,r){for(var t=0;t<e.length;t++){var a=e[t],n=i[a.id];if(n){n.refs++;for(var o=0;o<n.parts.length;o++)n.parts[o](a.parts[o]);for(;o<a.parts.length;o++)n.parts.push(g(a.parts[o],r))}else{var s=[];for(o=0;o<a.parts.length;o++)s.push(g(a.parts[o],r));i[a.id]={id:a.id,refs:1,parts:s}}}}function h(e,r){for(var t=[],a={},n=0;n<e.length;n++){var i=e[n],o=r.base?i[0]+r.base:i[0],s={css:i[1],media:i[2],sourceMap:i[3]};a[o]?a[o].parts.push(s):t.push(a[o]={id:o,parts:[s]})}return t}function _(e,r){var t=l(e.insertInto);if(!t)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var a=f[f.length-1];if("top"===e.insertAt)a?a.nextSibling?t.insertBefore(r,a.nextSibling):t.appendChild(r):t.insertBefore(r,t.firstChild),f.push(r);else if("bottom"===e.insertAt)t.appendChild(r);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var n=l(e.insertAt.before,t);t.insertBefore(r,n)}}function m(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var r=f.indexOf(e);r>=0&&f.splice(r,1)}function p(e){var r=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var a=t.nc;a&&(e.attrs.nonce=a)}return S(r,e.attrs),_(e,r),r}function S(e,r){Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])}))}function g(e,r){var t,a,n,i;if(r.transform&&e.css){if(!(i="function"==typeof r.transform?r.transform(e.css):r.transform.default(e.css)))return function(){};e.css=i}if(r.singleton){var o=c++;t=u||(u=p(r)),a=E.bind(null,t,o,!1),n=E.bind(null,t,o,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(t=function(e){var r=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",S(r,e.attrs),_(e,r),r}(r),a=k.bind(null,t,r),n=function(){m(t),t.href&&URL.revokeObjectURL(t.href)}):(t=p(r),a=y.bind(null,t),n=function(){m(t)});return a(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;a(e=r)}else n()}}e.exports=function(e,r){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(r=r||{}).attrs="object"==typeof r.attrs?r.attrs:{},r.singleton||"boolean"==typeof r.singleton||(r.singleton=o()),r.insertInto||(r.insertInto="head"),r.insertAt||(r.insertAt="bottom");var t=h(e,r);return d(t,r),function(e){for(var a=[],n=0;n<t.length;n++){var o=t[n];(s=i[o.id]).refs--,a.push(s)}for(e&&d(h(e,r),r),n=0;n<a.length;n++){var s;if(0===(s=a[n]).refs){for(var l=0;l<s.parts.length;l++)s.parts[l]();delete i[s.id]}}}};var b,w=(b=[],function(e,r){return b[e]=r,b.filter(Boolean).join("\n")});function E(e,r,t,a){var n=t?"":a.css;if(e.styleSheet)e.styleSheet.cssText=w(r,n);else{var i=document.createTextNode(n),o=e.childNodes;o[r]&&e.removeChild(o[r]),o.length?e.insertBefore(i,o[r]):e.appendChild(i)}}function y(e,r){var t=r.css,a=r.media;if(a&&e.setAttribute("media",a),e.styleSheet)e.styleSheet.cssText=t;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(t))}}function k(e,r,t){var a=t.css,n=t.sourceMap,i=void 0===r.convertToAbsoluteUrls&&n;(r.convertToAbsoluteUrls||i)&&(a=v(a)),n&&(a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */");var o=new Blob([a],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(o),s&&URL.revokeObjectURL(s)}},7282:(e,r,t)=>{var a=t(6803),n=["importFile"];e.exports=function(){var e=new Worker(URL.createObjectURL(new Blob(['(()=>{var e={496:(e,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.importFromOldV8CPUProfile=r.importFromChromeCPUProfile=r.importFromChromeTimeline=r.isChromeTimeline=void 0;const t=a(211),i=a(844),n=a(218),s=a(320);r.isChromeTimeline=function(e){if(!Array.isArray(e))return!1;if(e.length<1)return!1;const r=e[0];return"pid"in r&&"tid"in r&&"ph"in r&&"cat"in r&&!!e.find((e=>"CpuProfile"===e.name||"Profile"===e.name||"ProfileChunk"===e.name))},r.importFromChromeTimeline=function(e,r){const a=new Map,t=new Map,n=new Map;i.sortBy(e,(e=>e.ts));for(let r of e){if("CpuProfile"===r.name){const e=`${r.pid}:${r.tid}`,i=r.id||e;a.set(i,r.args.data.cpuProfile),t.set(i,e)}if("Profile"===r.name){const e=`${r.pid}:${r.tid}`;a.set(r.id||e,Object.assign({startTime:0,endTime:0,nodes:[],samples:[],timeDeltas:[]},r.args.data)),r.id&&t.set(r.id,`${r.pid}:${r.tid}`)}if("thread_name"===r.name&&n.set(`${r.pid}:${r.tid}`,r.args.name),"ProfileChunk"===r.name){const e=`${r.pid}:${r.tid}`,t=a.get(r.id||e);if(t){const e=r.args.data;e.cpuProfile&&(e.cpuProfile.nodes&&(t.nodes=t.nodes.concat(e.cpuProfile.nodes)),e.cpuProfile.samples&&(t.samples=t.samples.concat(e.cpuProfile.samples))),e.timeDeltas&&(t.timeDeltas=t.timeDeltas.concat(e.timeDeltas)),null!=e.startTime&&(t.startTime=e.startTime),null!=e.endTime&&(t.endTime=e.endTime)}else console.warn(`Ignoring ProfileChunk for undeclared Profile with id ${r.id||e}`)}}if(a.size>0){const e=[];let s=0;return i.itForEach(a.keys(),(i=>{let v=null,o=t.get(i);o&&(v=n.get(o)||null);const f=_(a.get(i));v&&a.size>1?(f.setName(`${r} - ${v}`),"CrRendererMain"===v&&(s=e.length)):f.setName(`${r}`),e.push(f)})),{name:r,indexToView:s,profiles:e}}throw new Error("Could not find CPU profile in Timeline")};const v=new Map;function o(e){return i.getOrInsert(v,e,(e=>{const r=e.functionName||"(anonymous)",a=e.url,t=e.lineNumber,i=e.columnNumber;return{key:`${r}:${a}:${t}:${i}`,name:r,file:a,line:t,col:i}}))}function f(e){const{functionName:r,url:a}=e;return"native dummy.js"===a||"(root)"===r||"(idle)"===r}function l(e){return"(garbage collector)"===e||"(program)"===e}function _(e){const r=new t.CallTreeProfileBuilder(e.endTime-e.startTime),a=new Map;for(let r of e.nodes)a.set(r.id,r);for(let r of e.nodes)if("number"==typeof r.parent&&(r.parent=a.get(r.parent)),r.children)for(let e of r.children){const t=a.get(e);t&&(t.parent=r)}const s=[],v=[];let _=e.timeDeltas[0],S=_,u=NaN;for(let r=0;r<e.samples.length;r++){const a=e.samples[r];a!=u&&(s.push(a),_<S?v.push(S):(v.push(_),S=_)),r===e.samples.length-1?isNaN(u)||(s.push(u),_<S?v.push(S):(v.push(_),S=_)):(_+=e.timeDeltas[r+1],u=a)}let c=[];for(let e=0;e<s.length;e++){const t=v[e],n=s[e];let _=a.get(n);if(!_)continue;let S=null;for(S=_;S&&-1===c.indexOf(S);S=l(S.callFrame.functionName)?i.lastOf(c):S.parent||null);for(;c.length>0&&i.lastOf(c)!=S;){const e=o(c.pop().callFrame);r.leaveFrame(e,t)}const u=[];for(let e=_;e&&e!=S&&!f(e.callFrame);e=l(e.callFrame.functionName)?i.lastOf(c):e.parent||null)u.push(e);u.reverse();for(let e of u)r.enterFrame(o(e.callFrame),t);c=c.concat(u)}for(let e=c.length-1;e>=0;e--)r.leaveFrame(o(c[e].callFrame),i.lastOf(v));return r.setValueFormatter(new n.TimeFormatter("microseconds")),r.build()}r.importFromChromeCPUProfile=_,r.importFromOldV8CPUProfile=function(e){return _(s.chromeTreeToNodes(e))}},320:(e,r)=>{"use strict";function a(e){const r=[];return function e(a){r.push({id:a.id,callFrame:{columnNumber:0,functionName:a.functionName,lineNumber:a.lineNumber,scriptId:a.scriptId,url:a.url},hitCount:a.hitCount,children:a.children.map((e=>e.id))}),a.children.forEach(e)}(e),r}Object.defineProperty(r,"__esModule",{value:!0}),r.chromeTreeToNodes=void 0,r.chromeTreeToNodes=function(e){return{samples:e.samples,startTime:1e6*e.startTime,endTime:1e6*e.endTime,nodes:a(e.head),timeDeltas:(r=e.timestamps,t=e.startTime,r.map(((e,a)=>e-(0===a?1e6*t:r[a-1]))))};var r,t}},765:(e,r)=>{"use strict";let a;Object.defineProperty(r,"__esModule",{value:!0}),r.demangleCpp=void 0;const t=new Map;r.demangleCpp=function(e){if(e.startsWith("__Z")){let r=t.get(e);void 0!==r||(a||(a=new Function("exports",i)()),r=a(e.slice(1)),r="(null)"===r?e:r,t.set(e,r)),e=r}return e};const i=\'\\nreturn function(){function r(r){eval.call(null,r)}function a(r){throw print(r+":\\\\n"+(new Error).stack),ke=!0,"Assertion: "+r}function e(r,e){r||a("Assertion failed: "+e)}function i(r,a,i,v){function t(r,a){if("string"==a){var e=Oe;return le.stackAlloc(r.length+1),A(r,e),e}return r}function f(r,a){return"string"==a?s(r):r}try{func=ce.Module["_"+r]}catch(r){}e(func,"Cannot call unknown function "+r+" (perhaps LLVM optimizations or closure removed it?)");var _=0,n=v?v.map(function(r){return t(r,i[_++])}):[];return f(func.apply(null,n),a)}function v(r,a,e){return function(){return i(r,a,e,Array.prototype.slice.call(arguments))}}function t(r,e,i,v){switch(i=i||"i8","*"===i[i.length-1]&&(i="i32"),i){case"i1":Ae[r]=e;break;case"i8":Ae[r]=e;break;case"i16":ye[r>>1]=e;break;case"i32":Se[r>>2]=e;break;case"i64":Se[r>>2]=e;break;case"float":Ce[r>>2]=e;break;case"double":ze[0]=e,Se[r>>2]=xe[0],Se[r+4>>2]=xe[1];break;default:a("invalid type for setValue: "+i)}}function f(r,e,i){switch(e=e||"i8","*"===e[e.length-1]&&(e="i32"),e){case"i1":return Ae[r];case"i8":return Ae[r];case"i16":return ye[r>>1];case"i32":return Se[r>>2];case"i64":return Se[r>>2];case"float":return Ce[r>>2];case"double":return xe[0]=Se[r>>2],xe[1]=Se[r+4>>2],ze[0];default:a("invalid type for setValue: "+e)}return null}function _(r,a,e){var i,v;"number"==typeof r?(i=!0,v=r):(i=!1,v=r.length);var f="string"==typeof a?a:null,_=[Jr,le.stackAlloc,le.staticAlloc][void 0===e?we:e](Math.max(v,f?1:a.length));if(i)return Fa(_,0,v),_;for(var s,n=0;n<v;){var o=r[n];"function"==typeof o&&(o=le.getFunctionIndex(o)),s=f||a[n],0!==s?("i64"==s&&(s="i32"),t(_+n,o,s),n+=le.getNativeTypeSize(s)):n++}return _}function s(r,a){for(var e,i="undefined"==typeof a,v="",t=0,f=String.fromCharCode(0);;){if(e=String.fromCharCode(ge[r+t]),i&&e==f)break;if(v+=e,t+=1,!i&&t==a)break}return v}function n(r){for(var a="",e=0;e<r.length;e++)a+=String.fromCharCode(r[e]);return a}function o(r){return r+4095>>12<<12}function l(){for(;Le<=Ie;)Le=o(2*Le);var r=Ae,a=new ArrayBuffer(Le);Ae=new Int8Array(a),ye=new Int16Array(a),Se=new Int32Array(a),ge=new Uint8Array(a),me=new Uint16Array(a),Me=new Uint32Array(a),Ce=new Float32Array(a),Re=new Float64Array(a),Ae.set(r)}function b(r){for(;r.length>0;){var a=r.shift(),e=a.func;"number"==typeof e&&(e=pe[e]),e(void 0===a.arg?null:a.arg)}}function k(){b(Ve)}function u(){b(Be),be.print()}function c(r,a){return Array.prototype.slice.call(Ae.subarray(r,r+a))}function h(r,a){for(var e=new Uint8Array(a),i=0;i<a;++i)e[i]=Ae[r+i];return e.buffer}function d(r){for(var a=0;Ae[r+a];)a++;return a}function w(r,a){var e=d(r);a&&e++;var i=c(r,e);return a&&(i[e-1]=0),i}function p(r,a){for(var e=[],i=0;i<r.length;){var v=r.charCodeAt(i);v>255&&(v&=255),e.push(v),i+=1}return a||e.push(0),e}function E(r){for(var a=[],e=0;e<r.length;e++){var i=r[e];i>255&&(i&=255),a.push(String.fromCharCode(i))}return a.join("")}function A(r,a,e){for(var i=0;i<r.length;){var v=r.charCodeAt(i);v>255&&(v&=255),Ae[a+i]=v,i+=1}e||(Ae[a+i]=0)}function g(r,a,e,i){return r>=0?r:a<=32?2*Math.abs(1<<a-1)+r:Math.pow(2,a)+r}function y(r,a,e,i){if(r<=0)return r;var v=a<=32?Math.abs(1<<a-1):Math.pow(2,a-1);return r>=v&&(a<=32||r>v)&&(r=-2*v+r),r}function m(r,a,e){if(0==(0|r)|0==(0|a)|0==(0|e))var i=0;else{Se[r>>2]=0,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function S(r,a,e){if(0==(0|r)|(0|a)<0|0==(0|e))var i=0;else{Se[r>>2]=41,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function M(r,a,e){if(0==(0|r)|0==(0|e))var i=0;else{Se[r>>2]=6,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function C(r,a,e){if(0==(0|r)|0==(0|e))var i=0;else{Se[r>>2]=7,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function R(r,a){var e,i=0==(0|a);do if(i)var v=0;else{var e=(r+32|0)>>2,t=Se[e];if((0|t)>=(0|Se[r+36>>2])){var v=0;break}var f=(t<<2)+Se[r+28>>2]|0;Se[f>>2]=a;var _=Se[e]+1|0;Se[e]=_;var v=1}while(0);var v;return v}function T(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=i+1|0;Se[e]=v;var t=Ae[i]<<24>>24==95;do if(t){var f=i+2|0;if(Se[e]=f,Ae[v]<<24>>24!=90){var _=0;break}var s=O(r,a),_=s}else var _=0;while(0);var _;return _}function O(r,a){var e=r+12|0,i=Ae[Se[e>>2]];r:do if(i<<24>>24==71||i<<24>>24==84)var v=Tr(r),t=v;else{var f=Ar(r),_=0==(0|f)|0==(0|a);do if(!_){if(0!=(1&Se[r+8>>2]|0))break;var s=Me[f>>2],n=(s-25|0)>>>0<3;a:do if(n)for(var o=f;;){var o,l=Me[o+4>>2],b=Me[l>>2];if((b-25|0)>>>0>=3){var k=l,u=b;break a}var o=l}else var k=f,u=s;while(0);var u,k;if(2!=(0|u)){var t=k;break r}var c=k+8|0,h=Me[c>>2],d=(Se[h>>2]-25|0)>>>0<3;a:do if(d)for(var w=h;;){var w,p=Me[w+4>>2];if((Se[p>>2]-25|0)>>>0>=3){var E=p;break a}var w=p}else var E=h;while(0);var E;Se[c>>2]=E;var t=k;break r}while(0);var A=Ae[Se[e>>2]];if(A<<24>>24==0||A<<24>>24==69){var t=f;break}var g=Or(f),y=Sr(r,g),m=D(r,3,f,y),t=m}while(0);var t;return t}function N(r){var a,e,i=Oe;Oe+=4;var v=i,e=v>>2,a=(r+12|0)>>2,t=Me[a],f=Ae[t],_=f<<24>>24;r:do if(f<<24>>24==114||f<<24>>24==86||f<<24>>24==75){var s=I(r,v,0);if(0==(0|s)){var n=0;break}var o=N(r);Se[s>>2]=o;var l=Se[e],b=R(r,l);if(0==(0|b)){var n=0;break}var n=Se[e]}else{do{if(97==(0|_)||98==(0|_)||99==(0|_)||100==(0|_)||101==(0|_)||102==(0|_)||103==(0|_)||104==(0|_)||105==(0|_)||106==(0|_)||108==(0|_)||109==(0|_)||110==(0|_)||111==(0|_)||115==(0|_)||116==(0|_)||118==(0|_)||119==(0|_)||120==(0|_)||121==(0|_)||122==(0|_)){var k=ai+20*(_-97)|0,u=P(r,k);Se[e]=u;var c=r+48|0,h=Se[c>>2]+Se[Se[u+4>>2]+4>>2]|0;Se[c>>2]=h;var d=Se[a]+1|0;Se[a]=d;var n=u;break r}if(117==(0|_)){Se[a]=t+1|0;var w=L(r),p=D(r,34,w,0);Se[e]=p;var E=p}else if(70==(0|_)){var A=F(r);Se[e]=A;var E=A}else if(48==(0|_)||49==(0|_)||50==(0|_)||51==(0|_)||52==(0|_)||53==(0|_)||54==(0|_)||55==(0|_)||56==(0|_)||57==(0|_)||78==(0|_)||90==(0|_)){var g=X(r);Se[e]=g;var E=g}else if(65==(0|_)){var y=j(r);Se[e]=y;var E=y}else if(77==(0|_)){var m=U(r);Se[e]=m;var E=m}else if(84==(0|_)){var S=x(r);if(Se[e]=S,Ae[Se[a]]<<24>>24!=73){var E=S;break}var M=R(r,S);if(0==(0|M)){var n=0;break r}var C=Se[e],T=z(r),O=D(r,4,C,T);Se[e]=O;var E=O}else if(83==(0|_)){var B=ge[t+1|0];if((B-48&255&255)<10|B<<24>>24==95|(B-65&255&255)<26){var H=V(r,0);if(Se[e]=H,Ae[Se[a]]<<24>>24!=73){var n=H;break r}var K=z(r),Y=D(r,4,H,K);Se[e]=Y;var E=Y}else{var G=X(r);if(Se[e]=G,0==(0|G)){var E=0;break}if(21==(0|Se[G>>2])){var n=G;break r}var E=G}}else if(80==(0|_)){Se[a]=t+1|0;var W=N(r),Z=D(r,29,W,0);Se[e]=Z;var E=Z}else if(82==(0|_)){Se[a]=t+1|0;var Q=N(r),q=D(r,30,Q,0);Se[e]=q;var E=q}else if(67==(0|_)){Se[a]=t+1|0;var $=N(r),J=D(r,31,$,0);Se[e]=J;var E=J}else if(71==(0|_)){Se[a]=t+1|0;var rr=N(r),ar=D(r,32,rr,0);Se[e]=ar;var E=ar}else{if(85!=(0|_)){var n=0;break r}Se[a]=t+1|0;var er=L(r);Se[e]=er;var ir=N(r),vr=Se[e],tr=D(r,28,ir,vr);Se[e]=tr;var E=tr}}while(0);var E,fr=R(r,E);if(0==(0|fr)){var n=0;break}var n=Se[e]}while(0);var n;return Oe=i,n}function I(r,a,e){for(var i,v=r+12|0,t=0!=(0|e),f=t?25:22,i=(r+48|0)>>2,_=t?26:23,s=t?27:24,n=a;;){var n,o=Se[v>>2],l=Ae[o];if(l<<24>>24!=114&&l<<24>>24!=86&&l<<24>>24!=75){var b=n;break}var k=o+1|0;if(Se[v>>2]=k,l<<24>>24==114){var u=Se[i]+9|0;Se[i]=u;var c=f}else if(l<<24>>24==86){var h=Se[i]+9|0;Se[i]=h;var c=_}else{var d=Se[i]+6|0;Se[i]=d;var c=s}var c,w=D(r,c,0,0);if(Se[n>>2]=w,0==(0|w)){var b=0;break}var n=w+4|0}var b;return b}function P(r,a){var e=0==(0|a);do if(e)var i=0;else{var v=J(r);if(0==(0|v)){var i=0;break}Se[v>>2]=33,Se[v+4>>2]=a;var i=v}while(0);var i;return i}function D(r,a,e,i){var v,t;do{if(1==(0|a)||2==(0|a)||3==(0|a)||4==(0|a)||10==(0|a)||28==(0|a)||37==(0|a)||43==(0|a)||44==(0|a)||45==(0|a)||46==(0|a)||47==(0|a)||48==(0|a)||49==(0|a)||50==(0|a)){if(0==(0|e)|0==(0|i)){var f=0;t=7;break}t=5;break}if(8==(0|a)||9==(0|a)||11==(0|a)||12==(0|a)||13==(0|a)||14==(0|a)||15==(0|a)||16==(0|a)||17==(0|a)||18==(0|a)||19==(0|a)||20==(0|a)||29==(0|a)||30==(0|a)||31==(0|a)||32==(0|a)||34==(0|a)||38==(0|a)||39==(0|a)||42==(0|a)){if(0==(0|e)){var f=0;t=7;break}t=5;break}if(36==(0|a)){if(0==(0|i)){var f=0;t=7;break}t=5;break}if(35==(0|a)||22==(0|a)||23==(0|a)||24==(0|a)||25==(0|a)||26==(0|a)||27==(0|a))t=5;else{var f=0;t=7}}while(0);do if(5==t){var _=J(r),v=_>>2;if(0==(0|_)){var f=0;break}Se[v]=a,Se[v+1]=e,Se[v+2]=i;var f=_}while(0);var f;return f}function L(r){var a=sr(r);if((0|a)<1)var e=0;else{var i=Rr(r,a);Se[r+44>>2]=i;var e=i}var e;return e}function F(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;if(Se[a]=i,Ae[e]<<24>>24==70){if(Ae[i]<<24>>24==89){var v=e+2|0;Se[a]=v}var t=Sr(r,1),f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==69?t:0,n=s}else var n=0;var n;return n}function X(r){var a=Ar(r);return a}function j(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==65;do if(v){var t=Ae[i];if(t<<24>>24==95)var f=0;else if((t-48&255&255)<10){for(var _=i;;){var _,s=_+1|0;if(Se[a]=s,(Ae[s]-48&255&255)>=10)break;var _=s}var n=s-i|0,o=lr(r,i,n);if(0==(0|o)){var l=0;break}var f=o}else{var b=nr(r);if(0==(0|b)){var l=0;break}var f=b}var f,k=Se[a],u=k+1|0;if(Se[a]=u,Ae[k]<<24>>24!=95){var l=0;break}var c=N(r),h=D(r,36,f,c),l=h}else var l=0;while(0);var l;return l}function U(r){var a=Oe;Oe+=4;var e=a,i=r+12|0,v=Se[i>>2],t=v+1|0;Se[i>>2]=t;var f=Ae[v]<<24>>24==77;r:do if(f){var _=N(r),s=I(r,e,1);if(0==(0|s)){var n=0;break}var o=N(r);Se[s>>2]=o;var l=(0|s)==(0|e);do if(!l){if(35==(0|Se[o>>2]))break;var b=Se[e>>2],k=R(r,b);if(0==(0|k)){var n=0;break r}}while(0);var u=Se[e>>2],c=D(r,37,_,u),n=c}else var n=0;while(0);var n;return Oe=a,n}function x(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==84;do if(v){if(Ae[i]<<24>>24==95)var t=0,f=i;else{var _=sr(r);if((0|_)<0){var s=0;break}var t=_+1|0,f=Se[a]}var f,t;if(Se[a]=f+1|0,Ae[f]<<24>>24!=95){var s=0;break}var n=r+40|0,o=Se[n>>2]+1|0;Se[n>>2]=o;var l=Er(r,t),s=l}else var s=0;while(0);var s;return s}function z(r){var a,e=Oe;Oe+=4;var i=e,v=r+44|0,t=Se[v>>2],a=(r+12|0)>>2,f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==73;r:do if(s){Se[i>>2]=0;for(var n=i;;){var n,o=_r(r);if(0==(0|o)){var l=0;break r}var b=D(r,39,o,0);if(Se[n>>2]=b,0==(0|b)){var l=0;break r}var k=Se[a];if(Ae[k]<<24>>24==69)break;var n=b+8|0}var u=k+1|0;Se[a]=u,Se[v>>2]=t;var l=Se[i>>2]}else var l=0;while(0);var l;return Oe=e,l}function V(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=i+1|0;Se[e]=v;var t=Ae[i]<<24>>24==83;r:do if(t){var f=i+2|0;Se[e]=f;var _=ge[v];if(_<<24>>24==95)var s=0;else{if(!((_-48&255&255)<10|(_-65&255&255)<26)){var n=8&Se[r+8>>2],o=n>>>3,l=0!=(0|n)|0==(0|a);do if(l)var b=o;else{if((Ae[f]-67&255&255)>=2){var b=o;break}var b=1}while(0);for(var b,k=0|ei;;){var k;if(k>>>0>=(ei+196|0)>>>0){var u=0;break r}if(_<<24>>24==Ae[0|k]<<24>>24)break;var k=k+28|0}var c=Se[k+20>>2];if(0!=(0|c)){var h=Se[k+24>>2],d=fr(r,c,h);Se[r+44>>2]=d}if(0==(0|b))var w=k+8|0,p=k+4|0;else var w=k+16|0,p=k+12|0;var p,w,E=Se[w>>2],A=Se[p>>2],g=r+48|0,y=Se[g>>2]+E|0;Se[g>>2]=y;var m=fr(r,A,E),u=m;break}for(var S=_,M=0,C=f;;){var C,M,S;if((S-48&255&255)<10)var R=36*M-48|0;else{if((S-65&255&255)>=26){var u=0;break r}var R=36*M-55|0}var R,T=(S<<24>>24)+R|0;if((0|T)<0){var u=0;break r}var O=C+1|0;Se[e]=O;var N=ge[C];if(N<<24>>24==95)break;var S=N,M=T,C=O}var s=T+1|0}var s;if((0|s)>=(0|Se[r+32>>2])){var u=0;break}var I=r+40|0,P=Se[I>>2]+1|0;Se[I>>2]=P;var u=Se[Se[r+28>>2]+(s<<2)>>2]}else var u=0;while(0);var u;return u}function B(r,a,e,i){var v,t,f,_,s=Oe;Oe+=28;var n,o=s,_=o>>2;Se[_]=r;var l=e+1|0,f=(o+12|0)>>2;Se[f]=l;var b=Jr(l),t=(o+4|0)>>2;if(Se[t]=b,0==(0|b))var k=0,u=1;else{var v=(o+8|0)>>2;Se[v]=0,Se[_+4]=0,Se[_+5]=0;var c=o+24|0;Se[c>>2]=0,H(o,a);var h=Me[t],d=0==(0|h);do{if(!d){var w=Me[v];if(w>>>0>=Me[f]>>>0){n=5;break}Se[v]=w+1|0,Ae[h+w|0]=0,n=6;break}n=5}while(0);5==n&&Y(o,0);var p=Se[t],E=0==(0|p)?Se[c>>2]:Se[f],k=p,u=E}var u,k;return Se[i>>2]=u,Oe=s,k}function H(r,a){var e,i,v,t,f,_,s,n,o,l,b,k,u,c,h,d,w,p,E,A,g,y,m,S,M,C,R,T,O,N,I,P,D,L,F,X,j,U,x,z,V,B,K,G,W,J,vr,tr,fr,_r,sr,nr,or,lr,br,kr,ur,cr,hr,dr,wr,pr=a>>2,Er=r>>2,Ar=Oe;Oe+=184;var gr,yr=Ar,wr=yr>>2,mr=Ar+64,dr=mr>>2,Sr=Ar+72,Mr=Ar+88,Cr=Ar+104,hr=Cr>>2,Rr=Ar+168,Tr=0==(0|a);r:do if(Tr)Z(r);else{var cr=(r+4|0)>>2,Or=Me[cr];if(0==(0|Or))break;var Nr=0|a,Ir=Me[Nr>>2];a:do{if(0==(0|Ir)){if(0!=(4&Se[Er]|0)){var Pr=Se[pr+1],Dr=Se[pr+2];q(r,Pr,Dr);break r}var ur=(r+8|0)>>2,Lr=Me[ur],Fr=a+8|0,Xr=Me[Fr>>2];if((Xr+Lr|0)>>>0>Me[Er+3]>>>0){var jr=Se[pr+1];Q(r,jr,Xr);break r}var Ur=Or+Lr|0,xr=Se[pr+1];Pa(Ur,xr,Xr,1);var zr=Se[ur]+Se[Fr>>2]|0;Se[ur]=zr;break r}if(1==(0|Ir)||2==(0|Ir)){var Vr=Se[pr+1];H(r,Vr);var Br=0==(4&Se[Er]|0),Hr=Me[cr],Kr=0!=(0|Hr);e:do if(Br){do if(Kr){var kr=(r+8|0)>>2,Yr=Me[kr];if((Yr+2|0)>>>0>Me[Er+3]>>>0)break;var Gr=Hr+Yr|0;oe=14906,Ae[Gr]=255&oe,oe>>=8,Ae[Gr+1]=255&oe;var Wr=Se[kr]+2|0;Se[kr]=Wr;break e}while(0);Q(r,0|He.__str120,2)}else{do if(Kr){var Zr=r+8|0,Qr=Me[Zr>>2];if(Qr>>>0>=Me[Er+3]>>>0)break;Se[Zr>>2]=Qr+1|0,Ae[Hr+Qr|0]=46;break e}while(0);Y(r,46)}while(0);var qr=Se[pr+2];H(r,qr);break r}if(3==(0|Ir)){for(var br=(r+20|0)>>2,$r=Me[br],lr=(r+16|0)>>2,Jr=a,ra=0,aa=$r;;){var aa,ra,Jr,ea=Me[Jr+4>>2];if(0==(0|ea)){var ia=ra,va=0;gr=33;break}if(ra>>>0>3){Z(r);break r}var ta=(ra<<4)+yr|0;Se[ta>>2]=aa,Se[br]=ta,Se[((ra<<4)+4>>2)+wr]=ea,Se[((ra<<4)+8>>2)+wr]=0;var fa=Me[lr];Se[((ra<<4)+12>>2)+wr]=fa;var _a=ra+1|0,sa=0|ea,na=Me[sa>>2];if((na-25|0)>>>0>=3){gr=25;break}var Jr=ea,ra=_a,aa=ta}e:do if(25==gr){if(4==(0|na)){Se[dr]=fa,Se[lr]=mr,Se[dr+1]=ea;var oa=Se[sa>>2],la=mr}else var oa=na,la=fa;var la,oa;if(2!=(0|oa)){var ia=_a,va=sa;break}for(var ba=_a,ka=ea+8|0;;){var ka,ba,ua=Me[ka>>2];if((Se[ua>>2]-25|0)>>>0>=3){var ia=ba,va=sa;break e}if(ba>>>0>3)break;var ca=(ba<<4)+yr|0,ha=ba-1|0,da=(ha<<4)+yr|0,or=ca>>2,nr=da>>2;Se[or]=Se[nr],Se[or+1]=Se[nr+1],Se[or+2]=Se[nr+2],Se[or+3]=Se[nr+3],Se[ca>>2]=da,Se[br]=ca,Se[((ha<<4)+4>>2)+wr]=ua,Se[((ha<<4)+8>>2)+wr]=0,Se[((ha<<4)+12>>2)+wr]=la;var ba=ba+1|0,ka=ua+4|0}Z(r);break r}while(0);var va,ia,wa=Se[pr+2];if(H(r,wa),4==(0|Se[va>>2])){var pa=Se[dr];Se[lr]=pa}var Ea=0==(0|ia);e:do if(!Ea)for(var Aa=r+8|0,ga=r+12|0,ya=ia;;){var ya,ma=ya-1|0;if(0==(0|Se[((ma<<4)+8>>2)+wr])){var Sa=Me[cr],Ma=0==(0|Sa);do{if(!Ma){var Ca=Me[Aa>>2];if(Ca>>>0>=Me[ga>>2]>>>0){gr=41;break}Se[Aa>>2]=Ca+1|0,Ae[Sa+Ca|0]=32,gr=42;break}gr=41}while(0);41==gr&&Y(r,32);var Ra=Se[((ma<<4)+4>>2)+wr];$(r,Ra)}if(0==(0|ma))break e;var ya=ma}while(0);Se[br]=$r;break r}if(4==(0|Ir)){var sr=(r+20|0)>>2,Ta=Se[sr];Se[sr]=0;var Oa=Se[pr+1];H(r,Oa);var Na=Me[cr],Ia=0==(0|Na);do{if(!Ia){var _r=(r+8|0)>>2,Da=Me[_r],La=0==(0|Da);do if(!La){if(Ae[Na+(Da-1)|0]<<24>>24!=60)break;Da>>>0<Me[Er+3]>>>0?(Se[_r]=Da+1|0,Ae[Na+Da|0]=32):Y(r,32)}while(0);var Fa=Me[cr];if(0==(0|Fa)){gr=54;break}var Xa=Me[_r];if(Xa>>>0>=Me[Er+3]>>>0){gr=54;break}Se[_r]=Xa+1|0,Ae[Fa+Xa|0]=60,gr=55;break}gr=54}while(0);54==gr&&Y(r,60);var ja=Se[pr+2];H(r,ja);var Ua=Me[cr],xa=0==(0|Ua);do{if(!xa){var fr=(r+8|0)>>2,za=Me[fr],Va=0==(0|za);do if(!Va){if(Ae[Ua+(za-1)|0]<<24>>24!=62)break;za>>>0<Me[Er+3]>>>0?(Se[fr]=za+1|0,Ae[Ua+za|0]=32):Y(r,32)}while(0);var Ba=Me[cr];if(0==(0|Ba)){gr=64;break}var Ha=Me[fr];if(Ha>>>0>=Me[Er+3]>>>0){gr=64;break}Se[fr]=Ha+1|0,Ae[Ba+Ha|0]=62,gr=65;break}gr=64}while(0);64==gr&&Y(r,62),Se[sr]=Ta;break r}if(5==(0|Ir)){var tr=(r+16|0)>>2,Ka=Me[tr];if(0==(0|Ka)){Z(r);break r}for(var Ya=Se[pr+1],Ga=Se[Ka+4>>2];;){var Ga,Ya,Wa=Se[Ga+8>>2];if(0==(0|Wa))break;if(39!=(0|Se[Wa>>2])){Z(r);break r}if((0|Ya)<1){if(0!=(0|Ya))break;var Za=Se[Ka>>2];Se[tr]=Za;var Qa=Se[Wa+4>>2];H(r,Qa),Se[tr]=Ka;break r}var Ya=Ya-1|0,Ga=Wa}Z(r);break r}if(6==(0|Ir)){var qa=Se[pr+2];H(r,qa);break r}if(7==(0|Ir)){var $a=r+8|0,Ja=Me[$a>>2];Ja>>>0<Me[Er+3]>>>0?(Se[$a>>2]=Ja+1|0,Ae[Or+Ja|0]=126):Y(r,126);var re=Se[pr+2];H(r,re);break r}if(8==(0|Ir)){var vr=(r+8|0)>>2,ae=Me[vr];if((ae+11|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str121,11);else{for(var ee=Or+ae|0,ie=0|He.__str121,ve=ee,te=ie+11;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var fe=Se[vr]+11|0;Se[vr]=fe}var _e=Se[pr+1];H(r,_e);break r}if(9==(0|Ir)){var J=(r+8|0)>>2,se=Me[J];if((se+8|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str122,8);else{var ne=Or+se|0,le=0|ne;oe=542397526,Ae[le]=255&oe,oe>>=8,Ae[le+1]=255&oe,oe>>=8,Ae[le+2]=255&oe,oe>>=8,Ae[le+3]=255&oe;var be=ne+4|0;oe=544370534,Ae[be]=255&oe,oe>>=8,Ae[be+1]=255&oe,oe>>=8,Ae[be+2]=255&oe,oe>>=8,Ae[be+3]=255&oe;var ke=Se[J]+8|0;Se[J]=ke}var ue=Se[pr+1];H(r,ue);break r}if(10==(0|Ir)){var W=(r+8|0)>>2,ce=Me[W],he=r+12|0;if((ce+24|0)>>>0>Me[he>>2]>>>0)Q(r,0|He.__str123,24);else{var de=Or+ce|0;Pa(de,0|He.__str123,24,1);var we=Se[W]+24|0;Se[W]=we}var pe=Se[pr+1];H(r,pe);var Ee=Me[cr],ge=0==(0|Ee);do{if(!ge){var ye=Me[W];if((ye+4|0)>>>0>Me[he>>2]>>>0){gr=96;break}var me=Ee+ye|0;oe=762210605,Ae[me]=255&oe,oe>>=8,Ae[me+1]=255&oe,oe>>=8,Ae[me+2]=255&oe,oe>>=8,Ae[me+3]=255&oe;var Ce=Se[W]+4|0;Se[W]=Ce,gr=97;break}gr=96}while(0);96==gr&&Q(r,0|He.__str124,4);var Re=Se[pr+2];H(r,Re);break r}if(11==(0|Ir)){var G=(r+8|0)>>2,Te=Me[G];if((Te+13|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str125,13);else{for(var Ne=Or+Te|0,ie=0|He.__str125,ve=Ne,te=ie+13;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Ie=Se[G]+13|0;Se[G]=Ie}var Pe=Se[pr+1];H(r,Pe);break r}if(12==(0|Ir)){var K=(r+8|0)>>2,De=Me[K];if((De+18|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str126,18);else{for(var Le=Or+De|0,ie=0|He.__str126,ve=Le,te=ie+18;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Fe=Se[K]+18|0;Se[K]=Fe}var Xe=Se[pr+1];H(r,Xe);break r}if(13==(0|Ir)){var B=(r+8|0)>>2,je=Me[B];if((je+16|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str127,16);else{for(var Ue=Or+je|0,ie=0|He.__str127,ve=Ue,te=ie+16;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var xe=Se[B]+16|0;Se[B]=xe}var ze=Se[pr+1];H(r,ze);break r}if(14==(0|Ir)){var V=(r+8|0)>>2,Ve=Me[V];if((Ve+21|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str128,21);else{var Be=Or+Ve|0;Pa(Be,0|He.__str128,21,1);var Ke=Se[V]+21|0;Se[V]=Ke}var Ye=Se[pr+1];H(r,Ye);break r}if(15==(0|Ir)){var z=(r+8|0)>>2,Ge=Me[z];if((Ge+17|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str129,17);else{for(var We=Or+Ge|0,ie=0|He.__str129,ve=We,te=ie+17;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Ze=Se[z]+17|0;Se[z]=Ze}var Qe=Se[pr+1];H(r,Qe);break r}if(16==(0|Ir)){var x=(r+8|0)>>2,qe=Me[x];if((qe+26|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str130,26);else{var $e=Or+qe|0;Pa($e,0|He.__str130,26,1);var Je=Se[x]+26|0;Se[x]=Je}var ri=Se[pr+1];H(r,ri);break r}if(17==(0|Ir)){var U=(r+8|0)>>2,ai=Me[U];if((ai+15|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str131,15);else{for(var ei=Or+ai|0,ie=0|He.__str131,ve=ei,te=ie+15;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var ii=Se[U]+15|0;Se[U]=ii}var vi=Se[pr+1];H(r,vi);break r}if(18==(0|Ir)){var j=(r+8|0)>>2,ti=Me[j];if((ti+19|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str132,19);else{for(var fi=Or+ti|0,ie=0|He.__str132,ve=fi,te=ie+19;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var _i=Se[j]+19|0;Se[j]=_i}var si=Se[pr+1];H(r,si);break r}if(19==(0|Ir)){var X=(r+8|0)>>2,ni=Me[X];if((ni+24|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str133,24);else{var oi=Or+ni|0;Pa(oi,0|He.__str133,24,1);var li=Se[X]+24|0;Se[X]=li}var bi=Se[pr+1];H(r,bi);break r}if(20==(0|Ir)){var F=(r+8|0)>>2,ki=Me[F];if((ki+17|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str134,17);else{for(var ui=Or+ki|0,ie=0|He.__str134,ve=ui,te=ie+17;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var ci=Se[F]+17|0;Se[F]=ci}var hi=Se[pr+1];H(r,hi);break r}if(21==(0|Ir)){var L=(r+8|0)>>2,di=Me[L],wi=a+8|0,pi=Me[wi>>2];if((pi+di|0)>>>0>Me[Er+3]>>>0){var Ei=Se[pr+1];Q(r,Ei,pi);break r}var Ai=Or+di|0,gi=Se[pr+1];Pa(Ai,gi,pi,1);var yi=Se[L]+Se[wi>>2]|0;Se[L]=yi;break r}if(22==(0|Ir)||23==(0|Ir)||24==(0|Ir)){for(var mi=r+20|0;;){var mi,Si=Me[mi>>2];if(0==(0|Si))break a;if(0==(0|Se[Si+8>>2])){var Mi=Me[Se[Si+4>>2]>>2];if((Mi-22|0)>>>0>=3)break a;if((0|Mi)==(0|Ir))break}var mi=0|Si}var Ci=Se[pr+1];H(r,Ci);break r}if(25!=(0|Ir)&&26!=(0|Ir)&&27!=(0|Ir)&&28!=(0|Ir)&&29!=(0|Ir)&&30!=(0|Ir)&&31!=(0|Ir)&&32!=(0|Ir)){if(33==(0|Ir)){var D=(r+8|0)>>2,Ri=Me[D],P=(a+4|0)>>2,I=Me[P]>>2;if(0==(4&Se[Er]|0)){var Ti=Me[I+1];if((Ti+Ri|0)>>>0>Me[Er+3]>>>0){var Oi=Se[I];Q(r,Oi,Ti);break r}var Ni=Or+Ri|0,Ii=Se[I];Pa(Ni,Ii,Ti,1);var Pi=Se[D]+Se[Se[P]+4>>2]|0;Se[D]=Pi;break r}var Di=Me[I+3];if((Di+Ri|0)>>>0>Me[Er+3]>>>0){var Li=Se[I+2];Q(r,Li,Di);break r}var Fi=Or+Ri|0,Xi=Se[I+2];Pa(Fi,Xi,Di,1);var ji=Se[D]+Se[Se[P]+12>>2]|0;Se[D]=ji;break r}if(34==(0|Ir)){var Ui=Se[pr+1];H(r,Ui);break r}if(35==(0|Ir)){var N=(0|r)>>2;if(0!=(32&Se[N]|0)){var xi=Se[Er+5];rr(r,a,xi)}var zi=a+4|0,Vi=0==(0|Se[zi>>2]);e:do if(!Vi){var O=(r+20|0)>>2,Bi=Se[O],Hi=0|Mr;Se[Hi>>2]=Bi,Se[O]=Mr,Se[Mr+4>>2]=a;var Ki=Mr+8|0;Se[Ki>>2]=0;var Yi=Se[Er+4];Se[Mr+12>>2]=Yi;var Gi=Se[zi>>2];H(r,Gi);var Wi=Se[Hi>>2];if(Se[O]=Wi,0!=(0|Se[Ki>>2]))break r;if(0!=(32&Se[N]|0))break;var Zi=Me[cr],Qi=0==(0|Zi);do if(!Qi){var qi=r+8|0,$i=Me[qi>>2];if($i>>>0>=Me[Er+3]>>>0)break;Se[qi>>2]=$i+1|0,Ae[Zi+$i|0]=32;break e}while(0);Y(r,32)}while(0);if(0!=(32&Se[N]|0))break r;var Ji=Se[Er+5];rr(r,a,Ji);break r}if(36==(0|Ir)){var T=(r+20|0)>>2,rv=Me[T],av=0|Cr;Se[hr]=rv,Se[T]=av,Se[hr+1]=a;var ev=Cr+8|0;Se[ev>>2]=0;var iv=Se[Er+4];Se[hr+3]=iv;for(var vv=rv,tv=1;;){var tv,vv;if(0==(0|vv))break;if((Se[Se[vv+4>>2]>>2]-22|0)>>>0>=3)break;var fv=vv+8|0;if(0==(0|Se[fv>>2])){if(tv>>>0>3){Z(r);break r}var _v=(tv<<4)+Cr|0,R=_v>>2,C=vv>>2;Se[R]=Se[C],Se[R+1]=Se[C+1],Se[R+2]=Se[C+2],Se[R+3]=Se[C+3];var sv=Se[T];Se[_v>>2]=sv,Se[T]=_v,Se[fv>>2]=1;var nv=tv+1|0}else var nv=tv;var nv,vv=Se[vv>>2],tv=nv}var ov=Se[pr+2];if(H(r,ov),Se[T]=rv,0!=(0|Se[ev>>2]))break r;if(tv>>>0>1){for(var lv=tv;;){var lv,bv=lv-1|0,kv=Se[((bv<<4)+4>>2)+hr];if($(r,kv),bv>>>0<=1)break;var lv=bv}var uv=Se[T]}else var uv=rv;var uv;ar(r,a,uv);break r}if(37==(0|Ir)){var M=(r+20|0)>>2,cv=Se[M],hv=0|Rr;Se[hv>>2]=cv,Se[M]=Rr,Se[Rr+4>>2]=a;var dv=Rr+8|0;Se[dv>>2]=0;var wv=Se[Er+4];Se[Rr+12>>2]=wv;var pv=a+4|0,Ev=Se[pr+2];H(r,Ev);var Av=0==(0|Se[dv>>2]);e:do if(Av){var gv=Me[cr],yv=0==(0|gv);do{if(!yv){var mv=r+8|0,Sv=Me[mv>>2];if(Sv>>>0>=Me[Er+3]>>>0){gr=187;break}Se[mv>>2]=Sv+1|0,Ae[gv+Sv|0]=32,gr=188;break}gr=187}while(0);187==gr&&Y(r,32);var Mv=Se[pv>>2];H(r,Mv);var Cv=Me[cr],Rv=0==(0|Cv);do if(!Rv){var S=(r+8|0)>>2,Tv=Me[S];if((Tv+3|0)>>>0>Me[Er+3]>>>0)break;var Ov=Cv+Tv|0;Ae[Ov]=Ae[0|He.__str135],Ae[Ov+1]=Ae[(0|He.__str135)+1],Ae[Ov+2]=Ae[(0|He.__str135)+2];var Nv=Se[S]+3|0;Se[S]=Nv;break e}while(0);Q(r,0|He.__str135,3)}while(0);var Iv=Se[hv>>2];Se[M]=Iv;break r}if(38==(0|Ir)||39==(0|Ir)){var Pv=Se[pr+1];H(r,Pv);var Dv=a+8|0;if(0==(0|Se[Dv>>2]))break r;var Lv=Me[cr],Fv=0==(0|Lv);do{if(!Fv){var m=(r+8|0)>>2,Xv=Me[m];if((Xv+2|0)>>>0>Me[Er+3]>>>0){gr=197;break}var jv=Lv+Xv|0;oe=8236,Ae[jv]=255&oe,oe>>=8,Ae[jv+1]=255&oe;var Uv=Se[m]+2|0;Se[m]=Uv,gr=198;break}gr=197}while(0);197==gr&&Q(r,0|He.__str136,2);var xv=Se[Dv>>2];H(r,xv);break r}if(40==(0|Ir)){var y=(r+8|0)>>2,zv=Me[y],g=(r+12|0)>>2;if((zv+8|0)>>>0>Me[g]>>>0)Q(r,0|He.__str137,8);else{var Vv=Or+zv|0,le=0|Vv;oe=1919250543,Ae[le]=255&oe,oe>>=8,Ae[le+1]=255&oe,oe>>=8,Ae[le+2]=255&oe,oe>>=8,Ae[le+3]=255&oe;var be=Vv+4|0;oe=1919906913,Ae[be]=255&oe,oe>>=8,Ae[be+1]=255&oe,oe>>=8,Ae[be+2]=255&oe,oe>>=8,Ae[be+3]=255&oe;var Bv=Se[y]+8|0;Se[y]=Bv}var A=(a+4|0)>>2,Hv=(Ae[Se[Se[A]+4>>2]]-97&255&255)<26;e:do if(Hv){var Kv=Me[cr],Yv=0==(0|Kv);do if(!Yv){var Gv=Me[y];if(Gv>>>0>=Me[g]>>>0)break;Se[y]=Gv+1|0,Ae[Kv+Gv|0]=32;break e}while(0);Y(r,32)}while(0);var Wv=Me[cr],Zv=0==(0|Wv);do{if(!Zv){var Qv=Me[y],qv=Me[A],$v=Me[qv+8>>2];if(($v+Qv|0)>>>0>Me[g]>>>0){var Jv=qv,rt=$v;break}var at=Wv+Qv|0,et=Se[qv+4>>2];Pa(at,et,$v,1);var it=Se[y]+Se[Se[A]+8>>2]|0;Se[y]=it;break r}var vt=Me[A],Jv=vt,rt=Se[vt+8>>2]}while(0);var rt,Jv,tt=Se[Jv+4>>2];Q(r,tt,rt);break r}if(41==(0|Ir)){var E=(r+8|0)>>2,ft=Me[E];if((ft+9|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str10180,9);else{for(var _t=Or+ft|0,ie=0|He.__str10180,ve=_t,te=ie+9;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var st=Se[E]+9|0;Se[E]=st}var nt=Se[pr+2];H(r,nt);break r}if(42==(0|Ir)){var p=(r+8|0)>>2,ot=Me[p];if((ot+9|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str10180,9);else{for(var lt=Or+ot|0,ie=0|He.__str10180,ve=lt,te=ie+9;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var bt=Se[p]+9|0;Se[p]=bt}er(r,a);break r}if(43==(0|Ir)){var kt=a+4|0,ut=Se[kt>>2],ct=42==(0|Se[ut>>2]);e:do if(ct){var w=(r+8|0)>>2,ht=Me[w],dt=r+12|0;ht>>>0<Me[dt>>2]>>>0?(Se[w]=ht+1|0,Ae[Or+ht|0]=40):Y(r,40);var wt=Se[kt>>2];er(r,wt);var pt=Me[cr],Et=0==(0|pt);do if(!Et){var At=Me[w];if(At>>>0>=Me[dt>>2]>>>0)break;Se[w]=At+1|0,Ae[pt+At|0]=41;break e}while(0);Y(r,41)}else ir(r,ut);while(0);var gt=Me[cr],yt=0==(0|gt);do{if(!yt){var mt=r+8|0,St=Me[mt>>2];if(St>>>0>=Me[Er+3]>>>0){gr=232;break}Se[mt>>2]=St+1|0,Ae[gt+St|0]=40,gr=233;break}gr=232}while(0);232==gr&&Y(r,40);var Mt=Se[pr+2];H(r,Mt);var Ct=Me[cr],Rt=0==(0|Ct);do if(!Rt){var Tt=r+8|0,Ot=Me[Tt>>2];if(Ot>>>0>=Me[Er+3]>>>0)break;Se[Tt>>2]=Ot+1|0,Ae[Ct+Ot|0]=41;break r}while(0);Y(r,41);break r}if(44==(0|Ir)){var d=(a+8|0)>>2;if(45==(0|Se[Se[d]>>2])){var h=(a+4|0)>>2,Nt=Se[h],It=40==(0|Se[Nt>>2]);do if(It){var Pt=Se[Nt+4>>2];if(1!=(0|Se[Pt+8>>2]))break;if(Ae[Se[Pt+4>>2]]<<24>>24!=62)break;var Dt=r+8|0,Lt=Me[Dt>>2];Lt>>>0<Me[Er+3]>>>0?(Se[Dt>>2]=Lt+1|0,Ae[Or+Lt|0]=40):Y(r,40)}while(0);var Ft=Me[cr],Xt=0==(0|Ft);do{if(!Xt){var jt=r+8|0,Ut=Me[jt>>2];if(Ut>>>0>=Me[Er+3]>>>0){gr=248;break}Se[jt>>2]=Ut+1|0,Ae[Ft+Ut|0]=40,gr=249;break}gr=248}while(0);248==gr&&Y(r,40);var xt=Se[Se[d]+4>>2];H(r,xt);var zt=Me[cr],Vt=0==(0|zt);do{if(!Vt){var c=(r+8|0)>>2,Bt=Me[c];if((Bt+2|0)>>>0>Me[Er+3]>>>0){gr=252;break}var Ht=zt+Bt|0;oe=8233,Ae[Ht]=255&oe,oe>>=8,Ae[Ht+1]=255&oe;var Kt=Se[c]+2|0;Se[c]=Kt,gr=253;break}gr=252}while(0);252==gr&&Q(r,0|He.__str139,2);var Yt=Se[h];ir(r,Yt);var Gt=Me[cr],Wt=0==(0|Gt);do{if(!Wt){var u=(r+8|0)>>2,Zt=Me[u];if((Zt+2|0)>>>0>Me[Er+3]>>>0){gr=256;break}var Qt=Gt+Zt|0;oe=10272,Ae[Qt]=255&oe,oe>>=8,Ae[Qt+1]=255&oe;var qt=Se[u]+2|0;Se[u]=qt,gr=257;break}gr=256}while(0);256==gr&&Q(r,0|He.__str140,2);var $t=Se[Se[d]+8>>2];H(r,$t);var Jt=Me[cr],rf=0==(0|Jt);do{if(!rf){var af=r+8|0,ef=Me[af>>2];if(ef>>>0>=Me[Er+3]>>>0){gr=260;break}Se[af>>2]=ef+1|0,Ae[Jt+ef|0]=41,gr=261;break}gr=260}while(0);260==gr&&Y(r,41);var vf=Se[h];if(40!=(0|Se[vf>>2]))break r;var tf=Se[vf+4>>2];if(1!=(0|Se[tf+8>>2]))break r;if(Ae[Se[tf+4>>2]]<<24>>24!=62)break r;var ff=Me[cr],_f=0==(0|ff);do if(!_f){var sf=r+8|0,nf=Me[sf>>2];if(nf>>>0>=Me[Er+3]>>>0)break;Se[sf>>2]=nf+1|0,Ae[ff+nf|0]=41;break r}while(0);Y(r,41);break r}Z(r);break r}if(45==(0|Ir)){Z(r);break r}if(46==(0|Ir)){var of=a+4|0,k=(a+8|0)>>2,lf=Se[k],bf=47==(0|Se[lf>>2]);do if(bf){if(48!=(0|Se[Se[lf+8>>2]>>2]))break;var b=(r+8|0)>>2,kf=Me[b],l=(r+12|0)>>2;kf>>>0<Me[l]>>>0?(Se[b]=kf+1|0,Ae[Or+kf|0]=40):Y(r,40);var uf=Se[Se[k]+4>>2];H(r,uf);var cf=Me[cr],hf=0==(0|cf);do{if(!hf){var df=Me[b];if((df+2|0)>>>0>Me[l]>>>0){gr=278;break}var wf=cf+df|0;oe=8233,Ae[wf]=255&oe,oe>>=8,Ae[wf+1]=255&oe;var pf=Se[b]+2|0;Se[b]=pf,gr=279;break}gr=278}while(0);278==gr&&Q(r,0|He.__str139,2);var Ef=Se[of>>2];ir(r,Ef);var Af=Me[cr],gf=0==(0|Af);do{if(!gf){var yf=Me[b];if((yf+2|0)>>>0>Me[l]>>>0){gr=282;break}var mf=Af+yf|0;oe=10272,Ae[mf]=255&oe,oe>>=8,Ae[mf+1]=255&oe;var Sf=Se[b]+2|0;Se[b]=Sf,gr=283;break}gr=282}while(0);282==gr&&Q(r,0|He.__str140,2);var Mf=Se[Se[Se[k]+8>>2]+4>>2];H(r,Mf);var Cf=Me[cr],Rf=0==(0|Cf);do{if(!Rf){var Tf=Me[b];if((Tf+5|0)>>>0>Me[l]>>>0){gr=286;break}var Of=Cf+Tf|0;Ae[Of]=Ae[0|He.__str141],Ae[Of+1]=Ae[(0|He.__str141)+1],Ae[Of+2]=Ae[(0|He.__str141)+2],Ae[Of+3]=Ae[(0|He.__str141)+3],Ae[Of+4]=Ae[(0|He.__str141)+4];var Nf=Se[b]+5|0;Se[b]=Nf,gr=287;break}gr=286}while(0);286==gr&&Q(r,0|He.__str141,5);var If=Se[Se[Se[k]+8>>2]+8>>2];H(r,If);var Pf=Me[cr],Df=0==(0|Pf);do if(!Df){var Lf=Me[b];if(Lf>>>0>=Me[l]>>>0)break;Se[b]=Lf+1|0,Ae[Pf+Lf|0]=41;break r}while(0);Y(r,41);break r}while(0);Z(r);break r}if(47==(0|Ir)||48==(0|Ir)){Z(r);break r}if(49==(0|Ir)||50==(0|Ir)){var Ff=a+4|0,Xf=Se[Ff>>2],jf=33==(0|Se[Xf>>2]);do{if(jf){var Uf=Me[Se[Xf+4>>2]+16>>2];if(1==(0|Uf)||2==(0|Uf)||3==(0|Uf)||4==(0|Uf)||5==(0|Uf)||6==(0|Uf)){var xf=a+8|0;if(0!=(0|Se[Se[xf>>2]>>2])){var zf=Uf;break}if(50==(0|Ir)){var Vf=r+8|0,Bf=Me[Vf>>2];Bf>>>0<Me[Er+3]>>>0?(Se[Vf>>2]=Bf+1|0,Ae[Or+Bf|0]=45):Y(r,45)}var Hf=Se[xf>>2];if(H(r,Hf),2==(0|Uf)){var Kf=Me[cr],Yf=0==(0|Kf);do if(!Yf){var Gf=r+8|0,Wf=Me[Gf>>2];if(Wf>>>0>=Me[Er+3]>>>0)break;Se[Gf>>2]=Wf+1|0,Ae[Kf+Wf|0]=117;break r}while(0);Y(r,117);break r}if(3==(0|Uf)){var Zf=Me[cr],Qf=0==(0|Zf);do if(!Qf){var qf=r+8|0,$f=Me[qf>>2];if($f>>>0>=Me[Er+3]>>>0)break;Se[qf>>2]=$f+1|0,Ae[Zf+$f|0]=108;break r}while(0);Y(r,108);break r}if(4==(0|Uf)){var Jf=Me[cr],r_=0==(0|Jf);do if(!r_){var o=(r+8|0)>>2,a_=Me[o];if((a_+2|0)>>>0>Me[Er+3]>>>0)break;var e_=Jf+a_|0;oe=27765,Ae[e_]=255&oe,oe>>=8,Ae[e_+1]=255&oe;var i_=Se[o]+2|0;Se[o]=i_;break r}while(0);Q(r,0|He.__str142,2);break r}if(5==(0|Uf)){var v_=Me[cr],t_=0==(0|v_);do if(!t_){var n=(r+8|0)>>2,f_=Me[n];if((f_+2|0)>>>0>Me[Er+3]>>>0)break;var __=v_+f_|0;oe=27756,Ae[__]=255&oe,oe>>=8,Ae[__+1]=255&oe;var s_=Se[n]+2|0;Se[n]=s_;break r}while(0);Q(r,0|He.__str143,2);break r}if(6==(0|Uf)){var n_=Me[cr],o_=0==(0|n_);do if(!o_){var s=(r+8|0)>>2,l_=Me[s];if((l_+3|0)>>>0>Me[Er+3]>>>0)break;var b_=n_+l_|0;Ae[b_]=Ae[0|He.__str144],Ae[b_+1]=Ae[(0|He.__str144)+1],Ae[b_+2]=Ae[(0|He.__str144)+2];var k_=Se[s]+3|0;Se[s]=k_;break r}while(0);Q(r,0|He.__str144,3);break r}break r}if(7==(0|Uf)){var _=Se[pr+2]>>2;if(0!=(0|Se[_])){var zf=7;break}if(!(1==(0|Se[_+2])&49==(0|Ir))){var zf=Uf;break}var u_=Ae[Se[_+1]]<<24>>24;if(48==(0|u_)){var f=(r+8|0)>>2,c_=Me[f];if((c_+5|0)>>>0>Me[Er+3]>>>0){Q(r,0|He.__str145,5);break r}var h_=Or+c_|0;Ae[h_]=Ae[0|He.__str145],Ae[h_+1]=Ae[(0|He.__str145)+1],Ae[h_+2]=Ae[(0|He.__str145)+2],Ae[h_+3]=Ae[(0|He.__str145)+3],Ae[h_+4]=Ae[(0|He.__str145)+4];var d_=Se[f]+5|0;Se[f]=d_;break r}if(49==(0|u_)){var t=(r+8|0)>>2,w_=Me[t];if((w_+4|0)>>>0>Me[Er+3]>>>0){Q(r,0|He.__str146,4);break r}var p_=Or+w_|0;oe=1702195828,Ae[p_]=255&oe,oe>>=8,Ae[p_+1]=255&oe,oe>>=8,Ae[p_+2]=255&oe,oe>>=8,Ae[p_+3]=255&oe;var E_=Se[t]+4|0;Se[t]=E_;break r}var zf=Uf;break}var zf=Uf;break}var zf=0}while(0);var zf,v=(r+8|0)>>2,A_=Me[v],i=(r+12|0)>>2;A_>>>0<Me[i]>>>0?(Se[v]=A_+1|0,Ae[Or+A_|0]=40):Y(r,40);var g_=Se[Ff>>2];H(r,g_);var y_=Me[cr],m_=0==(0|y_);do{if(!m_){var S_=Me[v];if(S_>>>0>=Me[i]>>>0){gr=335;break}Se[v]=S_+1|0,Ae[y_+S_|0]=41,gr=336;break}gr=335}while(0);335==gr&&Y(r,41);var M_=50==(0|Se[Nr>>2]);e:do if(M_){var C_=Me[cr],R_=0==(0|C_);do if(!R_){var T_=Me[v];if(T_>>>0>=Me[i]>>>0)break;Se[v]=T_+1|0,Ae[C_+T_|0]=45;break e}while(0);Y(r,45)}while(0);if(8==(0|zf)){var O_=Me[cr],N_=0==(0|O_);do{if(!N_){var I_=Me[v];if(I_>>>0>=Me[i]>>>0){gr=345;break}Se[v]=I_+1|0,Ae[O_+I_|0]=91,gr=346;break}gr=345}while(0);345==gr&&Y(r,91);var P_=Se[pr+2];H(r,P_);var D_=Me[cr],L_=0==(0|D_);do if(!L_){var F_=Me[v];if(F_>>>0>=Me[i]>>>0)break;Se[v]=F_+1|0,Ae[D_+F_|0]=93;break r}while(0);Y(r,93);break r}var X_=Se[pr+2];H(r,X_);break r}Z(r);break r}}while(0);var e=(r+20|0)>>2,j_=Se[e],U_=0|Sr;Se[U_>>2]=j_,Se[e]=Sr,Se[Sr+4>>2]=a;var x_=Sr+8|0;Se[x_>>2]=0;var z_=Se[Er+4];Se[Sr+12>>2]=z_;var V_=Se[pr+1];H(r,V_),0==(0|Se[x_>>2])&&$(r,a);var B_=Se[U_>>2];Se[e]=B_}while(0);Oe=Ar}function K(r,a,e,i){var v=i>>2;Se[v]=r,Se[v+1]=r+e|0,Se[v+2]=a,Se[v+3]=r,Se[v+6]=e<<1,Se[v+5]=0,Se[v+9]=e,Se[v+8]=0,Se[v+10]=0,Se[v+11]=0,Se[v+12]=0}function Y(r,a){var e,i=r+4|0,v=Me[i>>2],t=0==(0|v);do if(!t){var e=(r+8|0)>>2,f=Me[e];if(f>>>0<Me[r+12>>2]>>>0)var _=v,s=f;else{tr(r,1);var n=Me[i>>2];if(0==(0|n))break;var _=n,s=Se[e]}var s,_;Ae[_+s|0]=255&a;var o=Se[e]+1|0;Se[e]=o}while(0)}function G(r,a,e,i){var v,t=i>>2,f=Oe;Oe+=4;var _=f,v=_>>2,s=0==(0|r);do if(s){if(0==(0|i)){var n=0;break}Se[t]=-3;var n=0}else{var o=0==(0|e);if(0!=(0|a)&o){if(0==(0|i)){var n=0;break}Se[t]=-3;var n=0}else{var l=W(r,_);if(0==(0|l)){if(0==(0|i)){var n=0;break}if(1==(0|Se[v])){Se[t]=-1;var n=0}else{Se[t]=-2;var n=0}}else{var b=0==(0|a);do if(b){if(o){var k=l;break}var u=Se[v];Se[e>>2]=u;var k=l}else{var c=Ca(l);if(c>>>0<Me[e>>2]>>>0){Ra(a,l);va(l);var k=a}else{va(a);var h=Se[v];Se[e>>2]=h;var k=l}}while(0);var k;if(0==(0|i)){var n=k;break}Se[t]=0;var n=k}}}while(0);var n;return Oe=f,n}function W(r,a){var e,i=Oe;Oe+=52;var v,t=i,e=t>>2;Se[a>>2]=0;var f=Ca(r),_=Ae[r]<<24>>24==95;do{if(_){if(Ae[r+1|0]<<24>>24==90){var s=0;v=13;break}v=3;break}v=3}while(0);do if(3==v){var n=Na(r,0|He.__str117,8);if(0!=(0|n)){var s=1;v=13;break}var o=Ae[r+8|0];if(o<<24>>24!=46&&o<<24>>24!=95&&o<<24>>24!=36){var s=1;v=13;break}var l=r+9|0,b=Ae[l];if(b<<24>>24!=68&&b<<24>>24!=73){\\nvar s=1;v=13;break}if(Ae[r+10|0]<<24>>24!=95){var s=1;v=13;break}var k=f+29|0,u=Jr(k);if(0==(0|u)){Se[a>>2]=1;var c=0;v=19;break}Ae[l]<<24>>24==73?Pa(u,0|He.__str118,30,1):Pa(u,0|He.__str119,29,1);var h=r+11|0,c=(Ia(u,h),u);v=19;break}while(0);if(13==v){var s;K(r,17,f,t);var d=Se[e+6],w=Ta(),p=Oe;Oe+=12*d,Oe=Oe+3>>2<<2;var E=Oe;if(Oe+=4*Se[e+9],Oe=Oe+3>>2<<2,Se[e+4]=p,Se[e+7]=E,s)var A=N(t),g=A;else var y=T(t,1),g=y;var g,m=Ae[Se[e+3]]<<24>>24==0?g:0,S=Se[e+12]+f+10*Se[e+10]|0;if(0==(0|m))var M=0;else var C=S/8+S|0,R=B(17,m,C,a),M=R;var M;Oa(w);var c=M}var c;return Oe=i,c}function Z(r){var a=r+4|0,e=Se[a>>2];va(e),Se[a>>2]=0}function Q(r,a,e){var i,v=r+4|0,t=Me[v>>2],f=0==(0|t);do if(!f){var i=(r+8|0)>>2,_=Me[i];if((_+e|0)>>>0>Me[r+12>>2]>>>0){tr(r,e);var s=Me[v>>2];if(0==(0|s))break;var n=s,o=Se[i]}else var n=t,o=_;var o,n;Pa(n+o|0,a,e,1);var l=Se[i]+e|0;Se[i]=l}while(0)}function q(r,a,e){var i,v,t=a+e|0,f=(0|e)>0;r:do if(f)for(var _=t,s=r+4|0,i=(r+8|0)>>2,n=r+12|0,o=a;;){var o,l=(_-o|0)>3;a:do{if(l){if(Ae[o]<<24>>24!=95){v=21;break}if(Ae[o+1|0]<<24>>24!=95){v=21;break}if(Ae[o+2|0]<<24>>24!=85){v=21;break}for(var b=o+3|0,k=0;;){var k,b;if(b>>>0>=t>>>0){v=21;break a}var u=ge[b],c=u<<24>>24;if((u-48&255&255)<10)var h=c-48|0;else if((u-65&255&255)<6)var h=c-55|0;else{if((u-97&255&255)>=6)break;var h=c-87|0}var h,b=b+1|0,k=(k<<4)+h|0}if(!(u<<24>>24==95&k>>>0<256)){v=21;break}var d=Me[s>>2],w=0==(0|d);do if(!w){var p=Me[i];if(p>>>0>=Me[n>>2]>>>0)break;Se[i]=p+1|0,Ae[d+p|0]=255&k;var E=b;v=25;break a}while(0);Y(r,k);var E=b;v=25;break}v=21}while(0);a:do if(21==v){var A=Me[s>>2],g=0==(0|A);do if(!g){var y=Me[i];if(y>>>0>=Me[n>>2]>>>0)break;var m=Ae[o];Se[i]=y+1|0,Ae[A+y|0]=m;var E=o;break a}while(0);var S=Ae[o]<<24>>24;Y(r,S);var E=o}while(0);var E,M=E+1|0;if(M>>>0>=t>>>0)break r;var o=M}while(0)}function $(r,a){var e,i,v,t,f,_,s,n=r>>2,o=Se[a>>2];r:do if(22==(0|o)||25==(0|o)){var l=Me[n+1],b=0==(0|l);do if(!b){var _=(r+8|0)>>2,k=Me[_];if((k+9|0)>>>0>Me[n+3]>>>0)break;for(var u=l+k|0,c=0|He.__str147,h=u,d=c+9;c<d;c++,h++)Ae[h]=Ae[c];var w=Se[_]+9|0;Se[_]=w;break r}while(0);Q(r,0|He.__str147,9)}else if(23==(0|o)||26==(0|o)){var p=Me[n+1],E=0==(0|p);do if(!E){var f=(r+8|0)>>2,A=Me[f];if((A+9|0)>>>0>Me[n+3]>>>0)break;for(var g=p+A|0,c=0|He.__str148,h=g,d=c+9;c<d;c++,h++)Ae[h]=Ae[c];var y=Se[f]+9|0;Se[f]=y;break r}while(0);Q(r,0|He.__str148,9)}else if(24==(0|o)||27==(0|o)){var m=Me[n+1],S=0==(0|m);do if(!S){var t=(r+8|0)>>2,M=Me[t];if((M+6|0)>>>0>Me[n+3]>>>0)break;var C=m+M|0;Ae[C]=Ae[0|He.__str149],Ae[C+1]=Ae[(0|He.__str149)+1],Ae[C+2]=Ae[(0|He.__str149)+2],Ae[C+3]=Ae[(0|He.__str149)+3],Ae[C+4]=Ae[(0|He.__str149)+4],Ae[C+5]=Ae[(0|He.__str149)+5];var R=Se[t]+6|0;Se[t]=R;break r}while(0);Q(r,0|He.__str149,6)}else if(28==(0|o)){var T=Me[n+1],O=0==(0|T);do{if(!O){var N=r+8|0,I=Me[N>>2];if(I>>>0>=Me[n+3]>>>0){s=17;break}Se[N>>2]=I+1|0,Ae[T+I|0]=32,s=18;break}s=17}while(0);17==s&&Y(r,32);var P=Se[a+8>>2];H(r,P)}else if(29==(0|o)){if(0!=(4&Se[n]|0))break;var D=Me[n+1],L=0==(0|D);do if(!L){var F=r+8|0,X=Me[F>>2];if(X>>>0>=Me[n+3]>>>0)break;Se[F>>2]=X+1|0,Ae[D+X|0]=42;break r}while(0);Y(r,42)}else if(30==(0|o)){var j=Me[n+1],U=0==(0|j);do if(!U){var x=r+8|0,z=Me[x>>2];if(z>>>0>=Me[n+3]>>>0)break;Se[x>>2]=z+1|0,Ae[j+z|0]=38;break r}while(0);Y(r,38)}else if(31==(0|o)){var V=Me[n+1],B=0==(0|V);do if(!B){var v=(r+8|0)>>2,K=Me[v];if((K+8|0)>>>0>Me[n+3]>>>0)break;var G=V+K|0,W=0|G;oe=1886220131,Ae[W]=255&oe,oe>>=8,Ae[W+1]=255&oe,oe>>=8,Ae[W+2]=255&oe,oe>>=8,Ae[W+3]=255&oe;var Z=G+4|0;oe=544761196,Ae[Z]=255&oe,oe>>=8,Ae[Z+1]=255&oe,oe>>=8,Ae[Z+2]=255&oe,oe>>=8,Ae[Z+3]=255&oe;var q=Se[v]+8|0;Se[v]=q;break r}while(0);Q(r,0|He.__str150,8)}else if(32==(0|o)){var $=Me[n+1],J=0==(0|$);do if(!J){var i=(r+8|0)>>2,rr=Me[i];if((rr+10|0)>>>0>Me[n+3]>>>0)break;for(var ar=$+rr|0,c=0|He.__str151,h=ar,d=c+10;c<d;c++,h++)Ae[h]=Ae[c];var er=Se[i]+10|0;Se[i]=er;break r}while(0);Q(r,0|He.__str151,10)}else if(37==(0|o)){var ir=r+4|0,vr=Me[ir>>2],tr=0==(0|vr);do{if(!tr){var fr=r+8|0,_r=Me[fr>>2];if(0!=(0|_r)&&Ae[vr+(_r-1)|0]<<24>>24==40){s=42;break}if(_r>>>0>=Me[n+3]>>>0){s=41;break}Se[fr>>2]=_r+1|0,Ae[vr+_r|0]=32,s=42;break}s=41}while(0);41==s&&Y(r,32);var sr=Se[a+4>>2];H(r,sr);var nr=Me[ir>>2],or=0==(0|nr);do if(!or){var e=(r+8|0)>>2,lr=Me[e];if((lr+3|0)>>>0>Me[n+3]>>>0)break;var br=nr+lr|0;Ae[br]=Ae[0|He.__str135],Ae[br+1]=Ae[(0|He.__str135)+1],Ae[br+2]=Ae[(0|He.__str135)+2];var kr=Se[e]+3|0;Se[e]=kr;break r}while(0);Q(r,0|He.__str135,3)}else if(3==(0|o)){var ur=Se[a+4>>2];H(r,ur)}else H(r,a);while(0)}function J(r){var a=r+20|0,e=Se[a>>2];if((0|e)<(0|Se[r+24>>2])){var i=Se[r+16>>2]+12*e|0,v=e+1|0;Se[a>>2]=v;var t=i}else var t=0;var t;return t}function rr(r,a,e){var i,v,t,f,_=r>>2,s=e,t=s>>2,n=0;r:for(;;){var n,s,o=0==(0|s);do if(!o){if(0!=(0|Se[t+2]))break;var l=Se[Se[t+1]>>2];if(29==(0|l)||30==(0|l)){f=9;break r}if(22==(0|l)||23==(0|l)||24==(0|l)||28==(0|l)||31==(0|l)||32==(0|l)||37==(0|l)){var b=Se[_+1];f=12;break r}var s=Se[t],t=s>>2,n=1;continue r}while(0);if(0!=(0|Se[a+4>>2])&0==(0|n)){f=9;break}var k=0,u=r+4|0,v=u>>2;f=22;break}do if(9==f){var c=Se[_+1];if(0==(0|c)){f=17;break}var h=Se[_+2];if(0==(0|h)){var d=c;f=13;break}var w=Ae[c+(h-1)|0];if(w<<24>>24==40||w<<24>>24==42){f=18;break}var b=c;f=12;break}while(0);do if(12==f){var b;if(0==(0|b)){f=17;break}var d=b;f=13;break}while(0);do if(13==f){var d,p=r+8|0,E=Me[p>>2];if(0!=(0|E)&&Ae[d+(E-1)|0]<<24>>24==32){f=18;break}if(E>>>0>=Me[_+3]>>>0){f=17;break}Se[p>>2]=E+1|0,Ae[d+E|0]=32,f=18;break}while(0);do if(17==f){Y(r,32),f=18;break}while(0);r:do if(18==f){var A=r+4|0,g=Me[A>>2],y=0==(0|g);do if(!y){var m=r+8|0,S=Me[m>>2];if(S>>>0>=Me[_+3]>>>0)break;Se[m>>2]=S+1|0,Ae[g+S|0]=40;var k=1,u=A,v=u>>2;break r}while(0);Y(r,40);var k=1,u=A,v=u>>2}while(0);var u,k,i=(r+20|0)>>2,M=Se[i];Se[i]=0,vr(r,e,0);r:do if(k){var C=Me[v],R=0==(0|C);do if(!R){var T=r+8|0,O=Me[T>>2];if(O>>>0>=Me[_+3]>>>0)break;Se[T>>2]=O+1|0,Ae[C+O|0]=41;break r}while(0);Y(r,41)}while(0);var N=Me[v],I=0==(0|N);do{if(!I){var P=r+8|0,D=Me[P>>2];if(D>>>0>=Me[_+3]>>>0){f=30;break}Se[P>>2]=D+1|0,Ae[N+D|0]=40,f=31;break}f=30}while(0);30==f&&Y(r,40);var L=Se[a+8>>2];0!=(0|L)&&H(r,L);var F=Me[v],X=0==(0|F);do{if(!X){var j=r+8|0,U=Me[j>>2];if(U>>>0>=Me[_+3]>>>0){f=36;break}Se[j>>2]=U+1|0,Ae[F+U|0]=41,f=37;break}f=36}while(0);36==f&&Y(r,41),vr(r,e,1),Se[i]=M}function ar(r,a,e){var i,v,t,f=r>>2,_=0==(0|e);do{if(!_){var s=e,v=s>>2;r:for(;;){var s;if(0==(0|s)){var n=1;t=14;break}if(0==(0|Se[v+2])){var o=36==(0|Se[Se[v+1]>>2]),l=1&o^1;if(o){var n=l;t=14;break}var b=r+4|0,k=Me[b>>2],u=0==(0|k);do{if(!u){var i=(r+8|0)>>2,c=Me[i];if((c+2|0)>>>0>Me[f+3]>>>0){t=9;break}var h=k+c|0;oe=10272,Ae[h]=255&oe,oe>>=8,Ae[h+1]=255&oe;var d=Se[i]+2|0;Se[i]=d,vr(r,e,0),t=10;break}t=9}while(0);9==t&&(Q(r,0|He.__str140,2),vr(r,e,0));var w=Me[b>>2],p=0==(0|w);do if(!p){var E=r+8|0,A=Me[E>>2];if(A>>>0>=Me[f+3]>>>0)break;Se[E>>2]=A+1|0,Ae[w+A|0]=41;var g=l;t=15;break r}while(0);Y(r,41);var g=l;t=15;break}var s=Se[v],v=s>>2}if(14==t){var n;vr(r,e,0);var g=n}var g;if(0!=(0|g)){t=17;break}var y=r+4|0;t=21;break}t=17}while(0);r:do if(17==t){var m=r+4|0,S=Me[m>>2],M=0==(0|S);do if(!M){var C=r+8|0,R=Me[C>>2];if(R>>>0>=Me[f+3]>>>0)break;Se[C>>2]=R+1|0,Ae[S+R|0]=32;var y=m;break r}while(0);Y(r,32);var y=m}while(0);var y,T=Me[y>>2],O=0==(0|T);do{if(!O){var N=r+8|0,I=Me[N>>2];if(I>>>0>=Me[f+3]>>>0){t=24;break}Se[N>>2]=I+1|0,Ae[T+I|0]=91,t=25;break}t=24}while(0);24==t&&Y(r,91);var P=Se[a+4>>2];0!=(0|P)&&H(r,P);var D=Me[y>>2],L=0==(0|D);do{if(!L){var F=r+8|0,X=Me[F>>2];if(X>>>0>=Me[f+3]>>>0){t=30;break}Se[F>>2]=X+1|0,Ae[D+X|0]=93,t=31;break}t=30}while(0);30==t&&Y(r,93)}function er(r,a){var e,i,v,t,f,_,s=Oe;Oe+=8;var n,o=s,_=(a+4|0)>>2,l=Se[_];if(4==(0|Se[l>>2])){var f=(r+20|0)>>2,b=Se[f];Se[f]=0;var t=(r+16|0)>>2,k=Se[t],u=0|o;Se[u>>2]=k,Se[t]=o;var c=Se[_];Se[o+4>>2]=c;var h=Se[c+4>>2];H(r,h);var d=Se[u>>2];Se[t]=d;var v=(r+4|0)>>2,w=Me[v],p=0==(0|w);do{if(!p){var i=(r+8|0)>>2,E=Me[i],A=0==(0|E);do if(!A){if(Ae[w+(E-1)|0]<<24>>24!=60)break;E>>>0<Me[r+12>>2]>>>0?(Se[i]=E+1|0,Ae[w+E|0]=32):Y(r,32)}while(0);var g=Me[v];if(0==(0|g)){n=12;break}var y=Me[i];if(y>>>0>=Me[r+12>>2]>>>0){n=12;break}Se[i]=y+1|0,Ae[g+y|0]=60,n=13;break}n=12}while(0);12==n&&Y(r,60);var m=Se[Se[_]+8>>2];H(r,m);var S=Me[v],M=0==(0|S);do{if(!M){var e=(r+8|0)>>2,C=Me[e],R=0==(0|C);do if(!R){if(Ae[S+(C-1)|0]<<24>>24!=62)break;C>>>0<Me[r+12>>2]>>>0?(Se[e]=C+1|0,Ae[S+C|0]=32):Y(r,32)}while(0);var T=Me[v];if(0==(0|T)){n=22;break}var O=Me[e];if(O>>>0>=Me[r+12>>2]>>>0){n=22;break}Se[e]=O+1|0,Ae[T+O|0]=62,n=23;break}n=22}while(0);22==n&&Y(r,62),Se[f]=b}else H(r,l);Oe=s}function ir(r,a){var e,i=40==(0|Se[a>>2]);r:do if(i){var v=Me[r+4>>2],t=0==(0|v);do{if(!t){var e=(r+8|0)>>2,f=Me[e],_=a+4|0,s=Me[_>>2],n=Me[s+8>>2];if((n+f|0)>>>0>Me[r+12>>2]>>>0){var o=s,l=n;break}var b=v+f|0,k=Se[s+4>>2];Pa(b,k,n,1);var u=Se[e]+Se[Se[_>>2]+8>>2]|0;Se[e]=u;break r}var c=Me[a+4>>2],o=c,l=Se[c+8>>2]}while(0);var l,o,h=Se[o+4>>2];Q(r,h,l)}else H(r,a);while(0)}function vr(r,a,e){var i,v,t,f,_,f=(r+4|0)>>2,s=0==(0|e),t=(r+16|0)>>2;r:do if(s)for(var n=a;;){var n;if(0==(0|n)){_=29;break r}if(0==(0|Se[f])){_=29;break r}var o=n+8|0,l=0==(0|Se[o>>2]);do if(l){var b=n+4|0;if((Se[Se[b>>2]>>2]-25|0)>>>0<3)break;Se[o>>2]=1;var k=Me[t],u=Se[n+12>>2];Se[t]=u;var c=Me[b>>2],h=Se[c>>2];if(35==(0|h)){var d=n,w=k,p=c;_=14;break r}if(36==(0|h)){var E=n,A=k,g=c;_=15;break r}if(2==(0|h)){var y=k,m=b;_=16;break r}$(r,c),Se[t]=k}while(0);var n=Se[n>>2]}else for(var S=a;;){var S;if(0==(0|S)){_=29;break r}if(0==(0|Se[f])){_=29;break r}var M=S+8|0;if(0==(0|Se[M>>2])){Se[M>>2]=1;var C=Me[t],R=Se[S+12>>2];Se[t]=R;var T=S+4|0,O=Me[T>>2],N=Se[O>>2];if(35==(0|N)){var d=S,w=C,p=O;_=14;break r}if(36==(0|N)){var E=S,A=C,g=O;_=15;break r}if(2==(0|N)){var y=C,m=T;_=16;break r}$(r,O),Se[t]=C}var S=Se[S>>2]}while(0);if(14==_){var p,w,d,I=Se[d>>2];rr(r,p,I),Se[t]=w}else if(15==_){var g,A,E,P=Se[E>>2];ar(r,g,P),Se[t]=A}else if(16==_){var m,y,v=(r+20|0)>>2,D=Se[v];Se[v]=0;var L=Se[Se[m>>2]+4>>2];H(r,L),Se[v]=D;var F=0==(4&Se[r>>2]|0),X=Me[f],j=0!=(0|X);r:do if(F){do if(j){var i=(r+8|0)>>2,U=Me[i];if((U+2|0)>>>0>Me[r+12>>2]>>>0)break;var x=X+U|0;oe=14906,Ae[x]=255&oe,oe>>=8,Ae[x+1]=255&oe;var z=Se[i]+2|0;Se[i]=z;break r}while(0);Q(r,0|He.__str120,2)}else{do if(j){var V=r+8|0,B=Me[V>>2];if(B>>>0>=Me[r+12>>2]>>>0)break;Se[V>>2]=B+1|0,Ae[X+B|0]=46;break r}while(0);Y(r,46)}while(0);var K=Me[Se[m>>2]+8>>2],G=(Se[K>>2]-25|0)>>>0<3;r:do if(G)for(var W=K;;){var W,Z=Me[W+4>>2];if((Se[Z>>2]-25|0)>>>0>=3){var q=Z;break r}var W=Z}else var q=K;while(0);var q;H(r,q),Se[t]=y}}function tr(r,a){var e,e=(r+4|0)>>2,i=Se[e],v=0==(0|i);r:do if(!v){for(var t=Se[r+8>>2]+a|0,f=r+12|0,_=Se[f>>2],s=i;;){var s,_;if(t>>>0<=_>>>0)break r;var n=_<<1,o=fa(s,n);if(0==(0|o))break;Se[e]=o,Se[f>>2]=n;var _=n,s=o}var l=Se[e];va(l),Se[e]=0,Se[r+24>>2]=1}while(0)}function fr(r,a,e){var i,v=J(r),i=v>>2;return 0!=(0|v)&&(Se[i]=21,Se[i+1]=a,Se[i+2]=e),v}function _r(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e]<<24>>24;if(88==(0|i)){var v=e+1|0;Se[a]=v;var t=nr(r),f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==69?t:0,n=s}else if(76==(0|i))var o=or(r),n=o;else var l=N(r),n=l;var n;return n}function sr(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e];if(i<<24>>24==110){var v=e+1|0;Se[a]=v;var t=1,f=Ae[v],_=v}else var t=0,f=i,_=e;var _,f,t,s=(f-48&255&255)<10;r:do if(s)for(var n=f,o=0,l=_;;){var l,o,n,b=(n<<24>>24)-48+10*o|0,k=l+1|0;Se[a]=k;var u=ge[k];if((u-48&255&255)>=10){var c=b;break r}var n=u,o=b,l=k}else var c=0;while(0);var c,h=0==(0|t)?c:0|-c;return h}function nr(r){var a,e,a=(r+12|0)>>2,i=Se[a],v=Ae[i];do{if(v<<24>>24==76){var t=or(r),f=t;e=21;break}if(v<<24>>24==84){var _=x(r),f=_;e=21;break}if(v<<24>>24==115){if(Ae[i+1|0]<<24>>24!=114){e=8;break}var s=i+2|0;Se[a]=s;var n=N(r),o=br(r);if(Ae[Se[a]]<<24>>24==73){var l=z(r),b=D(r,4,o,l),k=D(r,1,n,b),f=k;e=21;break}var u=D(r,1,n,o),f=u;e=21;break}e=8}while(0);r:do if(8==e){var c=kr(r);if(0==(0|c)){var f=0;break}var h=0|c,d=Se[h>>2],w=40==(0|d);do{if(w){var p=c+4|0,E=r+48|0,A=Se[Se[p>>2]+8>>2]-2+Se[E>>2]|0;Se[E>>2]=A;var g=Se[h>>2];if(40!=(0|g)){var y=g;e=13;break}var m=Se[p>>2],S=Se[m>>2],M=Da(S,0|He.__str90);if(0!=(0|M)){var C=m;e=15;break}var R=N(r),T=D(r,43,c,R),f=T;break r}var y=d;e=13}while(0);do if(13==e){var y;if(40==(0|y)){var C=Se[c+4>>2];e=15;break}if(41==(0|y)){var O=c+4|0;e=17;break}if(42==(0|y)){e=18;break}var f=0;break r}while(0);do if(15==e){var C,O=C+12|0;e=17;break}while(0);do if(17==e){var O,I=Se[O>>2];if(1==(0|I))break;if(2==(0|I)){var P=nr(r),L=nr(r),F=D(r,45,P,L),X=D(r,44,c,F);return X}if(3==(0|I)){var j=nr(r),U=nr(r),V=nr(r),B=D(r,48,U,V),H=D(r,47,j,B),K=D(r,46,c,H);return K}var f=0;break r}while(0);var Y=nr(r),G=D(r,43,c,Y);return G}while(0);var f;return f}function or(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==76;r:do if(v){if(Ae[i]<<24>>24==95)var t=T(r,0),f=t;else{var _=N(r);if(0==(0|_)){var s=0;break}var n=33==(0|Se[_>>2]);do if(n){var o=Se[_+4>>2];if(0==(0|Se[o+16>>2]))break;var l=r+48|0,b=Se[l>>2]-Se[o+4>>2]|0;Se[l>>2]=b}while(0);var k=Se[a];if(Ae[k]<<24>>24==110){var u=k+1|0;Se[a]=u;var c=50,h=u}else var c=49,h=k;for(var h,c,d=h;;){var d,w=Ae[d];if(w<<24>>24==69)break;if(w<<24>>24==0){var s=0;break r}var p=d+1|0;Se[a]=p;var d=p}var E=lr(r,h,d-h|0),A=D(r,c,_,E),f=A}var f,g=Se[a],y=g+1|0;Se[a]=y;var m=Ae[g]<<24>>24==69?f:0,s=m}else var s=0;while(0);var s;return s}function lr(r,a,e){var i=J(r),v=m(i,a,e),t=0==(0|v)?0:i;return t}function br(r){var a=r+12|0,e=Me[a>>2],i=ge[e],v=(i-48&255&255)<10;do if(v)var t=L(r),f=t;else if((i-97&255&255)<26){var _=kr(r);if(0==(0|_)){var f=0;break}if(40!=(0|Se[_>>2])){var f=_;break}var s=r+48|0,n=Se[Se[_+4>>2]+8>>2]+Se[s>>2]+7|0;Se[s>>2]=n;var f=_}else if(i<<24>>24==67||i<<24>>24==68)var o=hr(r),f=o;else{if(i<<24>>24!=76){var f=0;break}Se[a>>2]=e+1|0;var l=L(r);if(0==(0|l)){var f=0;break}var b=dr(r),k=0==(0|b)?0:l,f=k}while(0);var f;return f}function kr(r){var a,e,a=(r+12|0)>>2,i=Se[a],v=i+1|0;Se[a]=v;var t=ge[i],f=i+2|0;Se[a]=f;var _=ge[v];do{if(t<<24>>24==118){if((_-48&255&255)>=10){var s=49,n=0;e=6;break}var o=(_<<24>>24)-48|0,l=L(r),b=ur(r,o,l),k=b;e=14;break}if(t<<24>>24==99){if(_<<24>>24!=118){var s=49,n=0;e=6;break}var u=N(r),c=D(r,42,u,0),k=c;e=14;break}var s=49,n=0;e=6}while(0);r:do if(6==e){for(;;){var n,s,h=(s-n)/2+n|0,d=(h<<4)+ri|0,w=Se[d>>2],p=Ae[w],E=t<<24>>24==p<<24>>24;if(E&&_<<24>>24==Ae[w+1|0]<<24>>24)break;var A=t<<24>>24<p<<24>>24;do if(A)var g=h,y=n;else{if(E&&_<<24>>24<Ae[w+1|0]<<24>>24){var g=h,y=n;break}var g=s,y=h+1|0}while(0);var y,g;if((0|y)==(0|g)){var k=0;break r}var s=g,n=y}var m=cr(r,d),k=m}while(0);var k;return k}function ur(r,a,e){var i=J(r),v=S(i,a,e),t=0==(0|v)?0:i;return t}function cr(r,a){var e=J(r);return 0!=(0|e)&&(Se[e>>2]=40,Se[e+4>>2]=a),e}function hr(r){var a,e,i=Se[r+44>>2],e=i>>2,v=0==(0|i);do if(!v){var t=Se[e];if(0==(0|t)){var f=r+48|0,_=Se[f>>2]+Se[e+2]|0;Se[f>>2]=_}else{if(21!=(0|t))break;var s=r+48|0,n=Se[s>>2]+Se[e+2]|0;Se[s>>2]=n}}while(0);var a=(r+12|0)>>2,o=Se[a],l=o+1|0;Se[a]=l;var b=Ae[o]<<24>>24;do if(67==(0|b)){var k=o+2|0;Se[a]=k;var u=Ae[l]<<24>>24;if(49==(0|u))var c=1;else if(50==(0|u))var c=2;else{if(51!=(0|u)){var h=0;break}var c=3}var c,d=wr(r,c,i),h=d}else if(68==(0|b)){var w=o+2|0;Se[a]=w;var p=Ae[l]<<24>>24;if(48==(0|p))var E=1;else if(49==(0|p))var E=2;else{if(50!=(0|p)){var h=0;break}var E=3}var E,A=pr(r,E,i),h=A}else var h=0;while(0);var h;return h}function dr(r){var a=r+12|0,e=Se[a>>2];if(Ae[e]<<24>>24==95){var i=e+1|0;Se[a>>2]=i;var v=sr(r),t=v>>>31^1}else var t=1;var t;return t}function wr(r,a,e){var i=J(r),v=M(i,a,e),t=0==(0|v)?0:i;return t}function pr(r,a,e){var i=J(r),v=C(i,a,e),t=0==(0|v)?0:i;return t}function Er(r,a){var e=J(r);return 0!=(0|e)&&(Se[e>>2]=5,Se[e+4>>2]=a),e}function Ar(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e]<<24>>24;do if(78==(0|i))var v=gr(r),t=v;else if(90==(0|i))var f=yr(r),t=f;else if(76==(0|i))var _=br(r),t=_;else if(83==(0|i)){if(Ae[e+1|0]<<24>>24==116){var s=e+2|0;Se[a]=s;var n=lr(r,0|He.__str152,3),o=br(r),l=D(r,1,n,o),b=r+48|0,k=Se[b>>2]+3|0;Se[b>>2]=k;var u=0,c=l}else var h=V(r,0),u=1,c=h;var c,u;if(Ae[Se[a]]<<24>>24!=73){var t=c;break}if(0==(0|u)){var d=R(r,c);if(0==(0|d)){var t=0;break}}var w=z(r),p=D(r,4,c,w),t=p}else{var E=br(r);if(Ae[Se[a]]<<24>>24!=73){var t=E;break}var A=R(r,E);if(0==(0|A)){var t=0;break}var g=z(r),y=D(r,4,E,g),t=y}while(0);var t;return t}function gr(r){var a,e=Oe;Oe+=4;var i=e,a=(r+12|0)>>2,v=Se[a],t=v+1|0;Se[a]=t;var f=Ae[v]<<24>>24==78;do if(f){var _=I(r,i,1);if(0==(0|_)){var s=0;break}var n=mr(r);if(Se[_>>2]=n,0==(0|n)){var s=0;break}var o=Se[a],l=o+1|0;if(Se[a]=l,Ae[o]<<24>>24!=69){var s=0;break}var s=Se[i>>2]}else var s=0;while(0);var s;return Oe=e,s}function yr(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==90;do if(v){var t=O(r,0),f=Se[a],_=f+1|0;if(Se[a]=_,Ae[f]<<24>>24!=69){var s=0;break}if(Ae[_]<<24>>24==115){var n=f+2|0;Se[a]=n;var o=dr(r);if(0==(0|o)){var s=0;break}var l=lr(r,0|He.__str168,14),b=D(r,2,t,l),s=b}else{var k=Ar(r),u=dr(r);if(0==(0|u)){var s=0;break}var c=D(r,2,t,k),s=c}}else var s=0;while(0);var s;return s}function mr(r){var a,e=r+12|0,i=0;r:for(;;){var i,v=ge[Se[e>>2]];if(v<<24>>24==0){var t=0;break}var f=(v-48&255&255)<10|(v-97&255&255)<26;do{if(!f){if(v<<24>>24==76||v<<24>>24==68||v<<24>>24==67){a=5;break}if(v<<24>>24==83){var _=V(r,1),s=_;a=10;break}if(v<<24>>24==73){if(0==(0|i)){var t=0;break r}var n=z(r),o=4,l=n;a=11;break}if(v<<24>>24==84){var b=x(r),s=b;a=10;break}if(v<<24>>24==69){var t=i;break r}var t=0;break r}a=5}while(0);do if(5==a){var k=br(r),s=k;a=10;break}while(0);do if(10==a){var s;if(0==(0|i)){var u=s;a=12;break}var o=1,l=s;a=11;break}while(0);if(11==a)var l,o,c=D(r,o,i,l),u=c;var u;if(v<<24>>24!=83)if(Ae[Se[e>>2]]<<24>>24!=69){var h=R(r,u);if(0==(0|h)){var t=0;break}var i=u}else var i=u;else var i=u}var t;return t}function Sr(r,a){var e,i,v=Oe;Oe+=4;var t=v,i=t>>2,e=(r+12|0)>>2,f=Se[e];if(Ae[f]<<24>>24==74){var _=f+1|0;Se[e]=_;var s=1}else var s=a;var s;Se[i]=0;var n=s,o=0,l=t;r:for(;;)for(var l,o,n,b=n,k=o;;){var k,b,u=Ae[Se[e]];if(u<<24>>24==0||u<<24>>24==69){var c=Se[i];if(0==(0|c)){var h=0;break r}var d=0==(0|Se[c+8>>2]);do if(d){var w=Se[c+4>>2];if(33!=(0|Se[w>>2])){var p=c;break}var E=Se[w+4>>2];if(9!=(0|Se[E+16>>2])){var p=c;break}var A=r+48|0,g=Se[A>>2]-Se[E+4>>2]|0;Se[A>>2]=g,Se[i]=0;var p=0}else var p=c;while(0);var p,y=D(r,35,k,p),h=y;break r}var m=N(r);if(0==(0|m)){var h=0;break r}if(0==(0|b)){var S=D(r,38,m,0);if(Se[l>>2]=S,0==(0|S)){var h=0;break r}var n=0,o=k,l=S+8|0;continue r}var b=0,k=m}var h;return Oe=v,h}function Mr(r){for(var a=r;;){var a;if(0==(0|a)){var e=0;break}var i=Se[a>>2];if(1!=(0|i)&&2!=(0|i)){if(6==(0|i)||7==(0|i)||42==(0|i)){var e=1;break}var e=0;break}var a=Se[a+8>>2]}var e;return e}function Cr(r){var a=r>>2;Se[a+3]=0,Se[a+2]=0,Se[a+1]=0,Se[a]=0,Se[a+4]=0}function Rr(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=(Se[r+4>>2]-i|0)<(0|a);r:do if(v)var t=0;else{var f=i+a|0;Se[e]=f;var _=0==(4&Se[r+8>>2]|0);do if(!_){if(Ae[f]<<24>>24!=36)break;var s=a+(i+1)|0;Se[e]=s}while(0);var n=(0|a)>9;do if(n){var o=La(i,0|He.__str117,8);if(0!=(0|o))break;var l=Ae[i+8|0];if(l<<24>>24!=46&&l<<24>>24!=95&&l<<24>>24!=36)break;if(Ae[i+9|0]<<24>>24!=78)break;var b=r+48|0,k=22-a+Se[b>>2]|0;Se[b>>2]=k;var u=lr(r,0|He.__str169,21),t=u;break r}while(0);var c=lr(r,i,a),t=c}while(0);var t;return t}function Tr(r){var a,e,e=(r+48|0)>>2,i=Se[e],v=i+20|0;Se[e]=v;var a=(r+12|0)>>2,t=Se[a],f=t+1|0;Se[a]=f;var _=Ae[t];do if(_<<24>>24==84){var s=t+2|0;Se[a]=s;var n=Ae[f]<<24>>24;if(86==(0|n)){var o=i+15|0;Se[e]=o;var l=N(r),b=D(r,8,l,0),k=b}else if(84==(0|n)){var u=i+10|0;Se[e]=u;var c=N(r),h=D(r,9,c,0),k=h}else if(73==(0|n))var d=N(r),w=D(r,11,d,0),k=w;else if(83==(0|n))var p=N(r),E=D(r,12,p,0),k=E;else if(104==(0|n)){var A=Nr(r,104);if(0==(0|A)){var k=0;break}var g=O(r,0),y=D(r,14,g,0),k=y}else if(118==(0|n)){var m=Nr(r,118);if(0==(0|m)){var k=0;break}var S=O(r,0),M=D(r,15,S,0),k=M}else if(99==(0|n)){var C=Nr(r,0);if(0==(0|C)){var k=0;break}var R=Nr(r,0);if(0==(0|R)){var k=0;break}var T=O(r,0),I=D(r,16,T,0),k=I}else if(67==(0|n)){var P=N(r),L=sr(r);if((0|L)<0){var k=0;break}var F=Se[a],X=F+1|0;if(Se[a]=X,Ae[F]<<24>>24!=95){var k=0;break}var j=N(r),U=Se[e]+5|0;Se[e]=U;var x=D(r,10,j,P),k=x}else if(70==(0|n))var z=N(r),V=D(r,13,z,0),k=V;else{if(74!=(0|n)){var k=0;break}var B=N(r),H=D(r,17,B,0),k=H}}else if(_<<24>>24==71){var K=t+2|0;Se[a]=K;var Y=Ae[f]<<24>>24;if(86==(0|Y))var G=Ar(r),W=D(r,18,G,0),k=W;else if(82==(0|Y))var Z=Ar(r),Q=D(r,19,Z,0),k=Q;else{if(65!=(0|Y)){var k=0;break}var q=O(r,0),$=D(r,20,q,0),k=$}}else var k=0;while(0);var k;return k}function Or(r){for(var a,e=r,a=e>>2;;){var e;if(0==(0|e)){var i=0;break}var v=Se[a];if(4==(0|v)){var t=Se[a+1],f=Mr(t),i=0==(0|f)&1;break}if(25!=(0|v)&&26!=(0|v)&&27!=(0|v)){var i=0;break}var e=Se[a+1],a=e>>2}var i;return i}function Nr(r,a){var e;if(0==(0|a)){var i=r+12|0,v=Se[i>>2],t=v+1|0;Se[i>>2]=t;var f=Ae[v]<<24>>24}else var f=a;var f;do{if(104==(0|f)){var _=(sr(r),r+12|0);e=7;break}if(118==(0|f)){var s=(sr(r),r+12|0),n=Se[s>>2],o=n+1|0;if(Se[s>>2]=o,Ae[n]<<24>>24!=95){var l=0;e=8;break}var _=(sr(r),s);e=7;break}var l=0;e=8}while(0);if(7==e){var _,b=Se[_>>2],k=b+1|0;Se[_>>2]=k;var l=Ae[b]<<24>>24==95&1}var l;return l}function Ir(r){var a,e,i=r>>2,v=Oe;Oe+=56;var t,f=v,_=v+8,s=v+16,n=v+36,e=(0|r)>>2,o=Se[e],l=0==(8192&o|0);r:do{if(l){var a=(r+12|0)>>2,b=Se[a];if(Ae[b]<<24>>24!=63){var k=0;t=111;break}var u=b+1|0;Se[a]=u;var c=Ae[u];do if(c<<24>>24==63){if(Ae[b+2|0]<<24>>24==36){var h=b+3|0;if(Ae[h]<<24>>24!=63){var d=5;t=90;break}Se[a]=h;var w=6,p=h}else var w=0,p=u;var p,w,E=p+1|0;Se[a]=E;var A=Ae[E]<<24>>24;do if(48==(0|A)){var g=1;t=81}else{if(49==(0|A)){var g=2;t=81;break}if(50!=(0|A)){if(51==(0|A)){var y=0|He.__str2172,m=E;t=82;break}if(52==(0|A)){var y=0|He.__str3173,m=E;t=82;break}if(53==(0|A)){var y=0|He.__str4174,m=E;t=82;break}if(54==(0|A)){var y=0|He.__str5175,m=E;t=82;break}if(55==(0|A)){var y=0|He.__str6176,m=E;t=82;break}if(56==(0|A)){var y=0|He.__str7177,m=E;t=82;break}if(57==(0|A)){var y=0|He.__str8178,m=E;t=82;break}if(65==(0|A)){var y=0|He.__str9179,m=E;t=82;break}if(66==(0|A)){Se[a]=p+2|0;var S=0|He.__str10180,M=3;t=88;break}if(67==(0|A)){var y=0|He.__str11181,m=E;t=82;break}if(68==(0|A)){var y=0|He.__str12182,m=E;t=82;break}if(69==(0|A)){var y=0|He.__str13183,m=E;t=82;break}if(70==(0|A)){var y=0|He.__str14184,m=E;t=82;break}if(71==(0|A)){var y=0|He.__str15185,m=E;t=82;break}if(72==(0|A)){var y=0|He.__str16186,m=E;t=82;break}if(73==(0|A)){var y=0|He.__str17187,m=E;t=82;break}if(74==(0|A)){var y=0|He.__str18188,m=E;t=82;break}if(75==(0|A)){var y=0|He.__str19189,m=E;t=82;break}if(76==(0|A)){var y=0|He.__str20190,m=E;t=82;break}if(77==(0|A)){var y=0|He.__str21191,m=E;t=82;break}if(78==(0|A)){var y=0|He.__str22192,m=E;t=82;break}if(79==(0|A)){var y=0|He.__str23193,m=E;t=82;break}if(80==(0|A)){var y=0|He.__str24194,m=E;t=82;break}if(81==(0|A)){var y=0|He.__str25195,m=E;t=82;break}if(82==(0|A)){var y=0|He.__str26196,m=E;t=82;break}if(83==(0|A)){var y=0|He.__str27197,m=E;t=82;break}if(84==(0|A)){var y=0|He.__str28198,m=E;t=82;break}if(85==(0|A)){var y=0|He.__str29199,m=E;t=82;break}if(86==(0|A)){var y=0|He.__str30200,m=E;t=82;break}if(87==(0|A)){var y=0|He.__str31201,m=E;t=82;break}if(88==(0|A)){var y=0|He.__str32202,m=E;t=82;break}if(89==(0|A)){var y=0|He.__str33203,m=E;t=82;break}if(90==(0|A)){var y=0|He.__str34204,m=E;t=82;break}if(95==(0|A)){var C=p+2|0;Se[a]=C;var R=Ae[C]<<24>>24;if(48==(0|R)){var y=0|He.__str35205,m=C;t=82;break}if(49==(0|R)){var y=0|He.__str36206,m=C;t=82;break}if(50==(0|R)){var y=0|He.__str37207,m=C;t=82;break}if(51==(0|R)){var y=0|He.__str38208,m=C;t=82;break}if(52==(0|R)){var y=0|He.__str39209,m=C;t=82;break}if(53==(0|R)){var y=0|He.__str40210,m=C;t=82;break}if(54==(0|R)){var y=0|He.__str41211,m=C;t=82;break}if(55==(0|R)){var y=0|He.__str42212,m=C;t=82;break}if(56==(0|R)){var y=0|He.__str43213,m=C;t=82;break}if(57==(0|R)){var y=0|He.__str44214,m=C;t=82;break}if(65==(0|R)){var y=0|He.__str45215,m=C;t=82;break}if(66==(0|R)){var y=0|He.__str46216,m=C;t=82;break}if(67==(0|R)){Se[a]=p+3|0;var T=0|He.__str47217;t=84;break}if(68==(0|R)){var y=0|He.__str48218,m=C;t=82;break}if(69==(0|R)){var y=0|He.__str49219,m=C;t=82;break}if(70==(0|R)){var y=0|He.__str50220,m=C;t=82;break}if(71==(0|R)){var y=0|He.__str51221,m=C;t=82;break}if(72==(0|R)){var y=0|He.__str52222,m=C;t=82;break}if(73==(0|R)){var y=0|He.__str53223,m=C;t=82;break}if(74==(0|R)){var y=0|He.__str54224,m=C;t=82;break}if(75==(0|R)){var y=0|He.__str55225,m=C;t=82;break}if(76==(0|R)){var y=0|He.__str56226,m=C;t=82;break}if(77==(0|R)){var y=0|He.__str57227,m=C;t=82;break}if(78==(0|R)){var y=0|He.__str58228,m=C;t=82;break}if(79==(0|R)){var y=0|He.__str59229,m=C;t=82;break}if(82==(0|R)){var O=4|o;Se[e]=O;var N=p+3|0;Se[a]=N;var I=Ae[N]<<24>>24;if(48==(0|I)){Se[a]=p+4|0,Cr(s);var P=(Pr(r,_,s,0),Se[_>>2]),D=Se[_+4>>2],L=Dr(r,0|He.__str60230,(ne=Oe,Oe+=8,Se[ne>>2]=P,Se[ne+4>>2]=D,ne)),F=Se[a]-1|0;Se[a]=F;var y=L,m=F;t=82;break}if(49==(0|I)){Se[a]=p+4|0;var X=Lr(r),j=Lr(r),U=Lr(r),x=Lr(r),z=Se[a]-1|0;Se[a]=z;var V=Dr(r,0|He.__str61231,(ne=Oe,Oe+=16,Se[ne>>2]=X,Se[ne+4>>2]=j,Se[ne+8>>2]=U,Se[ne+12>>2]=x,ne)),y=V,m=Se[a];t=82;break}if(50==(0|I)){var y=0|He.__str62232,m=N;t=82;break}if(51==(0|I)){var y=0|He.__str63233,m=N;t=82;break}if(52==(0|I)){var y=0|He.__str64234,m=N;t=82;break}var y=0,m=N;t=82;break}if(83==(0|R)){var y=0|He.__str65235,m=C;t=82;break}if(84==(0|R)){var y=0|He.__str66236,m=C;t=82;break}if(85==(0|R)){var y=0|He.__str67237,m=C;t=82;break}if(86==(0|R)){var y=0|He.__str68238,m=C;t=82;break}if(88==(0|R)){var y=0|He.__str69239,m=C;t=82;break}if(89==(0|R)){var y=0|He.__str70240,m=C;t=82;break}var k=0;t=111;break r}var k=0;t=111;break r}var y=0|He.__str1171,m=E;t=82}while(0);do{if(81==t){var g;Se[a]=p+2|0;var B=g;t=83;break}if(82==t){var m,y;if(Se[a]=m+1|0,1==(0|w)||2==(0|w)){var B=w;t=83;break}if(4==(0|w)){var T=y;t=84;break}if(6!=(0|w)){var S=y,M=w;t=88;break}Cr(n);var H=Xr(r,n,0,60,62);if(0==(0|H))var K=y;else var Y=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=y,Se[ne+4>>2]=H,ne)),K=Y;var K;Se[i+6]=0;var S=K,M=w;t=88;break}}while(0);if(83==t){var B,G=r+40|0,W=Fr(r,0|He._symbol_demangle_dashed_null,-1,G);if(0==(0|W)){var k=0;t=111;break r}var d=B;t=90;break}if(84==t){var T;Se[i+4]=T;var Z=1,Q=T;t=109;break r}if(88==t){var M,S,q=r+40|0,$=Fr(r,S,-1,q);if(0==(0|$)){var k=0;t=111;break r}var d=M;t=90;break}}else{if(c<<24>>24==36){var J=b+2|0;Se[a]=J;var rr=jr(r);Se[i+4]=rr;var ar=0!=(0|rr)&1;t=107;break}var d=0;t=90}while(0);if(90==t){var d,er=Me[a],ir=Ae[er]<<24>>24;if(64==(0|ir))Se[a]=er+1|0;else if(36==(0|ir))t=93;else{var vr=zr(r);if(0==(0|vr)){var k=-1;t=111;break}}if(5==(0|d)){var tr=r+20|0,fr=Se[tr>>2]+1|0;Se[tr>>2]=fr}else if(1==(0|d)||2==(0|d)){if(Me[i+11]>>>0<2){var k=-1;t=111;break}var _r=r+56|0,sr=Me[_r>>2],nr=Se[sr+4>>2];if(1==(0|d))Se[sr>>2]=nr;else{var or=Dr(r,0|He.__str71241,(ne=Oe,Oe+=4,Se[ne>>2]=nr,ne)),lr=Se[_r>>2];Se[lr>>2]=or}var br=4|Se[e];Se[e]=br}else if(3==(0|d)){var kr=Se[e]&-5;Se[e]=kr}var ur=ge[Se[a]];if((ur-48&255&255)<10)var cr=Vr(r),ar=cr;else if((ur-65&255&255)<26)var hr=Br(r,3==(0|d)&1),ar=hr;else{if(ur<<24>>24!=36){var k=-1;t=111;break}var dr=Hr(r),ar=dr}}var ar;if(0==(0|ar)){var k=-1;t=111;break}var Z=ar,Q=Se[i+4];t=109;break}var wr=Pr(r,f,0,0);if(0==(0|wr)){var k=-1;t=111;break}var pr=Se[f>>2],Er=Se[f+4>>2],Ar=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=pr,Se[ne+4>>2]=Er,ne));Se[i+4]=Ar;var Z=1,Q=Ar;t=109;break}while(0);do if(109==t){var Q,Z;if(0!=(0|Q)){var k=Z;break}Xa(0|He.__str72242,1499,0|He.___func___symbol_demangle,0|He.__str73243);var k=Z}while(0);var k;return Oe=v,k}function Pr(r,a,e,i){var v,t,f,_=Oe;Oe+=24;var s=_,n=_+4,o=_+8,l=_+16,b=_+20;0==(0|a)&&Xa(0|He.__str72242,829,0|He.___func___demangle_datatype,0|He.__str121291);var f=(a+4|0)>>2;Se[f]=0;var t=(0|a)>>2;Se[t]=0;var v=(r+12|0)>>2,k=Me[v],u=k+1|0;Se[v]=u;var c=Ae[k],h=c<<24>>24;do if(95==(0|h)){Se[v]=k+2|0;var d=Ae[u],w=Zr(d);Se[t]=w}else if(67==(0|h)||68==(0|h)||69==(0|h)||70==(0|h)||71==(0|h)||72==(0|h)||73==(0|h)||74==(0|h)||75==(0|h)||77==(0|h)||78==(0|h)||79==(0|h)||88==(0|h)||90==(0|h)){var p=Qr(c);Se[t]=p}else if(84==(0|h)||85==(0|h)||86==(0|h)||89==(0|h)){var E=qr(r);if(0==(0|E))break;var A=0==(32768&Se[r>>2]|0);do if(A)if(84==(0|h))var g=0|He.__str122292;else if(85==(0|h))var g=0|He.__str123293;else if(86==(0|h))var g=0|He.__str124294;else{if(89!=(0|h)){var g=0;break}var g=0|He.__str125295}else var g=0;while(0);var g,y=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=g,Se[ne+4>>2]=E,ne));Se[t]=y}else if(63==(0|h))if(0==(0|i))$r(a,r,e,63,0);else{var m=Lr(r);if(0==(0|m))break;var S=Dr(r,0|He.__str126296,(ne=Oe,Oe+=4,Se[ne>>2]=m,ne));Se[t]=S}else if(65==(0|h)||66==(0|h))$r(a,r,e,c,i);else if(81==(0|h)||82==(0|h)||83==(0|h)){var M=0==(0|i)?80:c;$r(a,r,e,M,i)}else if(80==(0|h))if(((Ae[u]<<24>>24)-48|0)>>>0<10){var C=k+2|0;if(Se[v]=C,Ae[u]<<24>>24!=54)break;var R=r+44|0,T=Se[R>>2];Se[v]=k+3|0;var O=Ae[C],N=Se[r>>2]&-17,I=Ur(O,s,n,N);if(0==(0|I))break;var P=Pr(r,o,e,0);if(0==(0|P))break;var D=Xr(r,e,1,40,41);if(0==(0|D))break;Se[R>>2]=T;var L=Se[o>>2],F=Se[o+4>>2],X=Se[s>>2],j=Dr(r,0|He.__str127297,(ne=Oe,Oe+=12,Se[ne>>2]=L,Se[ne+4>>2]=F,Se[ne+8>>2]=X,ne));Se[t]=j;var U=Dr(r,0|He.__str128298,(ne=Oe,Oe+=4,Se[ne>>2]=D,ne));Se[f]=U}else $r(a,r,e,80,i);else if(87==(0|h)){if(Ae[u]<<24>>24!=52)break;Se[v]=k+2|0;var x=qr(r);if(0==(0|x))break;if(0==(32768&Se[r>>2]|0)){var z=Dr(r,0|He.__str129299,(ne=Oe,Oe+=4,Se[ne>>2]=x,ne));Se[t]=z}else Se[t]=x}else if(48==(0|h)||49==(0|h)||50==(0|h)||51==(0|h)||52==(0|h)||53==(0|h)||54==(0|h)||55==(0|h)||56==(0|h)||57==(0|h)){var V=h<<1,B=V-96|0,H=Yr(e,B);Se[t]=H;var K=V-95|0,Y=Yr(e,K);Se[f]=Y}else if(36==(0|h)){var G=k+2|0;Se[v]=G;var W=Ae[u]<<24>>24;if(48==(0|W)){var Z=Lr(r);Se[t]=Z}else if(68==(0|W)){var Q=Lr(r);if(0==(0|Q))break;var q=Dr(r,0|He.__str130300,(ne=Oe,Oe+=4,Se[ne>>2]=Q,ne));Se[t]=q}else if(70==(0|W)){var $=Lr(r);if(0==(0|$))break;var J=Lr(r);if(0==(0|J))break;var rr=Dr(r,0|He.__str131301,(ne=Oe,Oe+=8,Se[ne>>2]=$,Se[ne+4>>2]=J,ne));Se[t]=rr}else if(71==(0|W)){var ar=Lr(r);if(0==(0|ar))break;var er=Lr(r);if(0==(0|er))break;var ir=Lr(r);if(0==(0|ir))break;var vr=Dr(r,0|He.__str132302,(ne=Oe,Oe+=12,Se[ne>>2]=ar,Se[ne+4>>2]=er,Se[ne+8>>2]=ir,ne));Se[t]=vr}else if(81==(0|W)){var tr=Lr(r);if(0==(0|tr))break;var fr=Dr(r,0|He.__str133303,(ne=Oe,Oe+=4,Se[ne>>2]=tr,ne));Se[t]=fr}else{if(36!=(0|W))break;if(Ae[G]<<24>>24!=67)break;Se[v]=k+3|0;var _r=xr(r,l,b);if(0==(0|_r))break;var sr=Pr(r,a,e,i);if(0==(0|sr))break;var nr=Se[t],or=Se[l>>2],lr=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=nr,Se[ne+4>>2]=or,ne));Se[t]=lr}}while(0);var br=0!=(0|Se[t])&1;return Oe=_,br}function Dr(r,a){var e,i=Oe;Oe+=4;var v=i,e=v>>2,t=v;Se[t>>2]=arguments[Dr.length];var f=1,_=0;r:for(;;){var _,f,s=Ae[a+_|0];do{if(s<<24>>24==0)break r;if(s<<24>>24==37){var n=_+1|0,o=Ae[a+n|0]<<24>>24;if(115==(0|o)){var l=Se[e],b=l,k=l+4|0;Se[e]=k;var u=Se[b>>2];if(0==(0|u)){var c=f,h=n;break}var d=Ca(u),c=d+f|0,h=n;break}if(99==(0|o)){var w=Se[e]+4|0;Se[e]=w;var c=f+1|0,h=n;break}if(37==(0|o))var p=n;else var p=_;var p,c=f+1|0,h=p}else var c=f+1|0,h=_}while(0);var h,c,f=c,_=h+1|0}var E=Wr(r,f);if(0==(0|E))var A=0;else{Se[t>>2]=arguments[Dr.length];var g=E,y=0;r:for(;;){var y,g,m=Ae[a+y|0];do{if(m<<24>>24==0)break r;if(m<<24>>24==37){var S=y+1|0,M=Ae[a+S|0]<<24>>24;if(115==(0|M)){var C=Se[e],R=C,T=C+4|0;Se[e]=T;var O=Se[R>>2];if(0==(0|O)){var N=g,I=S;break}var P=Ca(O);Pa(g,O,P,1);var N=g+P|0,I=S;break}if(99==(0|M)){var D=Se[e],L=D,F=D+4|0;Se[e]=F,Ae[g]=255&Se[L>>2];var N=g+1|0,I=S;break}if(37==(0|M))var X=S;else var X=y;var X;Ae[g]=37;var N=g+1|0,I=X}else{Ae[g]=m;var N=g+1|0,I=y}}while(0);var I,N,g=N,y=I+1|0}Ae[g]=0;var A=E}var A;return Oe=i,A}function Lr(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e];if(i<<24>>24==63){var v=e+1|0;Se[a]=v;var t=1,f=v,_=Ae[v]}else var t=0,f=e,_=i;var _,f,t,s=(_-48&255&255)<9;do if(s){var n=Wr(r,3),o=0!=(0|t);o&&(Ae[n]=45);var l=Ae[Se[a]]+1&255;Ae[n+t|0]=l;var b=o?2:1;\\nAe[n+b|0]=0;var k=Se[a]+1|0;Se[a]=k;var u=n}else if(_<<24>>24==57){var c=Wr(r,4),h=0!=(0|t);h&&(Ae[c]=45),Ae[c+t|0]=49;var d=h?2:1;Ae[c+d|0]=48;var w=h?3:2;Ae[c+w|0]=0;var p=Se[a]+1|0;Se[a]=p;var u=c}else{if((_-65&255&255)>=16){var u=0;break}for(var E=0,A=f;;){var A,E,g=A+1|0;Se[a]=g;var y=(Ae[A]<<24>>24)+((E<<4)-65)|0,m=ge[g];if((m-65&255&255)>=16)break;var E=y,A=g}if(m<<24>>24!=64){var u=0;break}var S=Wr(r,17),M=0!=(0|t)?0|He.__str119289:0|ii,C=(za(S,0|He.__str118288,(ne=Oe,Oe+=8,Se[ne>>2]=M,Se[ne+4>>2]=y,ne)),Se[a]+1|0);Se[a]=C;var u=S}while(0);var u;return u}function Fr(r,a,e,i){var v,t,f,_;0==(0|a)&&Xa(0|He.__str72242,212,0|He.___func___str_array_push,0|He.__str115285),0==(0|i)&&Xa(0|He.__str72242,213,0|He.___func___str_array_push,0|He.__str116286);var f=(i+12|0)>>2,s=Me[f],n=0==(0|s);do{if(n){Se[f]=32;var o=Wr(r,128);if(0==(0|o)){var l=0;_=17;break}Se[i+16>>2]=o,_=11;break}if(Me[i+8>>2]>>>0<s>>>0){_=11;break}var b=s<<3,k=Wr(r,b);if(0==(0|k)){var l=0;_=17;break}var u=k,c=i+16|0,h=Se[c>>2],d=Se[f]<<2;Pa(k,h,d,1);var w=Se[f]<<1;Se[f]=w,Se[c>>2]=u,_=11;break}while(0);do if(11==_){if((0|e)==-1)var p=Ca(a),E=p;else var E=e;var E,A=ja(a),g=E+1|0,y=Wr(r,g),t=(i+4|0)>>2,v=(i+16|0)>>2,m=(Se[t]<<2)+Se[v]|0;Se[m>>2]=y;var S=Se[Se[v]+(Se[t]<<2)>>2];if(0==(0|S)){Xa(0|He.__str72242,233,0|He.___func___str_array_push,0|He.__str117287);var M=Se[Se[v]+(Se[t]<<2)>>2]}else var M=S;var M;Pa(M,A,E,1),va(A),Ae[Se[Se[v]+(Se[t]<<2)>>2]+g|0]=0;var C=Se[t]+1|0;Se[t]=C;var R=i+8|0;if(C>>>0<Me[R>>2]>>>0){var l=1;break}Se[R>>2]=C;var l=1}while(0);var l;return l}function Xr(r,a,e,i,v){var t,f,_=Oe;Oe+=28;var s,n=_,o=_+8;Cr(o);var f=(r+12|0)>>2,l=0==(0|e),t=(0|n)>>2,b=n+4|0;r:do if(l)for(;;){var k=Se[f],u=Ae[k];if(u<<24>>24==0){s=12;break r}if(u<<24>>24==64){var c=k;s=7;break r}var h=Pr(r,n,a,1);if(0==(0|h)){var d=0;s=25;break r}var w=Se[t],p=Se[b>>2],E=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=w,Se[ne+4>>2]=p,ne)),A=Fr(r,E,-1,o);if(0==(0|A)){var d=0;s=25;break r}var g=Se[t],y=Da(g,0|He.__str110280);if(0==(0|y)){s=12;break r}}else for(;;){var m=Se[f],S=Ae[m];if(S<<24>>24==0){s=12;break r}if(S<<24>>24==64){var c=m;s=7;break r}var M=Pr(r,n,a,1);if(0==(0|M)){var d=0;s=25;break r}var C=Se[t],R=Da(C,0|He.__str84254);if(0==(0|R)){s=13;break r}var T=Se[b>>2],O=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=C,Se[ne+4>>2]=T,ne)),N=Fr(r,O,-1,o);if(0==(0|N)){var d=0;s=25;break r}var I=Se[t],P=Da(I,0|He.__str110280);if(0==(0|P)){s=12;break r}}while(0);do if(7==s){var c;Se[f]=c+1|0,s=12;break}while(0);do if(12==s){if(l){s=14;break}s=13;break}while(0);do if(13==s){var D=Se[f],L=D+1|0;if(Se[f]=L,Ae[D]<<24>>24==90){s=14;break}var d=0;s=25;break}while(0);r:do if(14==s){var F=o+4|0,X=Me[F>>2];do{if(0!=(0|X)){if(1==(0|X)){var j=o+16|0,U=Se[Se[j>>2]>>2],x=Da(U,0|He.__str84254);if(0==(0|x)){s=17;break}var z=j;s=20;break}var V=o+16|0;if(X>>>0<=1){var z=V;s=20;break}for(var B=0,H=1;;){var H,B,K=Se[Se[V>>2]+(H<<2)>>2],Y=Dr(r,0|He.__str112282,(ne=Oe,Oe+=8,Se[ne>>2]=B,Se[ne+4>>2]=K,ne)),G=H+1|0;if(G>>>0>=Me[F>>2]>>>0)break;var B=Y,H=G}if(0==(0|Y)){var z=V;s=20;break}var W=Y,Z=Y;s=21;break}s=17}while(0);if(17==s){var Q=i<<24>>24,q=v<<24>>24,$=Dr(r,0|He.__str111281,(ne=Oe,Oe+=8,Se[ne>>2]=Q,Se[ne+4>>2]=q,ne)),d=$;break}if(20==s)var z,W=Se[Se[z>>2]>>2],Z=0;var Z,W,J=v<<24>>24,rr=v<<24>>24==62;do if(rr){var ar=Ca(W);if(Ae[W+(ar-1)|0]<<24>>24!=62)break;var er=i<<24>>24,ir=Se[Se[o+16>>2]>>2],vr=Dr(r,0|He.__str113283,(ne=Oe,Oe+=16,Se[ne>>2]=er,Se[ne+4>>2]=ir,Se[ne+8>>2]=Z,Se[ne+12>>2]=J,ne)),d=vr;break r}while(0);var tr=i<<24>>24,fr=Se[Se[o+16>>2]>>2],_r=Dr(r,0|He.__str114284,(ne=Oe,Oe+=16,Se[ne>>2]=tr,Se[ne+4>>2]=fr,Se[ne+8>>2]=Z,Se[ne+12>>2]=J,ne)),d=_r}while(0);var d;return Oe=_,d}function jr(r){var a,e=Oe;Oe+=20;var i=e,v=r+24|0,t=Se[v>>2],a=(r+20|0)>>2,f=Se[a],_=r+44|0,s=Se[_>>2];Se[a]=t;var n=Kr(r);if(0==(0|n))var o=0;else{Cr(i);var l=Xr(r,i,0,60,62);if(0==(0|l))var b=n;else var k=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=n,Se[ne+4>>2]=l,ne)),b=k;var b;Se[v>>2]=t,Se[a]=f,Se[_>>2]=s;var o=b}var o;return Oe=e,o}function Ur(r,a,e,i){var v,t=a>>2;Se[e>>2]=0,Se[t]=0;var f=0==(18&i|0);do{if(f){var _=r<<24>>24,s=1==((_-65)%2|0);if(0==(1&i|0)){if(s?Se[e>>2]=0|He.__str95265:v=14,65==(0|_)||66==(0|_)){Se[t]=0|He.__str96266,v=21;break}if(67==(0|_)||68==(0|_)){Se[t]=0|He.__str97267,v=21;break}if(69==(0|_)||70==(0|_)){Se[t]=0|He.__str98268,v=21;break}if(71==(0|_)||72==(0|_)){Se[t]=0|He.__str99269,v=21;break}if(73==(0|_)||74==(0|_)){Se[t]=0|He.__str100270,v=21;break}if(75==(0|_)||76==(0|_)){v=21;break}if(77==(0|_)){Se[t]=0|He.__str101271,v=21;break}var n=0;v=22;break}if(s?Se[e>>2]=0|He.__str88258:v=5,65==(0|_)||66==(0|_)){Se[t]=0|He.__str89259,v=21;break}if(67==(0|_)||68==(0|_)){Se[t]=0|He.__str90260,v=21;break}if(69==(0|_)||70==(0|_)){Se[t]=0|He.__str91261,v=21;break}if(71==(0|_)||72==(0|_)){Se[t]=0|He.__str92262,v=21;break}if(73==(0|_)||74==(0|_)){Se[t]=0|He.__str93263,v=21;break}if(75==(0|_)||76==(0|_)){v=21;break}if(77==(0|_)){Se[t]=0|He.__str94264,v=21;break}var n=0;v=22;break}v=21}while(0);if(21==v)var n=1;var n;return n}function xr(r,a,e){var i;Se[e>>2]=0;var i=(r+12|0)>>2,v=Se[i];if(Ae[v]<<24>>24==69){Se[e>>2]=0|He.__str102272;var t=Se[i]+1|0;Se[i]=t;var f=t}else var f=v;var f;Se[i]=f+1|0;var _=Ae[f]<<24>>24;if(65==(0|_)){Se[a>>2]=0;var s=1}else if(66==(0|_)){Se[a>>2]=0|He.__str103273;var s=1}else if(67==(0|_)){Se[a>>2]=0|He.__str104274;var s=1}else if(68==(0|_)){Se[a>>2]=0|He.__str105275;var s=1}else var s=0;var s;return s}function zr(r){var a,e,a=(r+12|0)>>2,i=r+40|0,v=r+20|0,t=0|i,f=r+44|0,_=r+48|0,s=r+52|0,n=r+56|0,o=r+20|0,l=r+24|0,b=r+16|0,k=0;r:for(;;){var k,u=Se[a],c=Ae[u];if(c<<24>>24==64){var h=u+1|0;Se[a]=h;var d=1;break}var w=c<<24>>24;do{if(0==(0|w)){var d=0;break r}if(48==(0|w)||49==(0|w)||50==(0|w)||51==(0|w)||52==(0|w)||53==(0|w)||54==(0|w)||55==(0|w)||56==(0|w)||57==(0|w)){var p=u+1|0;Se[a]=p;var E=(Ae[u]<<24>>24)-48|0,A=Yr(v,E),g=A;e=14;break}if(63==(0|w)){var y=u+1|0;Se[a]=y;var m=Ae[y]<<24>>24;if(36==(0|m)){var S=u+2|0;Se[a]=S;var M=jr(r);if(0==(0|M)){var d=0;break r}var C=Fr(r,M,-1,v);if(0==(0|C)){var d=0;break r}var R=M;e=15;break}if(63==(0|m)){var T=Se[t>>2],O=Se[f>>2],N=Se[_>>2],I=Se[s>>2],P=Se[n>>2],D=Se[o>>2],L=Se[l>>2];Cr(i);var F=Ir(r);if(0==(0|F))var X=k;else var j=Se[b>>2],U=Dr(r,0|He.__str109279,(ne=Oe,Oe+=4,Se[ne>>2]=j,ne)),X=U;var X;Se[o>>2]=D,Se[l>>2]=L,Se[t>>2]=T,Se[f>>2]=O,Se[_>>2]=N,Se[s>>2]=I,Se[n>>2]=P;var g=X;e=14;break}var x=Lr(r);if(0==(0|x)){var d=0;break r}var z=Dr(r,0|He.__str109279,(ne=Oe,Oe+=4,Se[ne>>2]=x,ne)),g=z;e=14;break}var V=Kr(r),g=V;e=14;break}while(0);if(14==e){var g;if(0==(0|g)){var d=0;break}var R=g}var R,B=Fr(r,R,-1,i);if(0==(0|B)){var d=0;break}var k=R}var d;return d}function Vr(r){var a,e,i,v=Oe;Oe+=36;var t,f=v,i=f>>2,_=v+4,s=v+8,e=s>>2,n=v+16;Se[i]=0;var o=0|r,l=Se[o>>2],b=0==(128&l|0),k=r+12|0;do if(b){var u=Ae[Se[k>>2]]<<24>>24;if(48==(0|u))var c=0|He.__str76246,h=k,a=h>>2;else if(49==(0|u))var c=0|He.__str77247,h=k,a=h>>2;else{if(50!=(0|u)){var c=0,h=k,a=h>>2;break}var c=0|He.__str78248,h=k,a=h>>2}}else var c=0,h=k,a=h>>2;while(0);var h,c,d=0==(512&l|0);do if(d){if((Ae[Se[a]]-48&255&255)>=3){var w=0;break}var w=0|He.__str79249}else var w=0;while(0);var w,p=Gr(r,0),E=Se[a],A=E+1|0;Se[a]=A;var g=Ae[E]<<24>>24;do{if(48==(0|g)||49==(0|g)||50==(0|g)||51==(0|g)||52==(0|g)||53==(0|g)){var y=r+44|0,m=Se[y>>2];Cr(n);var S=Pr(r,s,n,0);if(0==(0|S)){var M=0;t=28;break}var C=xr(r,f,_);if(0==(0|C)){var M=0;t=28;break}var R=Se[i],T=0==(0|R),O=Se[_>>2];do if(T)Se[i]=O;else{if(0==(0|O))break;var N=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=R,Se[ne+4>>2]=O,ne));Se[i]=N}while(0);Se[y>>2]=m,t=22;break}if(54==(0|g)||55==(0|g)){var I=s+4|0;Se[I>>2]=0,Se[e]=0;var P=xr(r,f,_);if(0==(0|P)){var M=0;t=28;break}if(Ae[Se[a]]<<24>>24==64){t=22;break}var D=qr(r);if(0==(0|D)){var M=0;t=28;break}var L=Dr(r,0|He.__str107277,(ne=Oe,Oe+=4,Se[ne>>2]=D,ne));Se[I>>2]=L,t=22;break}if(56==(0|g)||57==(0|g)){Se[e+1]=0,Se[e]=0,Se[i]=0,t=22;break}var M=0;t=28}while(0);if(22==t){var F=0==(4096&Se[o>>2]|0);do{if(F){var X=Se[e],j=Se[i];if(0==(0|j)){var U=X;t=26;break}var x=0!=(0|X)?0|He.__str87257:0,z=0|He.__str87257,V=j,B=x,H=X;t=27;break}Se[i]=0,Se[e+1]=0,Se[e]=0;var U=0;t=26;break}while(0);if(26==t)var U,K=0!=(0|U)?0|He.__str87257:0,z=K,V=0,B=0,H=U;var H,B,V,z,Y=Se[e+1],G=Dr(r,0|He.__str108278,(ne=Oe,Oe+=32,Se[ne>>2]=c,Se[ne+4>>2]=w,Se[ne+8>>2]=H,Se[ne+12>>2]=B,Se[ne+16>>2]=V,Se[ne+20>>2]=z,Se[ne+24>>2]=p,Se[ne+28>>2]=Y,ne));Se[r+16>>2]=G;var M=1}var M;return Oe=v,M}function Br(r,a){var e,i,v,t,f=Oe;Oe+=44;var _,s=f,t=s>>2,n=f+8,o=f+12,v=o>>2,l=f+16,b=f+20,k=f+40;Se[v]=0;var i=(r+12|0)>>2,u=Se[i],c=u+1|0;Se[i]=c;var h=ge[u],d=h<<24>>24,w=(h-65&255&255)>25;r:do if(w)var p=0;else{var e=(0|r)>>2,E=Me[e],A=0==(128&E|0),g=d-65|0;do if(A){var y=g/8|0;if(0==(0|y))var m=0|He.__str76246,S=g;else if(1==(0|y))var m=0|He.__str77247,S=g;else{if(2!=(0|y)){var m=0,S=g;break}var m=0|He.__str78248,S=g}}else var m=0,S=g;while(0);var S,m,M=0==(512&E|0)&h<<24>>24<89,C=(0|S)%8;do if(M)if(2==(0|C)||3==(0|C))var R=m,T=0|He.__str79249;else if(4==(0|C)||5==(0|C))var R=m,T=0|He.__str80250;else{if(6!=(0|C)&&7!=(0|C)){var R=m,T=0;break}var O=Dr(r,0|He.__str81251,(ne=Oe,Oe+=4,Se[ne>>2]=m,ne)),R=O,T=0|He.__str80250}else var R=m,T=0;while(0);var T,R,N=Gr(r,0),I=6==(0|C);do{if(!I){if(7==((d-56)%8|0)){_=14;break}var P=N;_=15;break}_=14}while(0);if(14==_)var D=Lr(r),L=Dr(r,0|He.__str82252,(ne=Oe,Oe+=8,Se[ne>>2]=N,Se[ne+4>>2]=D,ne)),P=L;var P,F=h<<24>>24>88;do if(F)var X=0;else{if((C-2|0)>>>0<2){var X=0;break}var j=xr(r,o,k);if(0==(0|j)){var p=0;break r}var U=Me[v],x=Se[k>>2];if(0==(0|U)&0==(0|x)){var X=0;break}var z=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=U,Se[ne+4>>2]=x,ne));Se[v]=z;var X=z}while(0);var X,V=Se[i],B=V+1|0;Se[i]=B;var H=Ae[V],K=Se[e],Y=Ur(H,n,l,K);if(0==(0|Y)){var p=0;break}Cr(b);var G=Se[i];if(Ae[G]<<24>>24==64){Se[t]=0|He.__str84254,Se[t+1]=0;var W=G+1|0;Se[i]=W}else{var Z=Pr(r,s,b,0);if(0==(0|Z)){var p=0;break}}if(0!=(4&Se[e]|0)&&(Se[t+1]=0,Se[t]=0),0==(0|a))var Q=P;else{var q=0|s,$=Se[q>>2],J=s+4|0,rr=Se[J>>2],ar=Dr(r,0|He.__str85255,(ne=Oe,Oe+=12,Se[ne>>2]=P,Se[ne+4>>2]=$,Se[ne+8>>2]=rr,ne));Se[J>>2]=0,Se[q>>2]=0;var Q=ar}var Q,er=r+44|0,ir=Se[er>>2],vr=Xr(r,b,1,40,41);if(0==(0|vr)){var p=0;break}if(0==(4096&Se[e]|0))var tr=vr,fr=X;else{Se[v]=0;var tr=0,fr=0}var fr,tr;Se[er>>2]=ir;var _r=Se[t],sr=Se[t+1];if(0==(0|_r))var nr=0;else var or=0!=(0|sr)?0:0|He.__str87257,nr=or;var nr,lr=Se[n>>2],br=0!=(0|lr)?0|He.__str87257:0,kr=Se[l>>2],ur=Dr(r,0|He.__str86256,(ne=Oe,Oe+=44,Se[ne>>2]=R,Se[ne+4>>2]=T,Se[ne+8>>2]=_r,Se[ne+12>>2]=nr,Se[ne+16>>2]=lr,Se[ne+20>>2]=br,Se[ne+24>>2]=kr,Se[ne+28>>2]=Q,Se[ne+32>>2]=tr,Se[ne+36>>2]=fr,Se[ne+40>>2]=sr,ne));Se[r+16>>2]=ur;var p=1}while(0);var p;return Oe=f,p}function Hr(r){var a,a=(r+12|0)>>2,e=Se[a];if(Ae[e]<<24>>24==36)var i=e;else{Xa(0|He.__str72242,1252,0|He.___func___handle_template,0|He.__str74244);var i=Se[a]}var i;Se[a]=i+1|0;var v=Kr(r),t=0==(0|v);do if(t)var f=0;else{var _=Xr(r,0,0,60,62);if(0==(0|_)){var f=0;break}var s=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=v,Se[ne+4>>2]=_,ne));Se[r+16>>2]=s;var f=1}while(0);var f;return f}function Kr(r){for(var a,a=(r+12|0)>>2,e=Me[a],i=e,v=Ae[e];;){var v,i;if(!((v-65&255&255)<26|(v-97&255&255)<26|(v-48&255&255)<10)&&v<<24>>24!=95&&v<<24>>24!=36){var t=0;break}var f=i+1|0;Se[a]=f;var _=ge[f];if(_<<24>>24==64){Se[a]=i+2|0;var s=f-e|0,n=r+20|0,o=Fr(r,e,s,n);if(0==(0|o)){var t=0;break}var l=Se[r+24>>2]-1-Se[n>>2]|0,b=Yr(n,l),t=b;break}var i=f,v=_}var t;return t}function Yr(r,a){0==(0|r)&&Xa(0|He.__str72242,263,0|He.___func___str_array_get_ref,0|He.__str75245);var e=Se[r>>2]+a|0;if(e>>>0<Me[r+8>>2]>>>0)var i=Se[Se[r+16>>2]+(e<<2)>>2];else var i=0;var i;return i}function Gr(r,a){var e,e=(r+44|0)>>2,i=Me[e];if(i>>>0>a>>>0){for(var v=r+56|0,t=a,f=0,_=Se[v>>2],s=i;;){var s,_,f,t,n=Me[_+(t<<2)>>2];if(0==(0|n)){Xa(0|He.__str72242,680,0|He.___func___get_class_string,0|He.__str106276);var o=Se[v>>2],l=o,b=Se[o+(t<<2)>>2],k=Se[e]}else var l=_,b=n,k=s;var k,b,l,u=Ca(b),c=u+(f+2)|0,h=t+1|0;if(h>>>0>=k>>>0)break;var t=h,f=c,_=l,s=k}var d=c-1|0}else var d=-1;var d,w=Wr(r,d);if(0==(0|w))var p=0;else{var E=Se[e]-1|0,A=(0|E)<(0|a);r:do if(A)var g=0;else for(var y=r+56|0,m=0,S=E;;){var S,m,M=Se[Se[y>>2]+(S<<2)>>2],C=Ca(M),R=w+m|0;Pa(R,M,C,1);var T=C+m|0;if((0|S)>(0|a)){var O=T+1|0;Ae[w+T|0]=58;var N=T+2|0;Ae[w+O|0]=58;var I=N}else var I=T;var I,P=S-1|0;if((0|P)<(0|a)){var g=I;break r}var m=I,S=P}while(0);var g;Ae[w+g|0]=0;var p=w}var p;return p}function Wr(r,a){var e,i=a>>>0>1020;do if(i){var v=Se[r+4>>2],t=a+4|0,f=pe[v](t);if(0==(0|f)){var _=0;break}var s=r+60|0,n=Se[s>>2],o=f;Se[o>>2]=n,Se[s>>2]=f,Se[r+64>>2]=0;var _=f+4|0}else{var e=(r+64|0)>>2,l=Me[e];if(l>>>0<a>>>0){var b=Se[r+4>>2],k=pe[b](1024);if(0==(0|k)){var _=0;break}var u=r+60|0,c=Se[u>>2],h=k;Se[h>>2]=c,Se[u>>2]=k,Se[e]=1020;var d=1020,w=k}else var d=l,w=Se[r+60>>2];var w,d;Se[e]=d-a|0;var _=w+(1024-d)|0}while(0);var _;return _}function Zr(r){var a=r<<24>>24;if(68==(0|a))var e=0|He.__str157327;else if(69==(0|a))var e=0|He.__str158328;else if(70==(0|a))var e=0|He.__str159329;else if(71==(0|a))var e=0|He.__str160330;else if(72==(0|a))var e=0|He.__str161331;else if(73==(0|a))var e=0|He.__str162332;else if(74==(0|a))var e=0|He.__str163333;else if(75==(0|a))var e=0|He.__str164334;else if(76==(0|a))var e=0|He.__str165335;else if(77==(0|a))var e=0|He.__str166336;else if(78==(0|a))var e=0|He.__str167337;else if(87==(0|a))var e=0|He.__str168338;else var e=0;var e;return e}function Qr(r){var a=r<<24>>24;if(67==(0|a))var e=0|He.__str145315;else if(68==(0|a))var e=0|He.__str146316;else if(69==(0|a))var e=0|He.__str147317;else if(70==(0|a))var e=0|He.__str148318;else if(71==(0|a))var e=0|He.__str149319;else if(72==(0|a))var e=0|He.__str150320;else if(73==(0|a))var e=0|He.__str151321;else if(74==(0|a))var e=0|He.__str152322;else if(75==(0|a))var e=0|He.__str153323;else if(77==(0|a))var e=0|He.__str154324;else if(78==(0|a))var e=0|He.__str155325;else if(79==(0|a))var e=0|He.__str156326;else if(88==(0|a))var e=0|He.__str84254;else if(90==(0|a))var e=0|He.__str110280;else var e=0;var e;return e}function qr(r){var a=r+44|0,e=Se[a>>2],i=zr(r);if(0==(0|i))var v=0;else var t=Gr(r,e),v=t;var v;return Se[a>>2]=e,v}function $r(r,a,e,i,v){var t,f,_,s=Oe;Oe+=16;var n,o=s,_=o>>2,l=s+4,b=s+8,f=b>>2;Se[l>>2]=0|ii;var t=(a+12|0)>>2,k=Se[t];if(Ae[k]<<24>>24==69){Se[l>>2]=0|He.__str134304;var u=k+1|0;Se[t]=u;var c=0|He.__str134304}else var c=0|ii;var c,h=i<<24>>24;do{if(65==(0|h)){var d=Dr(a,0|He.__str135305,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=d;n=10;break}if(66==(0|h)){var p=Dr(a,0|He.__str136306,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=p;n=10;break}if(80==(0|h)){var E=Dr(a,0|He.__str137307,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=E;n=10;break}if(81==(0|h)){var A=Dr(a,0|He.__str138308,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=A;n=10;break}if(82==(0|h)){var g=Dr(a,0|He.__str139309,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=g;n=10;break}if(83==(0|h)){var y=Dr(a,0|He.__str140310,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=y;n=10;break}if(63==(0|h)){var w=0|ii;n=10}else n=31}while(0);r:do if(10==n){var w,m=xr(a,o,l);if(0==(0|m))break;var S=a+44|0,M=Se[S>>2],C=Se[t],R=Ae[C]<<24>>24==89;a:do if(R){var T=C+1|0;Se[t]=T;var O=Lr(a);if(0==(0|O))break r;var N=Ha(O),I=Ae[w]<<24>>24==32,P=Se[_],D=0==(0|P);do{if(I){if(!D){n=17;break}var L=w+1|0;n=18;break}if(D){var L=w;n=18;break}n=17;break}while(0);if(17==n){var F=Dr(a,0|He.__str141311,(ne=Oe,Oe+=8,Se[ne>>2]=P,Se[ne+4>>2]=w,ne));Se[_]=0;var X=F}else if(18==n)var L,j=Dr(a,0|He.__str142312,(ne=Oe,Oe+=4,Se[ne>>2]=L,ne)),X=j;var X;if(0==(0|N)){var U=X;break}for(var x=X,z=N;;){var z,x,V=z-1|0,B=Lr(a),H=Dr(a,0|He.__str143313,(ne=Oe,Oe+=8,Se[ne>>2]=x,Se[ne+4>>2]=B,ne));if(0==(0|V)){var U=H;break a}var x=H,z=V}}else var U=w;while(0);var U,K=Pr(a,b,e,0);if(0==(0|K))break;var Y=Se[_];if(0==(0|Y)){var G=0==(0|v);do if(G){if(Ae[U]<<24>>24==0){var W=U;break}var Z=U+1|0;if(Ae[Z]<<24>>24!=42){var W=U;break}var Q=Se[f],q=Ca(Q);if(Ae[Q+(q-1)|0]<<24>>24!=42){var W=U;break}var W=Z}else var W=U;while(0);var W,$=Se[f],J=Dr(a,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=$,Se[ne+4>>2]=W,ne));Se[r>>2]=J}else{var rr=Se[f],ar=Dr(a,0|He.__str144314,(ne=Oe,Oe+=12,Se[ne>>2]=rr,Se[ne+4>>2]=Y,Se[ne+8>>2]=U,ne));Se[r>>2]=ar}var er=Se[f+1];Se[r+4>>2]=er,Se[S>>2]=M}while(0);Oe=s}function Jr(r){var a,e=r>>>0<245;do{if(e){if(r>>>0<11)var i=16;else var i=r+11&-8;var i,v=i>>>3,t=Me[vi>>2],f=t>>>(v>>>0);if(0!=(3&f|0)){var _=(1&f^1)+v|0,s=_<<1,n=(s<<2)+vi+40|0,o=(s+2<<2)+vi+40|0,l=Me[o>>2],b=l+8|0,k=Me[b>>2];if((0|n)==(0|k))Se[vi>>2]=t&(1<<_^-1);else{if(k>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[o>>2]=k,Se[k+12>>2]=n}var u=_<<3;Se[l+4>>2]=3|u;var c=l+(4|u)|0,h=1|Se[c>>2];Se[c>>2]=h;var d=b;a=38;break}if(i>>>0<=Me[vi+8>>2]>>>0){var w=i;a=30;break}if(0!=(0|f)){var p=2<<v,E=f<<v&(p|-p),A=(E&-E)-1|0,g=A>>>12&16,y=A>>>(g>>>0),m=y>>>5&8,S=y>>>(m>>>0),M=S>>>2&4,C=S>>>(M>>>0),R=C>>>1&2,T=C>>>(R>>>0),O=T>>>1&1,N=(m|g|M|R|O)+(T>>>(O>>>0))|0,I=N<<1,P=(I<<2)+vi+40|0,D=(I+2<<2)+vi+40|0,L=Me[D>>2],F=L+8|0,X=Me[F>>2];if((0|P)==(0|X))Se[vi>>2]=t&(1<<N^-1);else{if(X>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[D>>2]=X,Se[X+12>>2]=P}var j=N<<3,U=j-i|0;Se[L+4>>2]=3|i;var x=L,z=x+i|0;Se[x+(4|i)>>2]=1|U,Se[x+j>>2]=U;var V=Me[vi+8>>2];if(0!=(0|V)){var B=Se[vi+20>>2],H=V>>>2&1073741822,K=(H<<2)+vi+40|0,Y=Me[vi>>2],G=1<<(V>>>3),W=0==(Y&G|0);do{if(!W){var Z=(H+2<<2)+vi+40|0,Q=Me[Z>>2];if(Q>>>0>=Me[vi+16>>2]>>>0){var q=Q,$=Z;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Y|G;var q=K,$=(H+2<<2)+vi+40|0}while(0);var $,q;Se[$>>2]=B,Se[q+12>>2]=B;var J=B+8|0;Se[J>>2]=q;var rr=B+12|0;Se[rr>>2]=K}Se[vi+8>>2]=U,Se[vi+20>>2]=z;var d=F;a=38;break}if(0==(0|Se[vi+4>>2])){var w=i;a=30;break}var ar=ra(i);if(0==(0|ar)){var w=i;a=30;break}var d=ar;a=38;break}if(r>>>0>4294967231){var w=-1;a=30;break}var er=r+11&-8;if(0==(0|Se[vi+4>>2])){var w=er;a=30;break}var ir=ea(er);if(0==(0|ir)){var w=er;a=30;break}var d=ir;a=38;break}while(0);if(30==a){var w,vr=Me[vi+8>>2];if(w>>>0>vr>>>0){var tr=Me[vi+12>>2];if(w>>>0<tr>>>0){var fr=tr-w|0;Se[vi+12>>2]=fr;var _r=Me[vi+24>>2],sr=_r;Se[vi+24>>2]=sr+w|0,Se[w+(sr+4)>>2]=1|fr,Se[_r+4>>2]=3|w;var d=_r+8|0}else var nr=aa(w),d=nr}else{var or=vr-w|0,lr=Me[vi+20>>2];if(or>>>0>15){var br=lr;Se[vi+20>>2]=br+w|0,Se[vi+8>>2]=or,Se[w+(br+4)>>2]=1|or,Se[br+vr>>2]=or,Se[lr+4>>2]=3|w}else{Se[vi+8>>2]=0,Se[vi+20>>2]=0,Se[lr+4>>2]=3|vr;var kr=vr+(lr+4)|0,ur=1|Se[kr>>2];Se[kr>>2]=ur}var d=lr+8|0}}var d;return d}function ra(r){var a,e,i,v=Se[vi+4>>2],t=(v&-v)-1|0,f=t>>>12&16,_=t>>>(f>>>0),s=_>>>5&8,n=_>>>(s>>>0),o=n>>>2&4,l=n>>>(o>>>0),b=l>>>1&2,k=l>>>(b>>>0),u=k>>>1&1,c=Me[vi+((s|f|o|b|u)+(k>>>(u>>>0))<<2)+304>>2],h=c,e=h>>2,d=(Se[c+4>>2]&-8)-r|0;r:for(;;)for(var d,h,w=h;;){var w,p=Se[w+16>>2];if(0==(0|p)){var E=Se[w+20>>2];if(0==(0|E))break r;var A=E}else var A=p;var A,g=(Se[A+4>>2]&-8)-r|0;if(g>>>0<d>>>0){var h=A,e=h>>2,d=g;continue r}var w=A}var y=h,m=Me[vi+16>>2],S=y>>>0<m>>>0;do if(!S){var M=y+r|0,C=M;if(y>>>0>=M>>>0)break;var R=Me[e+6],T=Me[e+3],O=(0|T)==(0|h);do if(O){var N=h+20|0,I=Se[N>>2];if(0==(0|I)){var P=h+16|0,D=Se[P>>2];if(0==(0|D)){var L=0,a=L>>2;break}var F=P,X=D}else{var F=N,X=I;i=14}for(;;){var X,F,j=X+20|0,U=Se[j>>2];if(0==(0|U)){var x=X+16|0,z=Me[x>>2];if(0==(0|z))break;var F=x,X=z}else var F=j,X=U}if(F>>>0<m>>>0)throw Ka(),"Reached an unreachable!";Se[F>>2]=0;var L=X,a=L>>2}else{var V=Me[e+2];if(V>>>0<m>>>0)throw Ka(),"Reached an unreachable!";Se[V+12>>2]=T,Se[T+8>>2]=V;var L=T,a=L>>2}while(0);var L,B=0==(0|R);r:do if(!B){var H=h+28|0,K=(Se[H>>2]<<2)+vi+304|0,Y=(0|h)==(0|Se[K>>2]);do{if(Y){if(Se[K>>2]=L,0!=(0|L))break;var G=Se[vi+4>>2]&(1<<Se[H>>2]^-1);Se[vi+4>>2]=G;break r}if(R>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var W=R+16|0;if((0|Se[W>>2])==(0|h)?Se[W>>2]=L:Se[R+20>>2]=L,0==(0|L))break r}while(0);if(L>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=R;var Z=Me[e+4];if(0!=(0|Z)){if(Z>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=Z,Se[Z+24>>2]=L}var Q=Me[e+5];if(0==(0|Q))break;if(Q>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=Q,Se[Q+24>>2]=L}while(0);if(d>>>0<16){var q=d+r|0;Se[e+1]=3|q;var $=q+(y+4)|0,J=1|Se[$>>2];Se[$>>2]=J}else{Se[e+1]=3|r,Se[r+(y+4)>>2]=1|d,Se[y+d+r>>2]=d;var rr=Me[vi+8>>2];if(0!=(0|rr)){var ar=Me[vi+20>>2],er=rr>>>2&1073741822,ir=(er<<2)+vi+40|0,vr=Me[vi>>2],tr=1<<(rr>>>3),fr=0==(vr&tr|0);do{if(!fr){var _r=(er+2<<2)+vi+40|0,sr=Me[_r>>2];if(sr>>>0>=Me[vi+16>>2]>>>0){var nr=sr,or=_r;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=vr|tr;var nr=ir,or=(er+2<<2)+vi+40|0}while(0);var or,nr;Se[or>>2]=ar,Se[nr+12>>2]=ar,Se[ar+8>>2]=nr,Se[ar+12>>2]=ir}Se[vi+8>>2]=d,Se[vi+20>>2]=C}return h+8|0}while(0);throw Ka(),"Reached an unreachable!"}function aa(r){var a,e;0==(0|Se[ti>>2])&&ba();var i=0==(4&Se[vi+440>>2]|0);do{if(i){var v=Se[vi+24>>2],t=0==(0|v);do{if(!t){var f=v,_=ua(f);if(0==(0|_)){e=6;break}var s=Se[ti+8>>2],n=r+47-Se[vi+12>>2]+s&-s;if(n>>>0>=2147483647){e=14;break}var o=re(n);if((0|o)==(Se[_>>2]+Se[_+4>>2]|0)){var l=o,b=n,k=o;e=13;break}var u=o,c=n;e=15;break}e=6}while(0);do if(6==e){var h=re(0);if((0|h)==-1){e=14;break}var d=Se[ti+8>>2],w=d+(r+47)&-d,p=h,E=Se[ti+4>>2],A=E-1|0;if(0==(A&p|0))var g=w;else var g=w-p+(A+p&-E)|0;var g;if(g>>>0>=2147483647){e=14;break}var y=re(g);if((0|y)==(0|h)){var l=h,b=g,k=y;e=13;break}var u=y,c=g;e=15;break}while(0);if(13==e){var k,b,l;if((0|l)!=-1){var m=b,S=l;e=26;break}var u=k,c=b}else if(14==e){var M=4|Se[vi+440>>2];Se[vi+440>>2]=M,e=23;break}var c,u,C=0|-c,R=(0|u)!=-1&c>>>0<2147483647;do{if(R){if(c>>>0>=(r+48|0)>>>0){var T=c;e=21;break}var O=Se[ti+8>>2],N=r+47-c+O&-O;if(N>>>0>=2147483647){var T=c;e=21;break}var I=re(N);if((0|I)==-1){re(C);e=22;break}var T=N+c|0;e=21;break}var T=c;e=21}while(0);if(21==e){var T;if((0|u)!=-1){var m=T,S=u;e=26;break}}var P=4|Se[vi+440>>2];Se[vi+440>>2]=P,e=23;break}e=23}while(0);do if(23==e){var D=Se[ti+8>>2],L=D+(r+47)&-D;if(L>>>0>=2147483647){e=49;break}var F=re(L),X=re(0);if(!((0|X)!=-1&(0|F)!=-1&F>>>0<X>>>0)){e=49;break}var j=X-F|0;if(j>>>0<=(r+40|0)>>>0|(0|F)==-1){e=49;break}var m=j,S=F;e=26;break}while(0);r:do if(26==e){var S,m,U=Se[vi+432>>2]+m|0;Se[vi+432>>2]=U,U>>>0>Me[vi+436>>2]>>>0&&(Se[vi+436>>2]=U);var x=Me[vi+24>>2],z=0==(0|x);a:do if(z){var V=Me[vi+16>>2];0==(0|V)|S>>>0<V>>>0&&(Se[vi+16>>2]=S),Se[vi+444>>2]=S,Se[vi+448>>2]=m,Se[vi+456>>2]=0;var B=Se[ti>>2];Se[vi+36>>2]=B,Se[vi+32>>2]=-1,ha(),ca(S,m-40|0)}else{for(var H=vi+444|0,a=H>>2;;){var H;if(0==(0|H))break;var K=Me[a],Y=H+4|0,G=Me[Y>>2],W=K+G|0;if((0|S)==(0|W)){if(0!=(8&Se[a+3]|0))break;var Z=x;if(!(Z>>>0>=K>>>0&Z>>>0<W>>>0))break;Se[Y>>2]=G+m|0;var Q=Se[vi+24>>2],q=Se[vi+12>>2]+m|0;ca(Q,q);break a}var H=Se[a+2],a=H>>2}S>>>0<Me[vi+16>>2]>>>0&&(Se[vi+16>>2]=S);for(var $=S+m|0,J=vi+444|0;;){var J;if(0==(0|J))break;var rr=0|J,ar=Me[rr>>2];if((0|ar)==(0|$)){if(0!=(8&Se[J+12>>2]|0))break;Se[rr>>2]=S;var er=J+4|0,ir=Se[er>>2]+m|0;Se[er>>2]=ir;var vr=da(S,ar,r),tr=vr;e=50;break r}var J=Se[J+8>>2]}Ma(S,m)}while(0);var fr=Me[vi+12>>2];if(fr>>>0<=r>>>0){e=49;break}var _r=fr-r|0;Se[vi+12>>2]=_r;var sr=Me[vi+24>>2],nr=sr;Se[vi+24>>2]=nr+r|0,Se[r+(nr+4)>>2]=1|_r,Se[sr+4>>2]=3|r;var tr=sr+8|0;e=50;break}while(0);if(49==e){var or=Je();Se[or>>2]=12;var tr=0}var tr;return tr}function ea(r){var a,e,i,v,t,f,_=r>>2,s=0|-r,n=r>>>8,o=0==(0|n);do if(o)var l=0;else{if(r>>>0>16777215){var l=31;break}var b=(n+1048320|0)>>>16&8,k=n<<b,u=(k+520192|0)>>>16&4,c=k<<u,h=(c+245760|0)>>>16&2,d=14-(u|b|h)+(c<<h>>>15)|0,l=r>>>((d+7|0)>>>0)&1|d<<1}while(0);var l,w=Me[vi+(l<<2)+304>>2],p=0==(0|w);r:do if(p)var E=0,A=s,g=0;else{if(31==(0|l))var y=0;else var y=25-(l>>>1)|0;for(var y,m=0,S=s,M=w,t=M>>2,C=r<<y,R=0;;){var R,C,M,S,m,T=Se[t+1]&-8,O=T-r|0;if(O>>>0<S>>>0){if((0|T)==(0|r)){var E=M,A=O,g=M;break r}var N=M,I=O}else var N=m,I=S;var I,N,P=Me[t+5],D=Me[((C>>>31<<2)+16>>2)+t],L=0==(0|P)|(0|P)==(0|D)?R:P;if(0==(0|D)){var E=N,A=I,g=L;break r}var m=N,S=I,M=D,t=M>>2,C=C<<1,R=L}}while(0);var g,A,E,F=0==(0|g)&0==(0|E);do if(F){var X=2<<l,j=Se[vi+4>>2]&(X|-X);if(0==(0|j)){var U=g;break}var x=(j&-j)-1|0,z=x>>>12&16,V=x>>>(z>>>0),B=V>>>5&8,H=V>>>(B>>>0),K=H>>>2&4,Y=H>>>(K>>>0),G=Y>>>1&2,W=Y>>>(G>>>0),Z=W>>>1&1,U=Se[vi+((B|z|K|G|Z)+(W>>>(Z>>>0))<<2)+304>>2]}else var U=g;while(0);var U,Q=0==(0|U);r:do if(Q)var q=A,$=E,v=$>>2;else for(var J=U,i=J>>2,rr=A,ar=E;;){var ar,rr,J,er=(Se[i+1]&-8)-r|0,ir=er>>>0<rr>>>0,vr=ir?er:rr,tr=ir?J:ar,fr=Me[i+4];if(0==(0|fr)){var _r=Me[i+5];if(0==(0|_r)){var q=vr,$=tr,v=$>>2;break r}var J=_r,i=J>>2,rr=vr,ar=tr}else var J=fr,i=J>>2,rr=vr,ar=tr}while(0);var $,q,sr=0==(0|$);r:do{if(!sr){if(q>>>0>=(Se[vi+8>>2]-r|0)>>>0){var nr=0;break}var or=$,e=or>>2,lr=Me[vi+16>>2],br=or>>>0<lr>>>0;do if(!br){var kr=or+r|0,ur=kr;if(or>>>0>=kr>>>0)break;var cr=Me[v+6],hr=Me[v+3],dr=(0|hr)==(0|$);do if(dr){var wr=$+20|0,pr=Se[wr>>2];if(0==(0|pr)){var Er=$+16|0,Ar=Se[Er>>2];if(0==(0|Ar)){var gr=0,a=gr>>2;break}var yr=Er,mr=Ar}else{var yr=wr,mr=pr;f=28}for(;;){var mr,yr,Sr=mr+20|0,Mr=Se[Sr>>2];if(0==(0|Mr)){var Cr=mr+16|0,Rr=Me[Cr>>2];if(0==(0|Rr))break;var yr=Cr,mr=Rr}else var yr=Sr,mr=Mr}if(yr>>>0<lr>>>0)throw Ka(),"Reached an unreachable!";Se[yr>>2]=0;var gr=mr,a=gr>>2}else{var Tr=Me[v+2];if(Tr>>>0<lr>>>0)throw Ka(),"Reached an unreachable!";Se[Tr+12>>2]=hr,Se[hr+8>>2]=Tr;var gr=hr,a=gr>>2}while(0);var gr,Or=0==(0|cr);a:do if(!Or){var Nr=$+28|0,Ir=(Se[Nr>>2]<<2)+vi+304|0,Pr=(0|$)==(0|Se[Ir>>2]);do{if(Pr){if(Se[Ir>>2]=gr,0!=(0|gr))break;var Dr=Se[vi+4>>2]&(1<<Se[Nr>>2]^-1);Se[vi+4>>2]=Dr;break a}if(cr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var Lr=cr+16|0;if((0|Se[Lr>>2])==(0|$)?Se[Lr>>2]=gr:Se[cr+20>>2]=gr,0==(0|gr))break a}while(0);if(gr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=cr;var Fr=Me[v+4];if(0!=(0|Fr)){if(Fr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=Fr,Se[Fr+24>>2]=gr}var Xr=Me[v+5];if(0==(0|Xr))break;if(Xr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=Xr,Se[Xr+24>>2]=gr}while(0);var jr=q>>>0<16;a:do if(jr){var Ur=q+r|0;Se[v+1]=3|Ur;var xr=Ur+(or+4)|0,zr=1|Se[xr>>2];Se[xr>>2]=zr}else if(Se[v+1]=3|r,Se[_+(e+1)]=1|q,Se[(q>>2)+e+_]=q,q>>>0<256){var Vr=q>>>2&1073741822,Br=(Vr<<2)+vi+40|0,Hr=Me[vi>>2],Kr=1<<(q>>>3),Yr=0==(Hr&Kr|0);do{if(!Yr){var Gr=(Vr+2<<2)+vi+40|0,Wr=Me[Gr>>2];if(Wr>>>0>=Me[vi+16>>2]>>>0){var Zr=Wr,Qr=Gr;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Hr|Kr;var Zr=Br,Qr=(Vr+2<<2)+vi+40|0}while(0);var Qr,Zr;Se[Qr>>2]=ur,Se[Zr+12>>2]=ur,Se[_+(e+2)]=Zr,Se[_+(e+3)]=Br}else{var qr=kr,$r=q>>>8,Jr=0==(0|$r);do if(Jr)var ra=0;else{if(q>>>0>16777215){var ra=31;break}var aa=($r+1048320|0)>>>16&8,ea=$r<<aa,ia=(ea+520192|0)>>>16&4,va=ea<<ia,ta=(va+245760|0)>>>16&2,fa=14-(ia|aa|ta)+(va<<ta>>>15)|0,ra=q>>>((fa+7|0)>>>0)&1|fa<<1}while(0);var ra,_a=(ra<<2)+vi+304|0;Se[_+(e+7)]=ra;var sa=r+(or+16)|0;Se[_+(e+5)]=0,Se[sa>>2]=0;var na=Se[vi+4>>2],oa=1<<ra;if(0==(na&oa|0)){var la=na|oa;Se[vi+4>>2]=la,Se[_a>>2]=qr,Se[_+(e+6)]=_a,Se[_+(e+3)]=qr,Se[_+(e+2)]=qr}else{if(31==(0|ra))var ba=0;else var ba=25-(ra>>>1)|0;for(var ba,ka=q<<ba,ua=Se[_a>>2];;){var ua,ka;if((Se[ua+4>>2]&-8|0)==(0|q)){var ca=ua+8|0,ha=Me[ca>>2],da=Me[vi+16>>2],wa=ua>>>0<da>>>0;do if(!wa){if(ha>>>0<da>>>0)break;Se[ha+12>>2]=qr,Se[ca>>2]=qr,Se[_+(e+2)]=ha,Se[_+(e+3)]=ua,Se[_+(e+6)]=0;break a}while(0);throw Ka(),"Reached an unreachable!"}var pa=(ka>>>31<<2)+ua+16|0,Ea=Me[pa>>2];if(0==(0|Ea)){if(pa>>>0>=Me[vi+16>>2]>>>0){Se[pa>>2]=qr,Se[_+(e+6)]=ua,Se[_+(e+3)]=qr,Se[_+(e+2)]=qr;break a}throw Ka(),"Reached an unreachable!"}var ka=ka<<1,ua=Ea}}}while(0);var nr=$+8|0;break r}while(0);throw Ka(),"Reached an unreachable!"}var nr=0}while(0);var nr;return nr}function ia(r){var a;0==(0|Se[ti>>2])&&ba();var e=r>>>0<4294967232;r:do if(e){var i=Me[vi+24>>2];if(0==(0|i)){var v=0;break}var t=Me[vi+12>>2],f=t>>>0>(r+40|0)>>>0;do if(f){var _=Me[ti+8>>2],s=-40-r-1+t+_|0,n=Math.floor((s>>>0)/(_>>>0)),o=(n-1)*_|0,l=i,b=ua(l);if(0!=(8&Se[b+12>>2]|0))break;var k=re(0),a=(b+4|0)>>2;if((0|k)!=(Se[b>>2]+Se[a]|0))break;var u=o>>>0>2147483646?-2147483648-_|0:o,c=0|-u,h=re(c),d=re(0);if(!((0|h)!=-1&d>>>0<k>>>0))break;var w=k-d|0;if((0|k)==(0|d))break;var p=Se[a]-w|0;Se[a]=p;var E=Se[vi+432>>2]-w|0;Se[vi+432>>2]=E;var A=Se[vi+24>>2],g=Se[vi+12>>2]-w|0;ca(A,g);var v=(0|k)!=(0|d);break r}while(0);if(Me[vi+12>>2]>>>0<=Me[vi+28>>2]>>>0){var v=0;break}Se[vi+28>>2]=-1;var v=0}else var v=0;while(0);var v;return 1&v}function va(r){var a,e,i,v,t,f,_,s=r>>2,n=0==(0|r);r:do if(!n){var o=r-8|0,l=o,b=Me[vi+16>>2],k=o>>>0<b>>>0;a:do if(!k){var u=Me[r-4>>2],c=3&u;if(1==(0|c))break;var h=u&-8,f=h>>2,d=r+(h-8)|0,w=d,p=0==(1&u|0);e:do if(p){var E=Me[o>>2];if(0==(0|c))break r;var A=-8-E|0,t=A>>2,g=r+A|0,y=g,m=E+h|0;if(g>>>0<b>>>0)break a;if((0|y)==(0|Se[vi+20>>2])){var v=(r+(h-4)|0)>>2;if(3!=(3&Se[v]|0)){var S=y,i=S>>2,M=m;break}Se[vi+8>>2]=m;var C=Se[v]&-2;Se[v]=C,Se[t+(s+1)]=1|m,Se[d>>2]=m;break r}if(E>>>0<256){var R=Me[t+(s+2)],T=Me[t+(s+3)];if((0|R)!=(0|T)){var O=((E>>>2&1073741822)<<2)+vi+40|0,N=(0|R)!=(0|O)&R>>>0<b>>>0;do if(!N){if(!((0|T)==(0|O)|T>>>0>=b>>>0))break;Se[R+12>>2]=T,Se[T+8>>2]=R;var S=y,i=S>>2,M=m;break e}while(0);throw Ka(),"Reached an unreachable!"}var I=Se[vi>>2]&(1<<(E>>>3)^-1);Se[vi>>2]=I;var S=y,i=S>>2,M=m}else{var P=g,D=Me[t+(s+6)],L=Me[t+(s+3)],F=(0|L)==(0|P);do if(F){var X=A+(r+20)|0,j=Se[X>>2];if(0==(0|j)){var U=A+(r+16)|0,x=Se[U>>2];if(0==(0|x)){var z=0,e=z>>2;break}var V=U,B=x}else{var V=X,B=j;_=21}for(;;){var B,V,H=B+20|0,K=Se[H>>2];if(0==(0|K)){var Y=B+16|0,G=Me[Y>>2];if(0==(0|G))break;var V=Y,B=G}else var V=H,B=K}if(V>>>0<b>>>0)throw Ka(),"Reached an unreachable!";Se[V>>2]=0;var z=B,e=z>>2}else{var W=Me[t+(s+2)];if(W>>>0<b>>>0)throw Ka(),"Reached an unreachable!";Se[W+12>>2]=L,Se[L+8>>2]=W;var z=L,e=z>>2}while(0);var z;if(0==(0|D)){var S=y,i=S>>2,M=m;break}var Z=A+(r+28)|0,Q=(Se[Z>>2]<<2)+vi+304|0,q=(0|P)==(0|Se[Q>>2]);do{if(q){if(Se[Q>>2]=z,0!=(0|z))break;var $=Se[vi+4>>2]&(1<<Se[Z>>2]^-1);Se[vi+4>>2]=$;var S=y,i=S>>2,M=m;break e}if(D>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var J=D+16|0;if((0|Se[J>>2])==(0|P)?Se[J>>2]=z:Se[D+20>>2]=z,0==(0|z)){var S=y,i=S>>2,M=m;break e}}while(0);if(z>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+6]=D;var rr=Me[t+(s+4)];if(0!=(0|rr)){if(rr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+4]=rr,Se[rr+24>>2]=z}var ar=Me[t+(s+5)];if(0==(0|ar)){var S=y,i=S>>2,M=m;break}if(ar>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+5]=ar,Se[ar+24>>2]=z;var S=y,i=S>>2,M=m}}else var S=l,i=S>>2,M=h;while(0);var M,S,er=S;if(er>>>0>=d>>>0)break;var ir=r+(h-4)|0,vr=Me[ir>>2];if(0==(1&vr|0))break;var tr=0==(2&vr|0);do{if(tr){if((0|w)==(0|Se[vi+24>>2])){var fr=Se[vi+12>>2]+M|0;Se[vi+12>>2]=fr,Se[vi+24>>2]=S;var _r=1|fr;if(Se[i+1]=_r,(0|S)==(0|Se[vi+20>>2])&&(Se[vi+20>>2]=0,Se[vi+8>>2]=0),fr>>>0<=Me[vi+28>>2]>>>0)break r;ia(0);break r}if((0|w)==(0|Se[vi+20>>2])){var sr=Se[vi+8>>2]+M|0;Se[vi+8>>2]=sr,Se[vi+20>>2]=S;var nr=1|sr;Se[i+1]=nr;var or=er+sr|0;Se[or>>2]=sr;break r}var lr=(vr&-8)+M|0,br=vr>>>3,kr=vr>>>0<256;e:do if(kr){var ur=Me[s+f],cr=Me[((4|h)>>2)+s];if((0|ur)!=(0|cr)){var hr=((vr>>>2&1073741822)<<2)+vi+40|0,dr=(0|ur)==(0|hr);do{if(!dr){if(ur>>>0<Me[vi+16>>2]>>>0){_=66;break}_=63;break}_=63}while(0);do if(63==_){if((0|cr)!=(0|hr)&&cr>>>0<Me[vi+16>>2]>>>0)break;Se[ur+12>>2]=cr,Se[cr+8>>2]=ur;break e}while(0);throw Ka(),"Reached an unreachable!"}var wr=Se[vi>>2]&(1<<br^-1);Se[vi>>2]=wr}else{var pr=d,Er=Me[f+(s+4)],Ar=Me[((4|h)>>2)+s],gr=(0|Ar)==(0|pr);do if(gr){var yr=h+(r+12)|0,mr=Se[yr>>2];if(0==(0|mr)){var Sr=h+(r+8)|0,Mr=Se[Sr>>2];if(0==(0|Mr)){var Cr=0,a=Cr>>2;break}var Rr=Sr,Tr=Mr}else{var Rr=yr,Tr=mr;_=73}for(;;){var Tr,Rr,Or=Tr+20|0,Nr=Se[Or>>2];if(0==(0|Nr)){var Ir=Tr+16|0,Pr=Me[Ir>>2];if(0==(0|Pr))break;var Rr=Ir,Tr=Pr}else var Rr=Or,Tr=Nr}if(Rr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Rr>>2]=0;var Cr=Tr,a=Cr>>2}else{var Dr=Me[s+f];if(Dr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Dr+12>>2]=Ar,\\nSe[Ar+8>>2]=Dr;var Cr=Ar,a=Cr>>2}while(0);var Cr;if(0==(0|Er))break;var Lr=h+(r+20)|0,Fr=(Se[Lr>>2]<<2)+vi+304|0,Xr=(0|pr)==(0|Se[Fr>>2]);do{if(Xr){if(Se[Fr>>2]=Cr,0!=(0|Cr))break;var jr=Se[vi+4>>2]&(1<<Se[Lr>>2]^-1);Se[vi+4>>2]=jr;break e}if(Er>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var Ur=Er+16|0;if((0|Se[Ur>>2])==(0|pr)?Se[Ur>>2]=Cr:Se[Er+20>>2]=Cr,0==(0|Cr))break e}while(0);if(Cr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=Er;var xr=Me[f+(s+2)];if(0!=(0|xr)){if(xr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=xr,Se[xr+24>>2]=Cr}var zr=Me[f+(s+3)];if(0==(0|zr))break;if(zr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=zr,Se[zr+24>>2]=Cr}while(0);if(Se[i+1]=1|lr,Se[er+lr>>2]=lr,(0|S)!=(0|Se[vi+20>>2])){var Vr=lr;break}Se[vi+8>>2]=lr;break r}Se[ir>>2]=vr&-2,Se[i+1]=1|M,Se[er+M>>2]=M;var Vr=M}while(0);var Vr;if(Vr>>>0<256){var Br=Vr>>>2&1073741822,Hr=(Br<<2)+vi+40|0,Kr=Me[vi>>2],Yr=1<<(Vr>>>3),Gr=0==(Kr&Yr|0);do{if(!Gr){var Wr=(Br+2<<2)+vi+40|0,Zr=Me[Wr>>2];if(Zr>>>0>=Me[vi+16>>2]>>>0){var Qr=Zr,qr=Wr;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Kr|Yr;var Qr=Hr,qr=(Br+2<<2)+vi+40|0}while(0);var qr,Qr;Se[qr>>2]=S,Se[Qr+12>>2]=S,Se[i+2]=Qr,Se[i+3]=Hr;break r}var $r=S,Jr=Vr>>>8,ra=0==(0|Jr);do if(ra)var aa=0;else{if(Vr>>>0>16777215){var aa=31;break}var ea=(Jr+1048320|0)>>>16&8,va=Jr<<ea,fa=(va+520192|0)>>>16&4,_a=va<<fa,sa=(_a+245760|0)>>>16&2,na=14-(fa|ea|sa)+(_a<<sa>>>15)|0,aa=Vr>>>((na+7|0)>>>0)&1|na<<1}while(0);var aa,oa=(aa<<2)+vi+304|0;Se[i+7]=aa,Se[i+5]=0,Se[i+4]=0;var la=Se[vi+4>>2],ba=1<<aa,ka=0==(la&ba|0);e:do if(ka){var ua=la|ba;Se[vi+4>>2]=ua,Se[oa>>2]=$r,Se[i+6]=oa,Se[i+3]=S,Se[i+2]=S}else{if(31==(0|aa))var ca=0;else var ca=25-(aa>>>1)|0;for(var ca,ha=Vr<<ca,da=Se[oa>>2];;){var da,ha;if((Se[da+4>>2]&-8|0)==(0|Vr)){var wa=da+8|0,pa=Me[wa>>2],Ea=Me[vi+16>>2],Aa=da>>>0<Ea>>>0;do if(!Aa){if(pa>>>0<Ea>>>0)break;Se[pa+12>>2]=$r,Se[wa>>2]=$r,Se[i+2]=pa,Se[i+3]=da,Se[i+6]=0;break e}while(0);throw Ka(),"Reached an unreachable!"}var ga=(ha>>>31<<2)+da+16|0,ya=Me[ga>>2];if(0==(0|ya)){if(ga>>>0>=Me[vi+16>>2]>>>0){Se[ga>>2]=$r,Se[i+6]=da,Se[i+3]=S,Se[i+2]=S;break e}throw Ka(),"Reached an unreachable!"}var ha=ha<<1,da=ya}}while(0);var ma=Se[vi+32>>2]-1|0;if(Se[vi+32>>2]=ma,0!=(0|ma))break r;ta();break r}while(0);throw Ka(),"Reached an unreachable!"}while(0)}function ta(){var r=Se[vi+452>>2],a=0==(0|r);r:do if(!a)for(var e=r;;){var e,i=Se[e+8>>2];if(0==(0|i))break r;var e=i}while(0);Se[vi+32>>2]=-1}function fa(r,a){if(0==(0|r))var e=Jr(a),i=e;else var v=la(r,a),i=v;var i;return i}function _a(r,a){var e,i=r>>>0<9;do if(i)var v=Jr(a),t=v;else{var f=r>>>0<16?16:r,_=0==(f-1&f|0);r:do if(_)var s=f;else{if(f>>>0<=16){var s=16;break}for(var n=16;;){var n,o=n<<1;if(o>>>0>=f>>>0){var s=o;break r}var n=o}}while(0);var s;if((-64-s|0)>>>0>a>>>0){if(a>>>0<11)var l=16;else var l=a+11&-8;var l,b=Jr(l+(s+12)|0);if(0==(0|b)){var t=0;break}var k=b-8|0;if(0==((b>>>0)%(s>>>0)|0))var u=k,c=0;else{var h=b+(s-1)&-s,d=h-8|0,w=k;if((d-w|0)>>>0>15)var p=d;else var p=h+(s-8)|0;var p,E=p-w|0,e=(b-4|0)>>2,A=Se[e],g=(A&-8)-E|0;if(0==(3&A|0)){var y=Se[k>>2]+E|0;Se[p>>2]=y,Se[p+4>>2]=g;var u=p,c=0}else{var m=p+4|0,S=g|1&Se[m>>2]|2;Se[m>>2]=S;var M=g+(p+4)|0,C=1|Se[M>>2];Se[M>>2]=C;var R=E|1&Se[e]|2;Se[e]=R;var T=b+(E-4)|0,O=1|Se[T>>2];Se[T>>2]=O;var u=p,c=b}}var c,u,N=u+4|0,I=Me[N>>2],P=0==(3&I|0);do if(P)var D=0;else{var L=I&-8;if(L>>>0<=(l+16|0)>>>0){var D=0;break}var F=L-l|0;Se[N>>2]=l|1&I|2,Se[u+(4|l)>>2]=3|F;var X=u+(4|L)|0,j=1|Se[X>>2];Se[X>>2]=j;var D=l+(u+8)|0}while(0);var D;0!=(0|c)&&va(c),0!=(0|D)&&va(D);var t=u+8|0}else{var U=Je();Se[U>>2]=12;var t=0}}while(0);var t;return t}function sa(r,a,e,i){var v,t;0==(0|Se[ti>>2])&&ba();var f=0==(0|i),_=0==(0|r);do{if(f){if(_){var s=Jr(0),n=s;t=30;break}var o=r<<2;if(o>>>0<11){var l=0,b=16;t=9;break}var l=0,b=o+11&-8;t=9;break}if(_){var n=i;t=30;break}var l=i,b=0;t=9;break}while(0);do if(9==t){var b,l,k=0==(1&e|0);r:do if(k){if(_){var u=0,c=0;break}for(var h=0,d=0;;){var d,h,w=Me[a+(d<<2)>>2];if(w>>>0<11)var p=16;else var p=w+11&-8;var p,E=p+h|0,A=d+1|0;if((0|A)==(0|r)){var u=0,c=E;break r}var h=E,d=A}}else{var g=Me[a>>2];if(g>>>0<11)var y=16;else var y=g+11&-8;var y,u=y,c=y*r|0}while(0);var c,u,m=Jr(b-4+c|0);if(0==(0|m)){var n=0;break}var S=m-8|0,M=Se[m-4>>2]&-8;if(0!=(2&e|0)){var C=-4-b+M|0;Fa(m,0,C,1)}if(0==(0|l)){var R=m+c|0,T=M-c|3;Se[m+(c-4)>>2]=T;var O=R,v=O>>2,N=c}else var O=l,v=O>>2,N=M;var N,O;Se[v]=m;var I=r-1|0,P=0==(0|I);r:do if(P)var D=S,L=N;else if(0==(0|u))for(var F=S,X=N,j=0;;){var j,X,F,U=Me[a+(j<<2)>>2];if(U>>>0<11)var x=16;else var x=U+11&-8;var x,z=X-x|0;Se[F+4>>2]=3|x;var V=F+x|0,B=j+1|0;if(Se[(B<<2>>2)+v]=x+(F+8)|0,(0|B)==(0|I)){var D=V,L=z;break r}var F=V,X=z,j=B}else for(var H=3|u,K=u+8|0,Y=S,G=N,W=0;;){var W,G,Y,Z=G-u|0;Se[Y+4>>2]=H;var Q=Y+u|0,q=W+1|0;if(Se[(q<<2>>2)+v]=Y+K|0,(0|q)==(0|I)){var D=Q,L=Z;break r}var Y=Q,G=Z,W=q}while(0);var L,D;Se[D+4>>2]=3|L;var n=O}while(0);var n;return n}function na(r){var a=r>>2;0==(0|Se[ti>>2])&&ba();var e=Me[vi+24>>2];if(0==(0|e))var i=0,v=0,t=0,f=0,_=0,s=0,n=0;else{for(var o=Me[vi+12>>2],l=o+40|0,b=vi+444|0,k=l,u=l,c=1;;){var c,u,k,b,h=Me[b>>2],d=h+8|0;if(0==(7&d|0))var w=0;else var w=7&-d;for(var w,p=b+4|0,E=h+w|0,A=c,g=u,y=k;;){var y,g,A,E;if(E>>>0<h>>>0)break;if(E>>>0>=(h+Se[p>>2]|0)>>>0|(0|E)==(0|e))break;var m=Se[E+4>>2];if(7==(0|m))break;var S=m&-8,M=S+y|0;if(1==(3&m|0))var C=A+1|0,R=S+g|0;else var C=A,R=g;var R,C,E=E+S|0,A=C,g=R,y=M}var T=Me[b+8>>2];if(0==(0|T))break;var b=T,k=y,u=g,c=A}var O=Se[vi+432>>2],i=y,v=A,t=o,f=g,_=O-y|0,s=Se[vi+436>>2],n=O-g|0}var n,s,_,f,t,v,i;Se[a]=i,Se[a+1]=v,Se[a+2]=0,Se[a+3]=0,Se[a+4]=_,Se[a+5]=s,Se[a+6]=0,Se[a+7]=n,Se[a+8]=f,Se[a+9]=t}function oa(){0==(0|Se[ti>>2])&&ba();var r=Me[vi+24>>2],a=0==(0|r);r:do if(a)var e=0,i=0,v=0;else for(var t=Se[vi+436>>2],f=Me[vi+432>>2],_=vi+444|0,s=f-40-Se[vi+12>>2]|0;;){var s,_,n=Me[_>>2],o=n+8|0;if(0==(7&o|0))var l=0;else var l=7&-o;for(var l,b=_+4|0,k=n+l|0,u=s;;){var u,k;if(k>>>0<n>>>0)break;if(k>>>0>=(n+Se[b>>2]|0)>>>0|(0|k)==(0|r))break;var c=Se[k+4>>2];if(7==(0|c))break;var h=c&-8,d=1==(3&c|0)?h:0,w=u-d|0,k=k+h|0,u=w}var p=Me[_+8>>2];if(0==(0|p)){var e=t,i=f,v=u;break r}var _=p,s=u}while(0);var v,i,e,E=Se[Se[qe>>2]+12>>2],A=(Qa(E,0|He.__str339,(ne=Oe,Oe+=4,Se[ne>>2]=e,ne)),Se[Se[qe>>2]+12>>2]),g=(Qa(A,0|He.__str1340,(ne=Oe,Oe+=4,Se[ne>>2]=i,ne)),Se[Se[qe>>2]+12>>2]);Qa(g,0|He.__str2341,(ne=Oe,Oe+=4,Se[ne>>2]=v,ne))}function la(r,a){var e,i,v,t=a>>>0>4294967231;r:do{if(!t){var f=r-8|0,_=f,i=(r-4|0)>>2,s=Me[i],n=s&-8,o=n-8|0,l=r+o|0,b=f>>>0<Me[vi+16>>2]>>>0;do if(!b){var k=3&s;if(!(1!=(0|k)&(0|o)>-8))break;var e=(r+(n-4)|0)>>2;if(0==(1&Se[e]|0))break;if(a>>>0<11)var u=16;else var u=a+11&-8;var u,c=0==(0|k);do{if(c){var h=ka(_,u),d=0,w=h;v=17;break}if(n>>>0<u>>>0){if((0|l)!=(0|Se[vi+24>>2])){v=21;break}var p=Se[vi+12>>2]+n|0;if(p>>>0<=u>>>0){v=21;break}var E=p-u|0,A=r+(u-8)|0;Se[i]=u|1&s|2;var g=1|E;Se[r+(u-4)>>2]=g,Se[vi+24>>2]=A,Se[vi+12>>2]=E;var d=0,w=_;v=17;break}var y=n-u|0;if(y>>>0<=15){var d=0,w=_;v=17;break}Se[i]=u|1&s|2,Se[r+(u-4)>>2]=3|y;var m=1|Se[e];Se[e]=m;var d=r+u|0,w=_;v=17;break}while(0);do if(17==v){var w,d;if(0==(0|w))break;0!=(0|d)&&va(d);var S=w+8|0;break r}while(0);var M=Jr(a);if(0==(0|M)){var S=0;break r}var C=0==(3&Se[i]|0)?8:4,R=n-C|0,T=R>>>0<a>>>0?R:a;Pa(M,r,T,1),va(r);var S=M;break r}while(0);throw Ka(),"Reached an unreachable!"}var O=Je();Se[O>>2]=12;var S=0}while(0);var S;return S}function ba(){if(0==(0|Se[ti>>2])){var r=qa(8);if(0!=(r-1&r|0))throw Ka(),"Reached an unreachable!";Se[ti+8>>2]=r,Se[ti+4>>2]=r,Se[ti+12>>2]=-1,Se[ti+16>>2]=2097152,Se[ti+20>>2]=0,Se[vi+440>>2]=0;var a=$a(0);Se[ti>>2]=a&-16^1431655768}}function ka(r,a){var e=Se[r+4>>2]&-8,i=a>>>0<256;do if(i)var v=0;else{if(e>>>0>=(a+4|0)>>>0&&(e-a|0)>>>0<=Se[ti+8>>2]<<1>>>0){var v=r;break}var v=0}while(0);var v;return v}function ua(r){for(var a,e=vi+444|0,a=e>>2;;){var e,i=Me[a];if(i>>>0<=r>>>0&&(i+Se[a+1]|0)>>>0>r>>>0){var v=e;break}var t=Me[a+2];if(0==(0|t)){var v=0;break}var e=t,a=e>>2}var v;return v}function ca(r,a){var e=r,i=r+8|0;if(0==(7&i|0))var v=0;else var v=7&-i;var v,t=a-v|0;Se[vi+24>>2]=e+v|0,Se[vi+12>>2]=t,Se[v+(e+4)>>2]=1|t,Se[a+(e+4)>>2]=40;var f=Se[ti+16>>2];Se[vi+28>>2]=f}function ha(){for(var r=0;;){var r,a=r<<1,e=(a<<2)+vi+40|0;Se[vi+(a+3<<2)+40>>2]=e,Se[vi+(a+2<<2)+40>>2]=e;var i=r+1|0;if(32==(0|i))break;var r=i}}function da(r,a,e){var i,v,t,f,_=a>>2,s=r>>2,n=r+8|0;if(0==(7&n|0))var o=0;else var o=7&-n;var o,l=a+8|0;if(0==(7&l|0))var b=0,t=b>>2;else var b=7&-l,t=b>>2;var b,k=a+b|0,u=k,c=o+e|0,v=c>>2,h=r+c|0,d=h,w=k-(r+o)-e|0;Se[(o+4>>2)+s]=3|e;var p=(0|u)==(0|Se[vi+24>>2]);r:do if(p){var E=Se[vi+12>>2]+w|0;Se[vi+12>>2]=E,Se[vi+24>>2]=d;var A=1|E;Se[v+(s+1)]=A}else if((0|u)==(0|Se[vi+20>>2])){var g=Se[vi+8>>2]+w|0;Se[vi+8>>2]=g,Se[vi+20>>2]=d;var y=1|g;Se[v+(s+1)]=y;var m=r+g+c|0;Se[m>>2]=g}else{var S=Me[t+(_+1)];if(1==(3&S|0)){var M=S&-8,C=S>>>3,R=S>>>0<256;a:do if(R){var T=Me[((8|b)>>2)+_],O=Me[t+(_+3)];if((0|T)!=(0|O)){var N=((S>>>2&1073741822)<<2)+vi+40|0,I=(0|T)==(0|N);do{if(!I){if(T>>>0<Me[vi+16>>2]>>>0){f=18;break}f=15;break}f=15}while(0);do if(15==f){if((0|O)!=(0|N)&&O>>>0<Me[vi+16>>2]>>>0)break;Se[T+12>>2]=O,Se[O+8>>2]=T;break a}while(0);throw Ka(),"Reached an unreachable!"}var P=Se[vi>>2]&(1<<C^-1);Se[vi>>2]=P}else{var D=k,L=Me[((24|b)>>2)+_],F=Me[t+(_+3)],X=(0|F)==(0|D);do if(X){var j=16|b,U=j+(a+4)|0,x=Se[U>>2];if(0==(0|x)){var z=a+j|0,V=Se[z>>2];if(0==(0|V)){var B=0,i=B>>2;break}var H=z,K=V}else{var H=U,K=x;f=25}for(;;){var K,H,Y=K+20|0,G=Se[Y>>2];if(0==(0|G)){var W=K+16|0,Z=Me[W>>2];if(0==(0|Z))break;var H=W,K=Z}else var H=Y,K=G}if(H>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[H>>2]=0;var B=K,i=B>>2}else{var Q=Me[((8|b)>>2)+_];if(Q>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Q+12>>2]=F,Se[F+8>>2]=Q;var B=F,i=B>>2}while(0);var B;if(0==(0|L))break;var q=b+(a+28)|0,$=(Se[q>>2]<<2)+vi+304|0,J=(0|D)==(0|Se[$>>2]);do{if(J){if(Se[$>>2]=B,0!=(0|B))break;var rr=Se[vi+4>>2]&(1<<Se[q>>2]^-1);Se[vi+4>>2]=rr;break a}if(L>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var ar=L+16|0;if((0|Se[ar>>2])==(0|D)?Se[ar>>2]=B:Se[L+20>>2]=B,0==(0|B))break a}while(0);if(B>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+6]=L;var er=16|b,ir=Me[(er>>2)+_];if(0!=(0|ir)){if(ir>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+4]=ir,Se[ir+24>>2]=B}var vr=Me[(er+4>>2)+_];if(0==(0|vr))break;if(vr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+5]=vr,Se[vr+24>>2]=B}while(0);var tr=a+(M|b)|0,fr=M+w|0}else var tr=u,fr=w;var fr,tr,_r=tr+4|0,sr=Se[_r>>2]&-2;if(Se[_r>>2]=sr,Se[v+(s+1)]=1|fr,Se[(fr>>2)+s+v]=fr,fr>>>0<256){var nr=fr>>>2&1073741822,or=(nr<<2)+vi+40|0,lr=Me[vi>>2],br=1<<(fr>>>3),kr=0==(lr&br|0);do{if(!kr){var ur=(nr+2<<2)+vi+40|0,cr=Me[ur>>2];if(cr>>>0>=Me[vi+16>>2]>>>0){var hr=cr,dr=ur;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=lr|br;var hr=or,dr=(nr+2<<2)+vi+40|0}while(0);var dr,hr;Se[dr>>2]=d,Se[hr+12>>2]=d,Se[v+(s+2)]=hr,Se[v+(s+3)]=or}else{var wr=h,pr=fr>>>8,Er=0==(0|pr);do if(Er)var Ar=0;else{if(fr>>>0>16777215){var Ar=31;break}var gr=(pr+1048320|0)>>>16&8,yr=pr<<gr,mr=(yr+520192|0)>>>16&4,Sr=yr<<mr,Mr=(Sr+245760|0)>>>16&2,Cr=14-(mr|gr|Mr)+(Sr<<Mr>>>15)|0,Ar=fr>>>((Cr+7|0)>>>0)&1|Cr<<1}while(0);var Ar,Rr=(Ar<<2)+vi+304|0;Se[v+(s+7)]=Ar;var Tr=c+(r+16)|0;Se[v+(s+5)]=0,Se[Tr>>2]=0;var Or=Se[vi+4>>2],Nr=1<<Ar;if(0==(Or&Nr|0)){var Ir=Or|Nr;Se[vi+4>>2]=Ir,Se[Rr>>2]=wr,Se[v+(s+6)]=Rr,Se[v+(s+3)]=wr,Se[v+(s+2)]=wr}else{if(31==(0|Ar))var Pr=0;else var Pr=25-(Ar>>>1)|0;for(var Pr,Dr=fr<<Pr,Lr=Se[Rr>>2];;){var Lr,Dr;if((Se[Lr+4>>2]&-8|0)==(0|fr)){var Fr=Lr+8|0,Xr=Me[Fr>>2],jr=Me[vi+16>>2],Ur=Lr>>>0<jr>>>0;do if(!Ur){if(Xr>>>0<jr>>>0)break;Se[Xr+12>>2]=wr,Se[Fr>>2]=wr,Se[v+(s+2)]=Xr,Se[v+(s+3)]=Lr,Se[v+(s+6)]=0;break r}while(0);throw Ka(),"Reached an unreachable!"}var xr=(Dr>>>31<<2)+Lr+16|0,zr=Me[xr>>2];if(0==(0|zr)){if(xr>>>0>=Me[vi+16>>2]>>>0){Se[xr>>2]=wr,Se[v+(s+6)]=Lr,Se[v+(s+3)]=wr,Se[v+(s+2)]=wr;break r}throw Ka(),"Reached an unreachable!"}var Dr=Dr<<1,Lr=zr}}}}while(0);return r+(8|o)|0}function wa(r){return 0|He.__str3342}function pa(r){return 0|He.__str14343}function Ea(r){Se[r>>2]=si+8|0}function Aa(r){0!=(0|r)&&va(r)}function ga(r){ya(r);var a=r;Aa(a)}function ya(r){var a=0|r;Ye(a)}function ma(r){var a=0|r;Ea(a),Se[r>>2]=ni+8|0}function Sa(r){var a=0|r;ya(a);var e=r;Aa(e)}function Ma(r,a){var e,i,v=Me[vi+24>>2],i=v>>2,t=v,f=ua(t),_=Se[f>>2],s=Se[f+4>>2],n=_+s|0,o=_+(s-39)|0;if(0==(7&o|0))var l=0;else var l=7&-o;var l,b=_+(s-47)+l|0,k=b>>>0<(v+16|0)>>>0?t:b,u=k+8|0,e=u>>2,c=u,h=r,d=a-40|0;ca(h,d);var w=k+4|0;Se[w>>2]=27,Se[e]=Se[vi+444>>2],Se[e+1]=Se[vi+448>>2],Se[e+2]=Se[vi+452>>2],Se[e+3]=Se[vi+456>>2],Se[vi+444>>2]=r,Se[vi+448>>2]=a,Se[vi+456>>2]=0,Se[vi+452>>2]=c;var p=k+28|0;Se[p>>2]=7;var E=(k+32|0)>>>0<n>>>0;r:do if(E)for(var A=p;;){var A,g=A+4|0;if(Se[g>>2]=7,(A+8|0)>>>0>=n>>>0)break r;var A=g}while(0);var y=(0|k)==(0|t);r:do if(!y){var m=k-v|0,S=t+m|0,M=m+(t+4)|0,C=Se[M>>2]&-2;Se[M>>2]=C;var R=1|m;Se[i+1]=R;var T=S;if(Se[T>>2]=m,m>>>0<256){var O=m>>>2&1073741822,N=(O<<2)+vi+40|0,I=Me[vi>>2],P=1<<(m>>>3),D=0==(I&P|0);do{if(!D){var L=(O+2<<2)+vi+40|0,F=Me[L>>2];if(F>>>0>=Me[vi+16>>2]>>>0){var X=F,j=L;break}throw Ka(),"Reached an unreachable!"}var U=I|P;Se[vi>>2]=U;var X=N,j=(O+2<<2)+vi+40|0}while(0);var j,X;Se[j>>2]=v,Se[X+12>>2]=v,Se[i+2]=X,Se[i+3]=N}else{var x=v,z=m>>>8,V=0==(0|z);do if(V)var B=0;else{if(m>>>0>16777215){var B=31;break}var H=(z+1048320|0)>>>16&8,K=z<<H,Y=(K+520192|0)>>>16&4,G=K<<Y,W=(G+245760|0)>>>16&2,Z=14-(Y|H|W)+(G<<W>>>15)|0,B=m>>>((Z+7|0)>>>0)&1|Z<<1}while(0);var B,Q=(B<<2)+vi+304|0;Se[i+7]=B,Se[i+5]=0,Se[i+4]=0;var q=Se[vi+4>>2],$=1<<B;if(0==(q&$|0)){var J=q|$;Se[vi+4>>2]=J,Se[Q>>2]=x,Se[i+6]=Q,Se[i+3]=v,Se[i+2]=v}else{if(31==(0|B))var rr=0;else var rr=25-(B>>>1)|0;for(var rr,ar=m<<rr,er=Se[Q>>2];;){var er,ar;if((Se[er+4>>2]&-8|0)==(0|m)){var ir=er+8|0,vr=Me[ir>>2],tr=Me[vi+16>>2],fr=er>>>0<tr>>>0;do if(!fr){if(vr>>>0<tr>>>0)break;Se[vr+12>>2]=x,Se[ir>>2]=x,Se[i+2]=vr,Se[i+3]=er,Se[i+6]=0;break r}while(0);throw Ka(),"Reached an unreachable!"}var _r=(ar>>>31<<2)+er+16|0,sr=Me[_r>>2];if(0==(0|sr)){if(_r>>>0>=Me[vi+16>>2]>>>0){Se[_r>>2]=x,Se[i+6]=er,Se[i+3]=v,Se[i+2]=v;break r}throw Ka(),"Reached an unreachable!"}var ar=ar<<1,er=sr}}}}while(0)}function Ca(r){return d(r)}function Ra(r,a){var e=0;do Ae[r+e]=Ae[a+e],e++;while(0!=Ae[a+e-1]);return r}function Ta(){var r=Ta;return r.LLVM_SAVEDSTACKS||(r.LLVM_SAVEDSTACKS=[]),r.LLVM_SAVEDSTACKS.push(le.stackSave()),r.LLVM_SAVEDSTACKS.length-1}function Oa(r){var a=Ta,e=a.LLVM_SAVEDSTACKS[r];a.LLVM_SAVEDSTACKS.splice(r,1),le.stackRestore(e)}function Na(r,a,e){for(var i=0;i<e;){var v=Ae[r+i],t=Ae[a+i];if(v==t&&0==v)return 0;if(0==v)return-1;if(0==t)return 1;if(v!=t)return v>t?1:-1;i++}return 0}function Ia(r,a){var e=Ca(r),i=0;do Ae[r+e+i]=Ae[a+i],i++;while(0!=Ae[a+i-1]);return r}function Pa(r,a,e,i){if(e>=20&&a%2==r%2)if(a%4==r%4){for(var v=a+e;a%4;)Ae[r++]=Ae[a++];for(var t=a>>2,f=r>>2,_=v>>2;t<_;)Se[f++]=Se[t++];for(a=t<<2,r=f<<2;a<v;)Ae[r++]=Ae[a++]}else{var v=a+e;a%2&&(Ae[r++]=Ae[a++]);for(var s=a>>1,n=r>>1,o=v>>1;s<o;)ye[n++]=ye[s++];a=s<<1,r=n<<1,a<v&&(Ae[r++]=Ae[a++])}else for(;e--;)Ae[r++]=Ae[a++]}function Da(r,a){return Na(r,a,Le)}function La(r,a,e){for(var i=0;i<e;i++){var v=Ae[r+i],t=Ae[a+i];if(v!=t)return v>t?1:-1}return 0}function Fa(r,a,e,i){if(e>=20){for(var v=r+e;r%4;)Ae[r++]=a;a<0&&(a+=256);for(var t=r>>2,f=v>>2,_=a|a<<8|a<<16|a<<24;t<f;)Se[t++]=_;for(r=t<<2;r<v;)Ae[r++]=a}else for(;e--;)Ae[r++]=a}function Xa(r,a,e,i){throw"Assertion failed: "+s(i)+", at: "+[s(r),a,s(e)]}function ja(r){var a=d(r),e=Jr(a+1);return Pa(e,r,a,1),Ae[e+a]=0,e}function Ua(r,a){function e(r){var e;return"double"===r?(xe[0]=Se[a+_>>2],xe[1]=Se[a+_+4>>2],e=ze[0]):"i64"==r?e=[Se[a+_>>2],Se[a+_+4>>2]]:(r="i32",e=Se[a+_>>2]),_+=le.getNativeFieldSize(r),e}for(var i,v,t,f=r,_=0,s=[];;){var n=f;if(i=Ae[f],0===i)break;if(v=Ae[f+1],i=="%".charCodeAt(0)){var o=!1,l=!1,b=!1,k=!1;r:for(;;){switch(v){case"+".charCodeAt(0):o=!0;break;case"-".charCodeAt(0):l=!0;break;case"#".charCodeAt(0):b=!0;break;case"0".charCodeAt(0):if(k)break r;k=!0;break;default:break r}f++,v=Ae[f+1]}var u=0;if(v=="*".charCodeAt(0))u=e("i32"),f++,v=Ae[f+1];else for(;v>="0".charCodeAt(0)&&v<="9".charCodeAt(0);)u=10*u+(v-"0".charCodeAt(0)),f++,v=Ae[f+1];var c=!1;if(v==".".charCodeAt(0)){var h=0;if(c=!0,f++,v=Ae[f+1],v=="*".charCodeAt(0))h=e("i32"),f++;else for(;;){var d=Ae[f+1];if(d<"0".charCodeAt(0)||d>"9".charCodeAt(0))break;h=10*h+(d-"0".charCodeAt(0)),f++}v=Ae[f+1]}else var h=6;var E;switch(String.fromCharCode(v)){case"h":var A=Ae[f+2];A=="h".charCodeAt(0)?(f++,E=1):E=2;break;case"l":var A=Ae[f+2];A=="l".charCodeAt(0)?(f++,E=8):E=4;break;case"L":case"q":case"j":E=8;break;case"z":case"t":case"I":E=4;break;default:E=null}if(E&&f++,v=Ae[f+1],["d","i","u","o","x","X","p"].indexOf(String.fromCharCode(v))!=-1){var m=v=="d".charCodeAt(0)||v=="i".charCodeAt(0);E=E||4;var t=e("i"+8*E);if(8==E&&(t=le.makeBigInt(t[0],t[1],v=="u".charCodeAt(0))),E<=4){var S=Math.pow(256,E)-1;t=(m?y:g)(t&S,8*E)}var M,C=Math.abs(t),R="";if(v=="d".charCodeAt(0)||v=="i".charCodeAt(0))M=y(t,8*E,1).toString(10);else if(v=="u".charCodeAt(0))M=g(t,8*E,1).toString(10),t=Math.abs(t);else if(v=="o".charCodeAt(0))M=(b?"0":"")+C.toString(8);else if(v=="x".charCodeAt(0)||v=="X".charCodeAt(0)){if(R=b?"0x":"",t<0){t=-t,M=(C-1).toString(16);for(var T=[],O=0;O<M.length;O++)T.push((15-parseInt(M[O],16)).toString(16));for(M=T.join("");M.length<2*E;)M="f"+M}else M=C.toString(16);v=="X".charCodeAt(0)&&(R=R.toUpperCase(),M=M.toUpperCase())}else v=="p".charCodeAt(0)&&(0===C?M="(nil)":(R="0x",M=C.toString(16)));if(c)for(;M.length<h;)M="0"+M;for(o&&(R=t<0?"-"+R:"+"+R);R.length+M.length<u;)l?M+=" ":k?M="0"+M:R=" "+R;M=R+M,M.split("").forEach(function(r){s.push(r.charCodeAt(0))})}else if(["f","F","e","E","g","G"].indexOf(String.fromCharCode(v))!=-1){var M,t=e("double");if(isNaN(t))M="nan",k=!1;else if(isFinite(t)){var N=!1,I=Math.min(h,20);if(v=="g".charCodeAt(0)||v=="G".charCodeAt(0)){N=!0,h=h||1;var P=parseInt(t.toExponential(I).split("e")[1],10);h>P&&P>=-4?(v=(v=="g".charCodeAt(0)?"f":"F").charCodeAt(0),h-=P+1):(v=(v=="g".charCodeAt(0)?"e":"E").charCodeAt(0),h--),I=Math.min(h,20)}v=="e".charCodeAt(0)||v=="E".charCodeAt(0)?(M=t.toExponential(I),/[eE][-+]\\\\d$/.test(M)&&(M=M.slice(0,-1)+"0"+M.slice(-1))):v!="f".charCodeAt(0)&&v!="F".charCodeAt(0)||(M=t.toFixed(I));var D=M.split("e");if(N&&!b)for(;D[0].length>1&&D[0].indexOf(".")!=-1&&("0"==D[0].slice(-1)||"."==D[0].slice(-1));)D[0]=D[0].slice(0,-1);else for(b&&M.indexOf(".")==-1&&(D[0]+=".");h>I++;)D[0]+="0";M=D[0]+(D.length>1?"e"+D[1]:""),v=="E".charCodeAt(0)&&(M=M.toUpperCase()),o&&t>=0&&(M="+"+M)}else M=(t<0?"-":"")+"inf",k=!1;for(;M.length<u;)l?M+=" ":M=!k||"-"!=M[0]&&"+"!=M[0]?(k?"0":" ")+M:M[0]+"0"+M.slice(1);v<"a".charCodeAt(0)&&(M=M.toUpperCase()),M.split("").forEach(function(r){s.push(r.charCodeAt(0))})}else if(v=="s".charCodeAt(0)){var L,F=e("i8*");if(F?(L=w(F),c&&L.length>h&&(L=L.slice(0,h))):L=p("(null)",!0),!l)for(;L.length<u--;)s.push(" ".charCodeAt(0));if(s=s.concat(L),l)for(;L.length<u--;)s.push(" ".charCodeAt(0))}else if(v=="c".charCodeAt(0)){for(l&&s.push(e("i8"));--u>0;)s.push(" ".charCodeAt(0));l||s.push(e("i8"))}else if(v=="n".charCodeAt(0)){var X=e("i32*");Se[X>>2]=s.length}else if(v=="%".charCodeAt(0))s.push(i);else for(var O=n;O<f+2;O++)s.push(Ae[O]);f+=2}else s.push(i),f+=1}return s}function xa(r,a,e,i){for(var v=Ua(e,i),t=void 0===a?v.length:Math.min(v.length,a-1),f=0;f<t;f++)Ae[r+f]=v[f];return Ae[r+f]=0,v.length}function za(r,a,e){return xa(r,void 0,a,e)}function Va(r){return r in{32:0,9:0,10:0,11:0,12:0,13:0}}function Ba(r){return r>="0".charCodeAt(0)&&r<="9".charCodeAt(0)}function Ha(r){for(var a;(a=Ae[r])&&Va(a);)r++;if(!a||!Ba(a))return 0;for(var e=r;(a=Ae[e])&&Ba(a);)e++;return Math.floor(Number(s(r).substr(0,e-r)))}function Ka(r){throw ke=!0,"ABORT: "+r+", at "+(new Error).stack}function Ya(r){return Ya.ret||(Ya.ret=_([0],"i32",we)),Se[Ya.ret>>2]=r,r}function Ga(r,a,e,i){var v=$e.streams[r];if(!v||v.object.isDevice)return Ya(Ge.EBADF),-1;if(v.isWrite){if(v.object.isFolder)return Ya(Ge.EISDIR),-1;if(e<0||i<0)return Ya(Ge.EINVAL),-1;for(var t=v.object.contents;t.length<i;)t.push(0);for(var f=0;f<e;f++)t[i+f]=ge[a+f];return v.object.timestamp=Date.now(),f}return Ya(Ge.EACCES),-1}function Wa(r,a,e){var i=$e.streams[r];if(i){if(i.isWrite){if(e<0)return Ya(Ge.EINVAL),-1;if(i.object.isDevice){if(i.object.output){for(var v=0;v<e;v++)try{i.object.output(Ae[a+v])}catch(r){return Ya(Ge.EIO),-1}return i.object.timestamp=Date.now(),v}return Ya(Ge.ENXIO),-1}var t=Ga(r,a,e,i.position);return t!=-1&&(i.position+=t),t}return Ya(Ge.EACCES),-1}return Ya(Ge.EBADF),-1}function Za(r,a,e,i){var v=e*a;if(0==v)return 0;var t=Wa(i,r,v);return t==-1?($e.streams[i]&&($e.streams[i].error=!0),-1):Math.floor(t/a)}function Qa(r,a,e){var i=Ua(a,e),v=le.stackSave(),t=Za(_(i,"i8",de),1,i.length,r);return le.stackRestore(v),t}function qa(r){switch(r){case 8:return Pe;case 54:case 56:case 21:case 61:case 63:case 22:case 67:case 23:case 24:case 25:case 26:case 27:case 69:case 28:case 101:case 70:case 71:case 29:case 30:case 199:case 75:case 76:case 32:case 43:case 44:case 80:case 46:case 47:case 45:case 48:case 49:case 42:case 82:case 33:case 7:case 108:case 109:case 107:case 112:case 119:case 121:return 200809;case 13:case 104:case 94:case 95:case 34:case 35:case 77:case 81:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 94:case 95:case 110:case 111:case 113:case 114:case 115:case 116:case 117:case 118:case 120:case 40:case 16:case 79:case 19:return-1;case 92:case 93:case 5:case 72:case 6:case 74:case 92:case 93:case 96:case 97:case 98:case 99:case 102:case 103:case 105:return 1;case 38:case 66:case 50:case 51:case 4:return 1024;case 15:case 64:case 41:return 32;case 55:case 37:case 17:return 2147483647;case 18:case 1:return 47839;case 59:case 57:return 99;case 68:case 58:return 2048;case 0:return 2097152;case 3:return 65536;case 14:return 32768;case 73:return 32767;case 39:return 16384;case 60:return 1e3;case 106:return 700;case 52:return 256;case 62:return 255;case 2:return 100;case 65:return 64;case 36:return 20;case 100:return 16;case 20:return 6;case 53:return 4}return Ya(Ge.EINVAL),-1}function $a(r){var a=Math.floor(Date.now()/1e3);return r&&(Se[r>>2]=a),a}function Ja(){return Ya.ret}function re(r){var a=re;a.called||(Ie=o(Ie),a.called=!0);var e=Ie;return 0!=r&&le.staticAlloc(r),e}function ae(){return Se[ae.buf>>2]}function ee(r){r=r||Module.arguments,k();var a=null;return Module._main&&(a=Module.callMain(r),Module.noExitRuntime||u()),a}var ie=[],ve=false,te="object"==typeof window,fe="function"==typeof importScripts,_e=!te&&!ve&&!fe;if(ve){print=function(r){process.stdout.write(r+"\\\\n")},printErr=function(r){process.stderr.write(r+"\\\\n")};var se=require("fs");read=function(r){var a=se.readFileSync(r).toString();return a||"/"==r[0]||(r=__dirname.split("/").slice(0,-1).join("/")+"/src/"+r,a=se.readFileSync(r).toString()),a},load=function(a){r(read(a))},ie=process.argv.slice(2)}else if(_e)this.read||(this.read=function(r){snarf(r)}),"undefined"!=typeof scriptArgs?ie=scriptArgs:"undefined"!=typeof arguments&&(ie=arguments);else if(te)this.print=printErr=function(r){console.log(r)},this.read=function(r){var a=new XMLHttpRequest;return a.open("GET",r,!1),a.send(null),a.responseText},this.arguments&&(ie=arguments);else{if(!fe)throw"Unknown runtime environment. Where are we?";this.load=importScripts}"undefined"==typeof load&&"undefined"!=typeof read&&(this.load=function(a){r(read(a))}),"undefined"==typeof printErr&&(this.printErr=function(){}),"undefined"==typeof print&&(this.print=printErr);try{this.Module=Module}catch(r){this.Module=Module={}}Module.arguments||(Module.arguments=ie),Module.print&&(print=Module.print);var ne,oe,le={stackSave:function(){return Oe},stackRestore:function(r){Oe=r},forceAlign:function(r,a){if(a=a||4,1==a)return r;if(isNumber(r)&&isNumber(a))return Math.ceil(r/a)*a;if(isNumber(a)&&isPowerOfTwo(a)){var e=log2(a);return"(((("+r+")+"+(a-1)+")>>"+e+")<<"+e+")"}return"Math.ceil(("+r+")/"+a+")*"+a},isNumberType:function(r){return r in le.INT_TYPES||r in le.FLOAT_TYPES},isPointerType:function(r){return"*"==r[r.length-1]},isStructType:function(r){return!isPointerType(r)&&(!!/^\\\\[\\\\d+\\\\ x\\\\ (.*)\\\\]/.test(r)||(!!/<?{ [^}]* }>?/.test(r)||"%"==r[0]))},INT_TYPES:{i1:0,i8:0,i16:0,i32:0,i64:0},FLOAT_TYPES:{float:0,double:0},bitshift64:function(r,e,i,v){var t=Math.pow(2,v)-1;if(v<32)switch(i){case"shl":return[r<<v,e<<v|(r&t<<32-v)>>>32-v];case"ashr":return[(r>>>v|(e&t)<<32-v)>>0>>>0,e>>v>>>0];case"lshr":return[(r>>>v|(e&t)<<32-v)>>>0,e>>>v]}else if(32==v)switch(i){case"shl":return[0,r];case"ashr":return[e,(0|e)<0?t:0];case"lshr":return[e,0]}else switch(i){case"shl":return[0,r<<v-32];case"ashr":return[e>>v-32>>>0,(0|e)<0?t:0];case"lshr":return[e>>>v-32,0]}a("unknown bitshift64 op: "+[value,i,v])},or64:function(r,a){var e=0|r|(0|a),i=4294967296*(Math.round(r/4294967296)|Math.round(a/4294967296));return e+i},and64:function(r,a){var e=(0|r)&(0|a),i=4294967296*(Math.round(r/4294967296)&Math.round(a/4294967296));return e+i},xor64:function(r,a){var e=(0|r)^(0|a),i=4294967296*(Math.round(r/4294967296)^Math.round(a/4294967296));return e+i},getNativeTypeSize:function(r,a){if(1==le.QUANTUM_SIZE)return 1;var i={"%i1":1,"%i8":1,"%i16":2,"%i32":4,"%i64":8,"%float":4,"%double":8}["%"+r];if(!i)if("*"==r[r.length-1])i=le.QUANTUM_SIZE;else if("i"==r[0]){var v=parseInt(r.substr(1));e(v%8==0),i=v/8}return i},getNativeFieldSize:function(r){return Math.max(le.getNativeTypeSize(r),le.QUANTUM_SIZE)},dedup:function(r,a){var e={};return a?r.filter(function(r){return!e[r[a]]&&(e[r[a]]=!0,!0)}):r.filter(function(r){return!e[r]&&(e[r]=!0,!0)})},set:function(){for(var r="object"==typeof arguments[0]?arguments[0]:arguments,a={},e=0;e<r.length;e++)a[r[e]]=0;return a},calculateStructAlignment:function(r){r.flatSize=0,r.alignSize=0;var a=[],e=-1;return r.flatIndexes=r.fields.map(function(i){var v,t;if(le.isNumberType(i)||le.isPointerType(i))v=le.getNativeTypeSize(i),t=v;else{if(!le.isStructType(i))throw"Unclear type in struct: "+i+", in "+r.name_+" :: "+dump(Types.types[r.name_]);v=Types.types[i].flatSize,t=Types.types[i].alignSize}t=r.packed?1:Math.min(t,le.QUANTUM_SIZE),r.alignSize=Math.max(r.alignSize,t);var f=le.alignMemory(r.flatSize,t);return r.flatSize=f+v,e>=0&&a.push(f-e),e=f,f}),r.flatSize=le.alignMemory(r.flatSize,r.alignSize),0==a.length?r.flatFactor=r.flatSize:1==le.dedup(a).length&&(r.flatFactor=a[0]),r.needsFlattening=1!=r.flatFactor,r.flatIndexes},generateStructInfo:function(r,a,i){var v,t;if(a){if(i=i||0,v=("undefined"==typeof Types?le.typeInfo:Types.types)[a],!v)return null;e(v.fields.length===r.length,"Number of named fields must match the type for "+a),t=v.flatIndexes}else{var v={fields:r.map(function(r){return r[0]})};t=le.calculateStructAlignment(v)}var f={__size__:v.flatSize};return a?r.forEach(function(r,a){if("string"==typeof r)f[r]=t[a]+i;else{var e;for(var _ in r)e=_;f[e]=le.generateStructInfo(r[e],v.fields[a],t[a])}}):r.forEach(function(r,a){f[r[1]]=t[a]}),f},stackAlloc:function(r){var a=Oe;return Oe+=r,Oe=Oe+3>>2<<2,a},staticAlloc:function(r){var a=Ie;return Ie+=r,Ie=Ie+3>>2<<2,Ie>=Le&&l(),a},alignMemory:function(r,a){var e=r=Math.ceil(r/(a?a:4))*(a?a:4);return e},makeBigInt:function(r,a,e){var i=e?(r>>>0)+4294967296*(a>>>0):(r>>>0)+4294967296*(0|a);return i},QUANTUM_SIZE:4,__dummy__:0},be={MAX_ALLOWED:0,corrections:0,sigs:{},note:function(r,e,i){e||(this.corrections++,this.corrections>=this.MAX_ALLOWED&&a("\\\\n\\\\nToo many corrections!"))},print:function(){}},ke=!1,ue=0,ce=this;Module.ccall=i,Module.setValue=t,Module.getValue=f;var he=0,de=1,we=2;Module.ALLOC_NORMAL=he,Module.ALLOC_STACK=de,Module.ALLOC_STATIC=we,Module.allocate=_,Module.Pointer_stringify=s,Module.Array_stringify=n;var pe,Ee,Ae,ge,ye,me,Se,Me,Ce,Re,Te,Oe,Ne,Ie,Pe=4096,De=Module.TOTAL_STACK||5242880,Le=Module.TOTAL_MEMORY||10485760;Module.FAST_MEMORY||2097152;e(!!(Int32Array&&Float64Array&&new Int32Array(1).subarray&&new Int32Array(1).set),"Cannot fallback to non-typed array case: Code is too specialized");var Fe=new ArrayBuffer(Le);Ae=new Int8Array(Fe),ye=new Int16Array(Fe),Se=new Int32Array(Fe),ge=new Uint8Array(Fe),me=new Uint16Array(Fe),Me=new Uint32Array(Fe),Ce=new Float32Array(Fe),Re=new Float64Array(Fe),Se[0]=255,e(255===ge[0]&&0===ge[3],"Typed arrays 2 must be run on a little-endian system");var Xe=p("(null)");Ie=Xe.length;for(var je=0;je<Xe.length;je++)Ae[je]=Xe[je];Module.HEAP=Ee,Module.HEAP8=Ae,Module.HEAP16=ye,Module.HEAP32=Se,Module.HEAPU8=ge,Module.HEAPU16=me,Module.HEAPU32=Me,Module.HEAPF32=Ce,Module.HEAPF64=Re,Te=Oe=le.alignMemory(Ie),Ne=Te+De;var Ue=le.alignMemory(Ne,8),xe=(Ae.subarray(Ue),Se.subarray(Ue>>2)),ze=(Ce.subarray(Ue>>2),Re.subarray(Ue>>3));Ne=Ue+8,Ie=o(Ne);var Ve=[],Be=[];Module.Array_copy=c,Module.TypedArray_copy=h,Module.String_len=d,Module.String_copy=w,Module.intArrayFromString=p,Module.intArrayToString=E,Module.writeStringToMemory=A;var He=[],Ke=0;O.X=1,N.X=1,V.X=1,H.X=1,G.X=1,W.X=1,q.X=1,$.X=1,rr.X=1,ar.X=1,er.X=1,vr.X=1,nr.X=1,or.X=1,kr.X=1,hr.X=1,Ar.X=1,Sr.X=1,Tr.X=1,Ir.X=1,Pr.X=1,Dr.X=1,Lr.X=1,Fr.X=1,Xr.X=1,zr.X=1,Vr.X=1,Br.X=1,Gr.X=1,$r.X=1,Module._malloc=Jr,Jr.X=1,ra.X=1,aa.X=1,ea.X=1,ia.X=1,Module._free=va,va.X=1,_a.X=1,sa.X=1,na.X=1,oa.X=1,la.X=1,da.X=1,Ma.X=1;var Ye,Ge={E2BIG:7,EACCES:13,EADDRINUSE:98,EADDRNOTAVAIL:99,EAFNOSUPPORT:97,EAGAIN:11,EALREADY:114,EBADF:9,EBADMSG:74,EBUSY:16,ECANCELED:125,ECHILD:10,ECONNABORTED:103,ECONNREFUSED:111,ECONNRESET:104,EDEADLK:35,EDESTADDRREQ:89,EDOM:33,EDQUOT:122,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:113,EIDRM:43,EILSEQ:84,EINPROGRESS:115,EINTR:4,EINVAL:22,EIO:5,EISCONN:106,EISDIR:21,ELOOP:40,EMFILE:24,EMLINK:31,EMSGSIZE:90,EMULTIHOP:72,ENAMETOOLONG:36,ENETDOWN:100,ENETRESET:102,ENETUNREACH:101,ENFILE:23,ENOBUFS:105,ENODATA:61,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:37,ENOLINK:67,ENOMEM:12,ENOMSG:42,ENOPROTOOPT:92,ENOSPC:28,ENOSR:63,ENOSTR:60,ENOSYS:38,ENOTCONN:107,ENOTDIR:20,ENOTEMPTY:39,ENOTRECOVERABLE:131,ENOTSOCK:88,ENOTSUP:95,ENOTTY:25,ENXIO:6,EOVERFLOW:75,EOWNERDEAD:130,EPERM:1,EPIPE:32,EPROTO:71,EPROTONOSUPPORT:93,EPROTOTYPE:91,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:116,ETIME:62,ETIMEDOUT:110,ETXTBSY:26,EWOULDBLOCK:11,EXDEV:18},We=0,Ze=0,Qe=0,qe=0,$e={currentPath:"/",nextInode:2,streams:[null],ignorePermissions:!0,absolutePath:function(r,a){if("string"!=typeof r)return null;void 0===a&&(a=$e.currentPath),r&&"/"==r[0]&&(a="");for(var e=a+"/"+r,i=e.split("/").reverse(),v=[""];i.length;){var t=i.pop();""==t||"."==t||(".."==t?v.length>1&&v.pop():v.push(t))}return 1==v.length?"/":v.join("/")},analyzePath:function(r,a,e){var i={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};if(r=$e.absolutePath(r),"/"==r)i.isRoot=!0,i.exists=i.parentExists=!0,i.name="/",i.path=i.parentPath="/",i.object=i.parentObject=$e.root;else if(null!==r){e=e||0,r=r.slice(1).split("/");for(var v=$e.root,t=[""];r.length;){1==r.length&&v.isFolder&&(i.parentExists=!0,i.parentPath=1==t.length?"/":t.join("/"),i.parentObject=v,i.name=r[0]);var f=r.shift();if(!v.isFolder){i.error=Ge.ENOTDIR;break}if(!v.read){i.error=Ge.EACCES;break}if(!v.contents.hasOwnProperty(f)){i.error=Ge.ENOENT;break}if(v=v.contents[f],v.link&&(!a||0!=r.length)){if(e>40){i.error=Ge.ELOOP;break}var _=$e.absolutePath(v.link,t.join("/"));return $e.analyzePath([_].concat(r).join("/"),a,e+1)}t.push(f),0==r.length&&(i.exists=!0,i.path=t.join("/"),i.object=v)}return i}return i},findObject:function(r,a){$e.ensureRoot();var e=$e.analyzePath(r,a);return e.exists?e.object:(Ya(e.error),null)},createObject:function(r,a,e,i,v){if(r||(r="/"),"string"==typeof r&&(r=$e.findObject(r)),!r)throw Ya(Ge.EACCES),new Error("Parent path must exist.");if(!r.isFolder)throw Ya(Ge.ENOTDIR),\\nnew Error("Parent must be a folder.");if(!r.write&&!$e.ignorePermissions)throw Ya(Ge.EACCES),new Error("Parent folder must be writeable.");if(!a||"."==a||".."==a)throw Ya(Ge.ENOENT),new Error("Name must not be empty.");if(r.contents.hasOwnProperty(a))throw Ya(Ge.EEXIST),new Error("Can\\\'t overwrite object.");r.contents[a]={read:void 0===i||i,write:void 0!==v&&v,timestamp:Date.now(),inodeNumber:$e.nextInode++};for(var t in e)e.hasOwnProperty(t)&&(r.contents[a][t]=e[t]);return r.contents[a]},createFolder:function(r,a,e,i){var v={isFolder:!0,isDevice:!1,contents:{}};return $e.createObject(r,a,v,e,i)},createPath:function(r,a,e,i){var v=$e.findObject(r);if(null===v)throw new Error("Invalid parent.");for(a=a.split("/").reverse();a.length;){var t=a.pop();t&&(v.contents.hasOwnProperty(t)||$e.createFolder(v,t,e,i),v=v.contents[t])}return v},createFile:function(r,a,e,i,v){return e.isFolder=!1,$e.createObject(r,a,e,i,v)},createDataFile:function(r,a,e,i,v){if("string"==typeof e){for(var t=new Array(e.length),f=0,_=e.length;f<_;++f)t[f]=e.charCodeAt(f);e=t}var s={isDevice:!1,contents:e};return $e.createFile(r,a,s,i,v)},createLazyFile:function(r,a,e,i,v){var t={isDevice:!1,url:e};return $e.createFile(r,a,t,i,v)},createLink:function(r,a,e,i,v){var t={isDevice:!1,link:e};return $e.createFile(r,a,t,i,v)},createDevice:function(r,a,e,i){if(!e&&!i)throw new Error("A device must have at least one callback defined.");var v={isDevice:!0,input:e,output:i};return $e.createFile(r,a,v,Boolean(e),Boolean(i))},forceLoadFile:function(r){if(r.isDevice||r.isFolder||r.link||r.contents)return!0;var a=!0;if("undefined"!=typeof XMLHttpRequest)e("Cannot do synchronous binary XHRs in modern browsers. Use --embed-file or --preload-file in emcc");else{if("undefined"==typeof read)throw new Error("Cannot load without read() or XMLHttpRequest.");try{r.contents=p(read(r.url),!0)}catch(r){a=!1}}return a||Ya(Ge.EIO),a},ensureRoot:function(){$e.root||($e.root={read:!0,write:!0,isFolder:!0,isDevice:!1,timestamp:Date.now(),inodeNumber:1,contents:{}})},init:function(r,a,i){function v(r){null===r||r==="\\\\n".charCodeAt(0)?(a.printer(a.buffer.join("")),a.buffer=[]):a.buffer.push(String.fromCharCode(r))}e(!$e.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),$e.init.initialized=!0,$e.ensureRoot(),r=r||Module.stdin,a=a||Module.stdout,i=i||Module.stderr;var t=!0,f=!0,s=!0;r||(t=!1,r=function(){if(!r.cache||!r.cache.length){var a;"undefined"!=typeof window&&"function"==typeof window.prompt?a=window.prompt("Input: "):"function"==typeof readline&&(a=readline()),a||(a=""),r.cache=p(a+"\\\\n",!0)}return r.cache.shift()}),a||(f=!1,a=v),a.printer||(a.printer=print),a.buffer||(a.buffer=[]),i||(s=!1,i=v),i.printer||(i.printer=print),i.buffer||(i.buffer=[]),$e.createFolder("/","tmp",!0,!0);var n=$e.createFolder("/","dev",!0,!0),o=$e.createDevice(n,"stdin",r),l=$e.createDevice(n,"stdout",null,a),b=$e.createDevice(n,"stderr",null,i);$e.createDevice(n,"tty",r,a),$e.streams[1]={path:"/dev/stdin",object:o,position:0,isRead:!0,isWrite:!1,isAppend:!1,isTerminal:!t,error:!1,eof:!1,ungotten:[]},$e.streams[2]={path:"/dev/stdout",object:l,position:0,isRead:!1,isWrite:!0,isAppend:!1,isTerminal:!f,error:!1,eof:!1,ungotten:[]},$e.streams[3]={path:"/dev/stderr",object:b,position:0,isRead:!1,isWrite:!0,isAppend:!1,isTerminal:!s,error:!1,eof:!1,ungotten:[]},We=_([1],"void*",we),Ze=_([2],"void*",we),Qe=_([3],"void*",we),$e.createPath("/","dev/shm/tmp",!0,!0),$e.streams[We]=$e.streams[1],$e.streams[Ze]=$e.streams[2],$e.streams[Qe]=$e.streams[3],qe=_([_([0,0,0,0,We,0,0,0,Ze,0,0,0,Qe,0,0,0],"void*",we)],"void*",we)},quit:function(){$e.init.initialized&&($e.streams[2]&&$e.streams[2].object.output.buffer.length>0&&$e.streams[2].object.output("\\\\n".charCodeAt(0)),$e.streams[3]&&$e.streams[3].object.output.buffer.length>0&&$e.streams[3].object.output("\\\\n".charCodeAt(0)))}},Je=Ja;Ve.unshift({func:function(){$e.ignorePermissions=!1,$e.init.initialized||$e.init()}}),Be.push({func:function(){$e.quit()}}),Ya(0),ae.buf=_(12,"void*",we),Module.callMain=function(r){function a(){for(var r=0;r<3;r++)i.push(0)}var e=r.length+1,i=[_(p("/bin/this.program"),"i8",we)];a();for(var v=0;v<e-1;v+=1)i.push(_(p(r[v]),"i8",we)),a();return i.push(0),i=_(i,"i32",we),_main(e,i,0)};var ri,ai,ei,ii,vi,ti,qe,fi,_i,si,ni,oi,li,bi,ki,ui,ci,hi,di,wi;if(He.__str=_([97,78,0],"i8",we),He.__str1=_([38,61,0],"i8",we),He.__str2=_([97,83,0],"i8",we),He.__str3=_([61,0],"i8",we),He.__str4=_([97,97,0],"i8",we),He.__str5=_([38,38,0],"i8",we),He.__str6=_([97,100,0],"i8",we),He.__str7=_([38,0],"i8",we),He.__str8=_([97,110,0],"i8",we),He.__str9=_([99,108,0],"i8",we),He.__str10=_([40,41,0],"i8",we),He.__str11=_([99,109,0],"i8",we),He.__str12=_([44,0],"i8",we),He.__str13=_([99,111,0],"i8",we),He.__str14=_([126,0],"i8",we),He.__str15=_([100,86,0],"i8",we),He.__str16=_([47,61,0],"i8",we),He.__str17=_([100,97,0],"i8",we),He.__str18=_([100,101,108,101,116,101,91,93,0],"i8",we),He.__str19=_([100,101,0],"i8",we),He.__str20=_([42,0],"i8",we),He.__str21=_([100,108,0],"i8",we),He.__str22=_([100,101,108,101,116,101,0],"i8",we),He.__str23=_([100,118,0],"i8",we),He.__str24=_([47,0],"i8",we),He.__str25=_([101,79,0],"i8",we),He.__str26=_([94,61,0],"i8",we),He.__str27=_([101,111,0],"i8",we),He.__str28=_([94,0],"i8",we),He.__str29=_([101,113,0],"i8",we),He.__str30=_([61,61,0],"i8",we),He.__str31=_([103,101,0],"i8",we),He.__str32=_([62,61,0],"i8",we),He.__str33=_([103,116,0],"i8",we),He.__str34=_([62,0],"i8",we),He.__str35=_([105,120,0],"i8",we),He.__str36=_([91,93,0],"i8",we),He.__str37=_([108,83,0],"i8",we),He.__str38=_([60,60,61,0],"i8",we),He.__str39=_([108,101,0],"i8",we),He.__str40=_([60,61,0],"i8",we),He.__str41=_([108,115,0],"i8",we),He.__str42=_([60,60,0],"i8",we),He.__str43=_([108,116,0],"i8",we),He.__str44=_([60,0],"i8",we),He.__str45=_([109,73,0],"i8",we),He.__str46=_([45,61,0],"i8",we),He.__str47=_([109,76,0],"i8",we),He.__str48=_([42,61,0],"i8",we),He.__str49=_([109,105,0],"i8",we),He.__str51=_([109,108,0],"i8",we),He.__str52=_([109,109,0],"i8",we),He.__str53=_([45,45,0],"i8",we),He.__str54=_([110,97,0],"i8",we),He.__str55=_([110,101,119,91,93,0],"i8",we),He.__str56=_([110,101,0],"i8",we),He.__str57=_([33,61,0],"i8",we),He.__str58=_([110,103,0],"i8",we),He.__str59=_([110,116,0],"i8",we),He.__str60=_([33,0],"i8",we),He.__str61=_([110,119,0],"i8",we),He.__str62=_([110,101,119,0],"i8",we),He.__str63=_([111,82,0],"i8",we),He.__str64=_([124,61,0],"i8",we),He.__str65=_([111,111,0],"i8",we),He.__str66=_([124,124,0],"i8",we),He.__str67=_([111,114,0],"i8",we),He.__str68=_([124,0],"i8",we),He.__str69=_([112,76,0],"i8",we),He.__str70=_([43,61,0],"i8",we),He.__str71=_([112,108,0],"i8",we),He.__str72=_([43,0],"i8",we),He.__str73=_([112,109,0],"i8",we),He.__str74=_([45,62,42,0],"i8",we),He.__str75=_([112,112,0],"i8",we),He.__str76=_([43,43,0],"i8",we),He.__str77=_([112,115,0],"i8",we),He.__str78=_([112,116,0],"i8",we),He.__str79=_([45,62,0],"i8",we),He.__str80=_([113,117,0],"i8",we),He.__str81=_([63,0],"i8",we),He.__str82=_([114,77,0],"i8",we),He.__str83=_([37,61,0],"i8",we),He.__str84=_([114,83,0],"i8",we),He.__str85=_([62,62,61,0],"i8",we),He.__str86=_([114,109,0],"i8",we),He.__str87=_([37,0],"i8",we),He.__str88=_([114,115,0],"i8",we),He.__str89=_([62,62,0],"i8",we),He.__str90=_([115,116,0],"i8",we),He.__str91=_([115,105,122,101,111,102,32,0],"i8",we),He.__str92=_([115,122,0],"i8",we),ri=_([0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0],we),He.__str95=_([98,111,111,108,101,97,110,0],"i8",we),He.__str97=_([98,121,116,101,0],"i8",we),He.__str101=_([95,95,102,108,111,97,116,49,50,56,0],"i8",we),He.__str105=_([117,110,115,105,103,110,101,100,0],"i8",we),He.__str114=_([108,111,110,103,32,108,111,110,103,0],"i8",we),He.__str115=_([117,110,115,105,103,110,101,100,32,108,111,110,103,32,108,111,110,103,0],"i8",we),ai=_([0,0,0,0,11,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,7,0,0,0,7,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,6,0,0,0,8,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,11,0,0,0,8,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,5,0,0,0,8,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,10,0,0,0,8,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,8,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,3,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,13,0,0,0,4,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,9,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,4,0,0,0,5,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,18,0,0,0,6,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0],["*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0],we),He.__str117=_([95,71,76,79,66,65,76,95,0],"i8",we),He.__str118=_([103,108,111,98,97,108,32,99,111,110,115,116,114,117,99,116,111,114,115,32,107,101,121,101,100,32,116,111,32,0],"i8",we),He.__str119=_([103,108,111,98,97,108,32,100,101,115,116,114,117,99,116,111,114,115,32,107,101,121,101,100,32,116,111,32,0],"i8",we),He.__str120=_([58,58,0],"i8",we),He.__str121=_([118,116,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str122=_([86,84,84,32,102,111,114,32,0],"i8",we),He.__str123=_([99,111,110,115,116,114,117,99,116,105,111,110,32,118,116,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str124=_([45,105,110,45,0],"i8",we),He.__str125=_([116,121,112,101,105,110,102,111,32,102,111,114,32,0],"i8",we),He.__str126=_([116,121,112,101,105,110,102,111,32,110,97,109,101,32,102,111,114,32,0],"i8",we),He.__str127=_([116,121,112,101,105,110,102,111,32,102,110,32,102,111,114,32,0],"i8",we),He.__str128=_([110,111,110,45,118,105,114,116,117,97,108,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str129=_([118,105,114,116,117,97,108,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str130=_([99,111,118,97,114,105,97,110,116,32,114,101,116,117,114,110,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str131=_([106,97,118,97,32,67,108,97,115,115,32,102,111,114,32,0],"i8",we),He.__str132=_([103,117,97,114,100,32,118,97,114,105,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str133=_([114,101,102,101,114,101,110,99,101,32,116,101,109,112,111,114,97,114,121,32,102,111,114,32,0],"i8",we),He.__str134=_([104,105,100,100,101,110,32,97,108,105,97,115,32,102,111,114,32,0],"i8",we),He.__str135=_([58,58,42,0],"i8",we),He.__str136=_([44,32,0],"i8",we),He.__str137=_([111,112,101,114,97,116,111,114,0],"i8",we),He.__str139=_([41,32,0],"i8",we),He.__str140=_([32,40,0],"i8",we),He.__str141=_([41,32,58,32,40,0],"i8",we),He.__str142=_([117,108,0],"i8",we),He.__str143=_([108,108,0],"i8",we),He.__str144=_([117,108,108,0],"i8",we),He.__str145=_([102,97,108,115,101,0],"i8",we),He.__str146=_([116,114,117,101,0],"i8",we),He.__str147=_([32,114,101,115,116,114,105,99,116,0],"i8",we),He.__str148=_([32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str149=_([32,99,111,110,115,116,0],"i8",we),He.__str150=_([99,111,109,112,108,101,120,32,0],"i8",we),He.__str151=_([105,109,97,103,105,110,97,114,121,32,0],"i8",we),ei=_([116,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,97,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,9,0,0,0,98,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,12,0,0,0,115,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,70,0,0,0,0,0,0,0,12,0,0,0,105,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,13,0,0,0,111,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,13,0,0,0,100,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,50,0,0,0,0,0,0,0,14,0,0,0],["i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0],we),He.__str152=_([115,116,100,0],"i8",we),He.__str153=_([115,116,100,58,58,97,108,108,111,99,97,116,111,114,0],"i8",we),He.__str154=_([97,108,108,111,99,97,116,111,114,0],"i8",we),He.__str155=_([115,116,100,58,58,98,97,115,105,99,95,115,116,114,105,110,103,0],"i8",we),He.__str156=_([98,97,115,105,99,95,115,116,114,105,110,103,0],"i8",we),He.__str157=_([115,116,100,58,58,115,116,114,105,110,103,0],"i8",we),He.__str158=_([115,116,100,58,58,98,97,115,105,99,95,115,116,114,105,110,103,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,44,32,115,116,100,58,58,97,108,108,111,99,97,116,111,114,60,99,104,97,114,62,32,62,0],"i8",we),He.__str159=_([115,116,100,58,58,105,115,116,114,101,97,109,0],"i8",we),He.__str160=_([115,116,100,58,58,98,97,115,105,99,95,105,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str161=_([98,97,115,105,99,95,105,115,116,114,101,97,109,0],"i8",we),He.__str162=_([115,116,100,58,58,111,115,116,114,101,97,109,0],"i8",we),He.__str163=_([115,116,100,58,58,98,97,115,105,99,95,111,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str164=_([98,97,115,105,99,95,111,115,116,114,101,97,109,0],"i8",we),He.__str165=_([115,116,100,58,58,105,111,115,116,114,101,97,109,0],"i8",we),He.__str166=_([115,116,100,58,58,98,97,115,105,99,95,105,111,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str167=_([98,97,115,105,99,95,105,111,115,116,114,101,97,109,0],"i8",we),He.__str168=_([115,116,114,105,110,103,32,108,105,116,101,114,97,108,0],"i8",we),He.__str169=_([40,97,110,111,110,121,109,111,117,115,32,110,97,109,101,115,112,97,99,101,41,0],"i8",we),He._symbol_demangle_dashed_null=_([45,45,110,117,108,108,45,45,0],"i8",we),He.__str170=_([37,115,37,115,0],"i8",we),He.__str1171=_([111,112,101,114,97,116,111,114,32,110,101,119,0],"i8",we),He.__str2172=_([111,112,101,114,97,116,111,114,32,100,101,108,101,116,101,0],"i8",we),He.__str3173=_([111,112,101,114,97,116,111,114,61,0],"i8",we),He.__str4174=_([111,112,101,114,97,116,111,114,62,62,0],"i8",we),He.__str5175=_([111,112,101,114,97,116,111,114,60,60,0],"i8",we),He.__str6176=_([111,112,101,114,97,116,111,114,33,0],"i8",we),He.__str7177=_([111,112,101,114,97,116,111,114,61,61,0],"i8",we),He.__str8178=_([111,112,101,114,97,116,111,114,33,61,0],"i8",we),He.__str9179=_([111,112,101,114,97,116,111,114,91,93,0],"i8",we),He.__str10180=_([111,112,101,114,97,116,111,114,32,0],"i8",we),He.__str11181=_([111,112,101,114,97,116,111,114,45,62,0],"i8",we),He.__str12182=_([111,112,101,114,97,116,111,114,42,0],"i8",we),He.__str13183=_([111,112,101,114,97,116,111,114,43,43,0],"i8",we),He.__str14184=_([111,112,101,114,97,116,111,114,45,45,0],"i8",we),He.__str15185=_([111,112,101,114,97,116,111,114,45,0],"i8",we),He.__str16186=_([111,112,101,114,97,116,111,114,43,0],"i8",we),He.__str17187=_([111,112,101,114,97,116,111,114,38,0],"i8",we),He.__str18188=_([111,112,101,114,97,116,111,114,45,62,42,0],"i8",we),He.__str19189=_([111,112,101,114,97,116,111,114,47,0],"i8",we),He.__str20190=_([111,112,101,114,97,116,111,114,37,0],"i8",we),He.__str21191=_([111,112,101,114,97,116,111,114,60,0],"i8",we),He.__str22192=_([111,112,101,114,97,116,111,114,60,61,0],"i8",we),He.__str23193=_([111,112,101,114,97,116,111,114,62,0],"i8",we),He.__str24194=_([111,112,101,114,97,116,111,114,62,61,0],"i8",we),He.__str25195=_([111,112,101,114,97,116,111,114,44,0],"i8",we),He.__str26196=_([111,112,101,114,97,116,111,114,40,41,0],"i8",we),He.__str27197=_([111,112,101,114,97,116,111,114,126,0],"i8",we),He.__str28198=_([111,112,101,114,97,116,111,114,94,0],"i8",we),He.__str29199=_([111,112,101,114,97,116,111,114,124,0],"i8",we),He.__str30200=_([111,112,101,114,97,116,111,114,38,38,0],"i8",we),He.__str31201=_([111,112,101,114,97,116,111,114,124,124,0],"i8",we),He.__str32202=_([111,112,101,114,97,116,111,114,42,61,0],"i8",we),He.__str33203=_([111,112,101,114,97,116,111,114,43,61,0],"i8",we),He.__str34204=_([111,112,101,114,97,116,111,114,45,61,0],"i8",we),He.__str35205=_([111,112,101,114,97,116,111,114,47,61,0],"i8",we),He.__str36206=_([111,112,101,114,97,116,111,114,37,61,0],"i8",we),He.__str37207=_([111,112,101,114,97,116,111,114,62,62,61,0],"i8",we),He.__str38208=_([111,112,101,114,97,116,111,114,60,60,61,0],"i8",we),He.__str39209=_([111,112,101,114,97,116,111,114,38,61,0],"i8",we),He.__str40210=_([111,112,101,114,97,116,111,114,124,61,0],"i8",we),He.__str41211=_([111,112,101,114,97,116,111,114,94,61,0],"i8",we),He.__str42212=_([96,118,102,116,97,98,108,101,39,0],"i8",we),He.__str43213=_([96,118,98,116,97,98,108,101,39,0],"i8",we),He.__str44214=_([96,118,99,97,108,108,39,0],"i8",we),He.__str45215=_([96,116,121,112,101,111,102,39,0],"i8",we),He.__str46216=_([96,108,111,99,97,108,32,115,116,97,116,105,99,32,103,117,97,114,100,39,0],"i8",we),He.__str47217=_([96,115,116,114,105,110,103,39,0],"i8",we),He.__str48218=_([96,118,98,97,115,101,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str49219=_([96,118,101,99,116,111,114,32,100,101,108,101,116,105,110,103,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str50220=_([96,100,101,102,97,117,108,116,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str51221=_([96,115,99,97,108,97,114,32,100,101,108,101,116,105,110,103,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str52222=_([96,118,101,99,116,111,114,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str53223=_([96,118,101,99,116,111,114,32,100,101,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str54224=_([96,118,101,99,116,111,114,32,118,98,97,115,101,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str55225=_([96,118,105,114,116,117,97,108,32,100,105,115,112,108,97,99,101,109,101,110,116,32,109,97,112,39,0],"i8",we),He.__str56226=_([96,101,104,32,118,101,99,116,111,114,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str57227=_([96,101,104,32,118,101,99,116,111,114,32,100,101,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str58228=_([96,101,104,32,118,101,99,116,111,114,32,118,98,97,115,101,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str59229=_([96,99,111,112,121,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str60230=_([37,115,37,115,32,96,82,84,84,73,32,84,121,112,101,32,68,101,115,99,114,105,112,116,111,114,39,0],"i8",we),He.__str61231=_([96,82,84,84,73,32,66,97,115,101,32,67,108,97,115,115,32,68,101,115,99,114,105,112,116,111,114,32,97,116,32,40,37,115,44,37,115,44,37,115,44,37,115,41,39,0],"i8",we),He.__str62232=_([96,82,84,84,73,32,66,97,115,101,32,67,108,97,115,115,32,65,114,114,97,121,39,0],"i8",we),He.__str63233=_([96,82,84,84,73,32,67,108,97,115,115,32,72,105,101,114,97,114,99,104,121,32,68,101,115,99,114,105,112,116,111,114,39,0],"i8",we),He.__str64234=_([96,82,84,84,73,32,67,111,109,112,108,101,116,101,32,79,98,106,101,99,116,32,76,111,99,97,116,111,114,39,0],"i8",we),He.__str65235=_([96,108,111,99,97,108,32,118,102,116,97,98,108,101,39,0],"i8",we),He.__str66236=_([96,108,111,99,97,108,32,118,102,116,97,98,108,101,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str67237=_([111,112,101,114,97,116,111,114,32,110,101,119,91,93,0],"i8",we),He.__str68238=_([111,112,101,114,97,116,111,114,32,100,101,108,101,116,101,91,93,0],"i8",we),He.__str69239=_([96,112,108,97,99,101,109,101,110,116,32,100,101,108,101,116,101,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str70240=_([96,112,108,97,99,101,109,101,110,116,32,100,101,108,101,116,101,91,93,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str71241=_([126,37,115,0],"i8",we),He.__str72242=_([117,110,100,110,97,109,101,46,99,0],"i8",we),He.___func___symbol_demangle=_([115,121,109,98,111,108,95,100,101,109,97,110,103,108,101,0],"i8",we),He.__str73243=_([115,121,109,45,62,114,101,115,117,108,116,0],"i8",we),He.___func___handle_template=_([104,97,110,100,108,101,95,116,101,109,112,108,97,116,101,0],"i8",we),He.__str74244=_([42,115,121,109,45,62,99,117,114,114,101,110,116,32,61,61,32,39,36,39,0],"i8",we),He.___func___str_array_get_ref=_([115,116,114,95,97,114,114,97,121,95,103,101,116,95,114,101,102,0],"i8",we),He.__str75245=_([99,114,101,102,0],"i8",we),He.__str76246=_([112,114,105,118,97,116,101,58,32,0],"i8",we),He.__str77247=_([112,114,111,116,101,99,116,101,100,58,32,0],"i8",we),He.__str78248=_([112,117,98,108,105,99,58,32,0],"i8",we),He.__str79249=_([115,116,97,116,105,99,32,0],"i8",we),He.__str80250=_([118,105,114,116,117,97,108,32,0],"i8",we),He.__str81251=_([91,116,104,117,110,107,93,58,37,115,0],"i8",we),He.__str82252=_([37,115,96,97,100,106,117,115,116,111,114,123,37,115,125,39,32,0],"i8",we),He.__str83253=_([37,115,32,37,115,0],"i8",we),He.__str84254=_([118,111,105,100,0],"i8",we),He.__str85255=_([37,115,37,115,37,115,0],"i8",we),He.__str86256=_([37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,0],"i8",we),He.__str87257=_([32,0],"i8",we),He.__str88258=_([100,108,108,95,101,120,112,111,114,116,32,0],"i8",we),He.__str89259=_([99,100,101,99,108,0],"i8",we),He.__str90260=_([112,97,115,99,97,108,0],"i8",we),He.__str91261=_([116,104,105,115,99,97,108,108,0],"i8",we),He.__str92262=_([115,116,100,99,97,108,108,0],"i8",we),He.__str93263=_([102,97,115,116,99,97,108,108,0],"i8",we),He.__str94264=_([99,108,114,99,97,108,108,0],"i8",we),He.__str95265=_([95,95,100,108,108,95,101,120,112,111,114,116,32,0],"i8",we),He.__str96266=_([95,95,99,100,101,99,108,0],"i8",we),He.__str97267=_([95,95,112,97,115,99,97,108,0],"i8",we),He.__str98268=_([95,95,116,104,105,115,99,97,108,108,0],"i8",we),He.__str99269=_([95,95,115,116,100,99,97,108,108,0],"i8",we),He.__str100270=_([95,95,102,97,115,116,99,97,108,108,0],"i8",we),He.__str101271=_([95,95,99,108,114,99,97,108,108,0],"i8",we),He.__str102272=_([95,95,112,116,114,54,52,0],"i8",we),He.__str103273=_([99,111,110,115,116,0],"i8",we),He.__str104274=_([118,111,108,97,116,105,108,101,0],"i8",we),He.__str105275=_([99,111,110,115,116,32,118,111,108,97,116,105,108,101,0],"i8",we),He.___func___get_class_string=_([103,101,116,95,99,108,97,115,115,95,115,116,114,105,110,103,0],"i8",we),He.__str106276=_([97,45,62,101,108,116,115,91,105,93,0],"i8",we),He.__str107277=_([123,102,111,114,32,96,37,115,39,125,0],"i8",we),He.__str108278=_([37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,0],"i8",we),He.__str109279=_([96,37,115,39,0],"i8",we),He.__str110280=_([46,46,46,0],"i8",we),He.__str111281=_([37,99,118,111,105,100,37,99,0],"i8",we),He.__str112282=_([37,115,44,37,115,0],"i8",we),He.__str113283=_([37,99,37,115,37,115,32,37,99,0],"i8",we),He.__str114284=_([37,99,37,115,37,115,37,99,0],"i8",we),He.___func___str_array_push=_([115,116,114,95,97,114,114,97,121,95,112,117,115,104,0],"i8",we),He.__str115285=_([112,116,114,0],"i8",we),He.__str116286=_([97,0],"i8",we),He.__str117287=_([97,45,62,101,108,116,115,91,97,45,62,110,117,109,93,0],"i8",we),He.__str118288=_([37,115,37,100,0],"i8",we),He.__str119289=_([45,0],"i8",we),ii=_(1,"i8",we),He.___func___demangle_datatype=_([100,101,109,97,110,103,108,101,95,100,97,116,97,116,121,112,101,0],"i8",we),He.__str121291=_([99,116,0],"i8",we),He.__str122292=_([117,110,105,111,110,32,0],"i8",we),He.__str123293=_([115,116,114,117,99,116,32,0],"i8",we),He.__str124294=_([99,108,97,115,115,32,0],"i8",we),He.__str125295=_([99,111,105,110,116,101,114,102,97,99,101,32,0],"i8",we),He.__str126296=_([96,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,45,37,115,39,0],"i8",we),He.__str127297=_([37,115,37,115,32,40,37,115,42,0],"i8",we),He.__str128298=_([41,37,115,0],"i8",we),He.__str129299=_([101,110,117,109,32,37,115,0],"i8",we),He.__str130300=_([96,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,37,115,39,0],"i8",we),He.__str131301=_([123,37,115,44,37,115,125,0],"i8",we),He.__str132302=_([123,37,115,44,37,115,44,37,115,125,0],"i8",we),He.__str133303=_([96,110,111,110,45,116,121,112,101,45,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,37,115,39,0],"i8",we),He.__str134304=_([32,95,95,112,116,114,54,52,0],"i8",we),He.__str135305=_([32,38,37,115,0],"i8",we),He.__str136306=_([32,38,37,115,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str137307=_([32,42,37,115,0],"i8",we),He.__str138308=_([32,42,37,115,32,99,111,110,115,116,0],"i8",we),He.__str139309=_([32,42,37,115,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str140310=_([32,42,37,115,32,99,111,110,115,116,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str141311=_([32,40,37,115,37,115,41,0],"i8",we),He.__str142312=_([32,40,37,115,41,0],"i8",we),He.__str143313=_([37,115,91,37,115,93,0],"i8",we),He.__str144314=_([37,115,32,37,115,37,115,0],"i8",we),He.__str145315=_([115,105,103,110,101,100,32,99,104,97,114,0],"i8",we),He.__str146316=_([99,104,97,114,0],"i8",we),He.__str147317=_([117,110,115,105,103,110,101,100,32,99,104,97,114,0],"i8",we),He.__str148318=_([115,104,111,114,116,0],"i8",we),He.__str149319=_([117,110,115,105,103,110,101,100,32,115,104,111,114,116,0],"i8",we),He.__str150320=_([105,110,116,0],"i8",we),He.__str151321=_([117,110,115,105,103,110,101,100,32,105,110,116,0],"i8",we),He.__str152322=_([108,111,110,103,0],"i8",we),He.__str153323=_([117,110,115,105,103,110,101,100,32,108,111,110,103,0],"i8",we),He.__str154324=_([102,108,111,97,116,0],"i8",we),He.__str155325=_([100,111,117,98,108,101,0],"i8",we),He.__str156326=_([108,111,110,103,32,100,111,117,98,108,101,0],"i8",we),He.__str157327=_([95,95,105,110,116,56,0],"i8",we),He.__str158328=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,56,0],"i8",we),He.__str159329=_([95,95,105,110,116,49,54,0],"i8",we),He.__str160330=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,49,54,0],"i8",we),He.__str161331=_([95,95,105,110,116,51,50,0],"i8",we),He.__str162332=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,51,50,0],"i8",we),He.__str163333=_([95,95,105,110,116,54,52,0],"i8",we),He.__str164334=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,54,52,0],"i8",we),\\nHe.__str165335=_([95,95,105,110,116,49,50,56,0],"i8",we),He.__str166336=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,49,50,56,0],"i8",we),He.__str167337=_([98,111,111,108,0],"i8",we),He.__str168338=_([119,99,104,97,114,95,116,0],"i8",we),vi=_(468,["i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0],we),ti=_(24,"i32",we),He.__str339=_([109,97,120,32,115,121,115,116,101,109,32,98,121,116,101,115,32,61,32,37,49,48,108,117,10,0],"i8",we),He.__str1340=_([115,121,115,116,101,109,32,98,121,116,101,115,32,32,32,32,32,61,32,37,49,48,108,117,10,0],"i8",we),He.__str2341=_([105,110,32,117,115,101,32,98,121,116,101,115,32,32,32,32,32,61,32,37,49,48,108,117,10,0],"i8",we),fi=_([ue],"i8",we),_i=_(1,"void ()*",we),si=_([0,0,0,0,0,0,0,0,6,0,0,0,8,0,0,0,10,0,0,0],["*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0],we),_(1,"void*",we),He.__str3342=_([115,116,100,58,58,98,97,100,95,97,108,108,111,99,0],"i8",we),ni=_([0,0,0,0,0,0,0,0,6,0,0,0,12,0,0,0,14,0,0,0],["*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0],we),_(1,"void*",we),He.__str14343=_([98,97,100,95,97,114,114,97,121,95,110,101,119,95,108,101,110,103,116,104,0],"i8",we),He.__ZTSSt9bad_alloc=_([83,116,57,98,97,100,95,97,108,108,111,99,0],"i8",we),bi=_(12,"*",we),He.__ZTSSt20bad_array_new_length=_([83,116,50,48,98,97,100,95,97,114,114,97,121,95,110,101,119,95,108,101,110,103,116,104,0],"i8",we),ki=_(12,"*",we),Se[ri>>2]=0|He.__str,Se[ri+4>>2]=0|He.__str1,Se[ri+16>>2]=0|He.__str2,Se[ri+20>>2]=0|He.__str3,Se[ri+32>>2]=0|He.__str4,Se[ri+36>>2]=0|He.__str5,Se[ri+48>>2]=0|He.__str6,Se[ri+52>>2]=0|He.__str7,Se[ri+64>>2]=0|He.__str8,Se[ri+68>>2]=0|He.__str7,Se[ri+80>>2]=0|He.__str9,Se[ri+84>>2]=0|He.__str10,Se[ri+96>>2]=0|He.__str11,Se[ri+100>>2]=0|He.__str12,Se[ri+112>>2]=0|He.__str13,Se[ri+116>>2]=0|He.__str14,Se[ri+128>>2]=0|He.__str15,Se[ri+132>>2]=0|He.__str16,Se[ri+144>>2]=0|He.__str17,Se[ri+148>>2]=0|He.__str18,Se[ri+160>>2]=0|He.__str19,Se[ri+164>>2]=0|He.__str20,Se[ri+176>>2]=0|He.__str21,Se[ri+180>>2]=0|He.__str22,Se[ri+192>>2]=0|He.__str23,Se[ri+196>>2]=0|He.__str24,Se[ri+208>>2]=0|He.__str25,Se[ri+212>>2]=0|He.__str26,Se[ri+224>>2]=0|He.__str27,Se[ri+228>>2]=0|He.__str28,Se[ri+240>>2]=0|He.__str29,Se[ri+244>>2]=0|He.__str30,Se[ri+256>>2]=0|He.__str31,Se[ri+260>>2]=0|He.__str32,Se[ri+272>>2]=0|He.__str33,Se[ri+276>>2]=0|He.__str34,Se[ri+288>>2]=0|He.__str35,Se[ri+292>>2]=0|He.__str36,Se[ri+304>>2]=0|He.__str37,Se[ri+308>>2]=0|He.__str38,Se[ri+320>>2]=0|He.__str39,Se[ri+324>>2]=0|He.__str40,Se[ri+336>>2]=0|He.__str41,Se[ri+340>>2]=0|He.__str42,Se[ri+352>>2]=0|He.__str43,Se[ri+356>>2]=0|He.__str44,Se[ri+368>>2]=0|He.__str45,Se[ri+372>>2]=0|He.__str46,Se[ri+384>>2]=0|He.__str47,Se[ri+388>>2]=0|He.__str48,Se[ri+400>>2]=0|He.__str49,Se[ri+404>>2]=0|He.__str119289,Se[ri+416>>2]=0|He.__str51,Se[ri+420>>2]=0|He.__str20,Se[ri+432>>2]=0|He.__str52,Se[ri+436>>2]=0|He.__str53,Se[ri+448>>2]=0|He.__str54,Se[ri+452>>2]=0|He.__str55,Se[ri+464>>2]=0|He.__str56,Se[ri+468>>2]=0|He.__str57,Se[ri+480>>2]=0|He.__str58,Se[ri+484>>2]=0|He.__str119289,Se[ri+496>>2]=0|He.__str59,Se[ri+500>>2]=0|He.__str60,Se[ri+512>>2]=0|He.__str61,Se[ri+516>>2]=0|He.__str62,Se[ri+528>>2]=0|He.__str63,Se[ri+532>>2]=0|He.__str64,Se[ri+544>>2]=0|He.__str65,Se[ri+548>>2]=0|He.__str66,Se[ri+560>>2]=0|He.__str67,Se[ri+564>>2]=0|He.__str68,Se[ri+576>>2]=0|He.__str69,Se[ri+580>>2]=0|He.__str70,Se[ri+592>>2]=0|He.__str71,Se[ri+596>>2]=0|He.__str72,Se[ri+608>>2]=0|He.__str73,Se[ri+612>>2]=0|He.__str74,Se[ri+624>>2]=0|He.__str75,Se[ri+628>>2]=0|He.__str76,Se[ri+640>>2]=0|He.__str77,Se[ri+644>>2]=0|He.__str72,Se[ri+656>>2]=0|He.__str78,Se[ri+660>>2]=0|He.__str79,Se[ri+672>>2]=0|He.__str80,Se[ri+676>>2]=0|He.__str81,Se[ri+688>>2]=0|He.__str82,Se[ri+692>>2]=0|He.__str83,Se[ri+704>>2]=0|He.__str84,Se[ri+708>>2]=0|He.__str85,Se[ri+720>>2]=0|He.__str86,Se[ri+724>>2]=0|He.__str87,Se[ri+736>>2]=0|He.__str88,Se[ri+740>>2]=0|He.__str89,Se[ri+752>>2]=0|He.__str90,Se[ri+756>>2]=0|He.__str91,Se[ri+768>>2]=0|He.__str92,Se[ri+772>>2]=0|He.__str91,Se[ai>>2]=0|He.__str145315,Se[ai+8>>2]=0|He.__str145315,Se[ai+20>>2]=0|He.__str167337,Se[ai+28>>2]=0|He.__str95,Se[ai+40>>2]=0|He.__str146316,Se[ai+48>>2]=0|He.__str97,Se[ai+60>>2]=0|He.__str155325,Se[ai+68>>2]=0|He.__str155325,Se[ai+80>>2]=0|He.__str156326,Se[ai+88>>2]=0|He.__str156326,Se[ai+100>>2]=0|He.__str154324,Se[ai+108>>2]=0|He.__str154324,Se[ai+120>>2]=0|He.__str101,Se[ai+128>>2]=0|He.__str101,Se[ai+140>>2]=0|He.__str147317,Se[ai+148>>2]=0|He.__str147317,Se[ai+160>>2]=0|He.__str150320,Se[ai+168>>2]=0|He.__str150320,Se[ai+180>>2]=0|He.__str151321,Se[ai+188>>2]=0|He.__str105,Se[ai+220>>2]=0|He.__str152322,Se[ai+228>>2]=0|He.__str152322,Se[ai+240>>2]=0|He.__str153323,Se[ai+248>>2]=0|He.__str153323,Se[ai+260>>2]=0|He.__str165335,Se[ai+268>>2]=0|He.__str165335,Se[ai+280>>2]=0|He.__str166336,Se[ai+288>>2]=0|He.__str166336,Se[ai+360>>2]=0|He.__str148318,Se[ai+368>>2]=0|He.__str148318,Se[ai+380>>2]=0|He.__str149319,Se[ai+388>>2]=0|He.__str149319,Se[ai+420>>2]=0|He.__str84254,Se[ai+428>>2]=0|He.__str84254,Se[ai+440>>2]=0|He.__str168338,Se[ai+448>>2]=0|He.__str146316,Se[ai+460>>2]=0|He.__str114,Se[ai+468>>2]=0|He.__str152322,Se[ai+480>>2]=0|He.__str115,Se[ai+488>>2]=0|He.__str115,Se[ai+500>>2]=0|He.__str110280,Se[ai+508>>2]=0|He.__str110280,Se[ei+4>>2]=0|He.__str152,Se[ei+12>>2]=0|He.__str152,Se[ei+32>>2]=0|He.__str153,Se[ei+40>>2]=0|He.__str153,Se[ei+48>>2]=0|He.__str154,Se[ei+60>>2]=0|He.__str155,Se[ei+68>>2]=0|He.__str155,Se[ei+76>>2]=0|He.__str156,Se[ei+88>>2]=0|He.__str157,Se[ei+96>>2]=0|He.__str158,Se[ei+104>>2]=0|He.__str156,Se[ei+116>>2]=0|He.__str159,Se[ei+124>>2]=0|He.__str160,Se[ei+132>>2]=0|He.__str161,Se[ei+144>>2]=0|He.__str162,Se[ei+152>>2]=0|He.__str163,Se[ei+160>>2]=0|He.__str164,Se[ei+172>>2]=0|He.__str165,Se[ei+180>>2]=0|He.__str166,Se[ei+188>>2]=0|He.__str167,Se[si+4>>2]=bi,Se[ni+4>>2]=ki,oi=_([2,0,0,0,0],["i8*",0,0,0,0],we),Se[bi>>2]=oi+8|0,Se[bi+4>>2]=0|He.__ZTSSt9bad_alloc,Se[bi+8>>2]=li,Se[ki>>2]=oi+8|0,Se[ki+4>>2]=0|He.__ZTSSt20bad_array_new_length,Se[ki+8>>2]=bi,ui=16,ci=6,hi=18,di=6,wi=6,pe=[0,0,Jr,0,va,0,ya,0,ga,0,wa,0,Sa,0,pa,0,Ea,0,ma,0],Module.FUNCTION_TABLE=pe,Module.run=ee,Module.preRun&&Module.preRun(),0==Ke){ee()}Module.postRun&&Module.postRun(),Module.___cxa_demangle=G;var pi=v("__cxa_demangle","string",["string","string","number","number"]);return function(r){return pi(r,"",1,0)}}();\\n\'},121:(e,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Flamechart=void 0;const t=a(844),i=a(293);r.Flamechart=class{constructor(e){this.source=e,this.layers=[],this.totalWeight=0,this.minFrameWidth=1;const r=[];this.minFrameWidth=1/0,this.totalWeight=e.getTotalWeight(),e.forEachCall(((e,a)=>{const i=t.lastOf(r),n={node:e,parent:i,children:[],start:a,end:a};i&&i.children.push(n),r.push(n)}),((e,a)=>{console.assert(r.length>0);const t=r.pop();if(t.end=a,t.end-t.start==0)return;const i=r.length;for(;this.layers.length<=i;)this.layers.push([]);this.layers[i].push(t),this.minFrameWidth=Math.min(this.minFrameWidth,t.end-t.start)})),isFinite(this.minFrameWidth)||(this.minFrameWidth=1)}getTotalWeight(){return this.totalWeight}getLayers(){return this.layers}getColorBucketForFrame(e){return this.source.getColorBucketForFrame(e)}getMinFrameWidth(){return this.minFrameWidth}formatValue(e){return this.source.formatValue(e)}getClampedViewportWidth(e){const r=this.getTotalWeight(),a=Math.pow(2,40),t=i.clamp(3*this.getMinFrameWidth(),r/a,r);return i.clamp(e,t,r)}getClampedConfigSpaceViewportRect({configSpaceViewportRect:e,renderInverted:r}){const a=new i.Vec2(this.getTotalWeight(),this.getLayers().length),t=this.getClampedViewportWidth(e.size.x),n=e.size.withX(t),s=i.Vec2.clamp(e.origin,new i.Vec2(0,r?0:-1),i.Vec2.max(i.Vec2.zero,a.minus(n).plus(new i.Vec2(0,1))));return new i.Rect(s,e.size.withX(t))}}},293:(e,r)=>{"use strict";function a(e,r,a){return e<r?r:e>a?a:e}Object.defineProperty(r,"__esModule",{value:!0}),r.Rect=r.AffineTransform=r.Vec2=r.clamp=void 0,r.clamp=a;let t=(()=>{class e{constructor(e,r){this.x=e,this.y=r}withX(r){return new e(r,this.y)}withY(r){return new e(this.x,r)}plus(r){return new e(this.x+r.x,this.y+r.y)}minus(r){return new e(this.x-r.x,this.y-r.y)}times(r){return new e(this.x*r,this.y*r)}timesPointwise(r){return new e(this.x*r.x,this.y*r.y)}dividedByPointwise(r){return new e(this.x/r.x,this.y/r.y)}dot(e){return this.x*e.x+this.y*e.y}equals(e){return this.x===e.x&&this.y===e.y}approxEquals(e,r=1e-9){return Math.abs(this.x-e.x)<r&&Math.abs(this.y-e.y)<r}length2(){return this.dot(this)}length(){return Math.sqrt(this.length2())}abs(){return new e(Math.abs(this.x),Math.abs(this.y))}static min(r,a){return new e(Math.min(r.x,a.x),Math.min(r.y,a.y))}static max(r,a){return new e(Math.max(r.x,a.x),Math.max(r.y,a.y))}static clamp(r,t,i){return new e(a(r.x,t.x,i.x),a(r.y,t.y,i.y))}flatten(){return[this.x,this.y]}}return e.zero=new e(0,0),e.unit=new e(1,1),e})();r.Vec2=t;class i{constructor(e=1,r=0,a=0,t=0,i=1,n=0){this.m00=e,this.m01=r,this.m02=a,this.m10=t,this.m11=i,this.m12=n}withScale(e){let{m00:r,m01:a,m02:t,m10:n,m11:s,m12:v}=this;return r=e.x,s=e.y,new i(r,a,t,n,s,v)}static withScale(e){return(new i).withScale(e)}scaledBy(e){return i.withScale(e).times(this)}getScale(){return new t(this.m00,this.m11)}withTranslation(e){let{m00:r,m01:a,m02:t,m10:n,m11:s,m12:v}=this;return t=e.x,v=e.y,new i(r,a,t,n,s,v)}static withTranslation(e){return(new i).withTranslation(e)}getTranslation(){return new t(this.m02,this.m12)}translatedBy(e){return i.withTranslation(e).times(this)}static betweenRects(e,r){return i.withTranslation(e.origin.times(-1)).scaledBy(new t(r.size.x/e.size.x,r.size.y/e.size.y)).translatedBy(r.origin)}times(e){const r=this.m00*e.m00+this.m01*e.m10,a=this.m00*e.m01+this.m01*e.m11,t=this.m00*e.m02+this.m01*e.m12+this.m02,n=this.m10*e.m00+this.m11*e.m10,s=this.m10*e.m01+this.m11*e.m11,v=this.m10*e.m02+this.m11*e.m12+this.m12;return new i(r,a,t,n,s,v)}equals(e){return this.m00==e.m00&&this.m01==e.m01&&this.m02==e.m02&&this.m10==e.m10&&this.m11==e.m11&&this.m12==e.m12}approxEquals(e,r=1e-9){return Math.abs(this.m00-e.m00)<r&&Math.abs(this.m01-e.m01)<r&&Math.abs(this.m02-e.m02)<r&&Math.abs(this.m10-e.m10)<r&&Math.abs(this.m11-e.m11)<r&&Math.abs(this.m12-e.m12)<r}timesScalar(e){const{m00:r,m01:a,m02:t,m10:n,m11:s,m12:v}=this;return new i(e*r,e*a,e*t,e*n,e*s,e*v)}det(){const{m00:e,m01:r,m02:a,m10:t,m11:i,m12:n}=this;return e*(1*i-0*n)-r*(1*t-0*n)+a*(0*t-0*i)}adj(){const{m00:e,m01:r,m02:a,m10:t,m11:n,m12:s}=this;return new i(+(1*n-0*s),-(1*r-0*a),+(r*s-a*n),-(1*t-0*s),+(1*e-0*a),-(e*s-a*t))}inverted(){const e=this.det();return 0===e?null:this.adj().timesScalar(1/e)}transformVector(e){return new t(e.x*this.m00+e.y*this.m01,e.x*this.m10+e.y*this.m11)}inverseTransformVector(e){const r=this.inverted();return r?r.transformVector(e):null}transformPosition(e){return new t(e.x*this.m00+e.y*this.m01+this.m02,e.x*this.m10+e.y*this.m11+this.m12)}inverseTransformPosition(e){const r=this.inverted();return r?r.transformPosition(e):null}transformRect(e){const r=this.transformVector(e.size),a=this.transformPosition(e.origin);return r.x<0&&r.y<0?new n(a.plus(r),r.abs()):r.x<0?new n(a.withX(a.x+r.x),r.abs()):r.y<0?new n(a.withY(a.y+r.y),r.abs()):new n(a,r)}inverseTransformRect(e){const r=this.inverted();return r?r.transformRect(e):null}flatten(){return[this.m00,this.m10,0,this.m01,this.m11,0,this.m02,this.m12,1]}}r.AffineTransform=i;let n=(()=>{class e{constructor(e,r){this.origin=e,this.size=r}isEmpty(){return 0==this.width()||0==this.height()}width(){return this.size.x}height(){return this.size.y}left(){return this.origin.x}right(){return this.left()+this.width()}top(){return this.origin.y}bottom(){return this.top()+this.height()}topLeft(){return this.origin}topRight(){return this.origin.plus(new t(this.width(),0))}bottomRight(){return this.origin.plus(this.size)}bottomLeft(){return this.origin.plus(new t(0,this.height()))}withOrigin(r){return new e(r,this.size)}withSize(r){return new e(this.origin,r)}closestPointTo(e){return new t(a(e.x,this.left(),this.right()),a(e.y,this.top(),this.bottom()))}distanceFrom(e){return e.minus(this.closestPointTo(e)).length()}contains(e){return 0===this.distanceFrom(e)}hasIntersectionWith(e){const r=Math.max(this.top(),e.top());if(Math.max(r,Math.min(this.bottom(),e.bottom()))-r==0)return!1;const a=Math.max(this.left(),e.left());return Math.max(a,Math.min(this.right(),e.right()))-a!=0}intersectWith(r){const a=t.max(this.topLeft(),r.topLeft()),i=t.max(a,t.min(this.bottomRight(),r.bottomRight()));return new e(a,i.minus(a))}equals(e){return this.origin.equals(e.origin)&&this.size.equals(e.size)}approxEquals(e){return this.origin.approxEquals(e.origin)&&this.size.approxEquals(e.size)}area(){return this.size.x*this.size.y}}return e.empty=new e(t.zero,t.zero),e.unit=new e(t.zero,t.unit),e.NDC=new e(new t(-1,-1),new t(2,2)),e})();r.Rect=n},211:function(e,r,a){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,a,t){void 0===t&&(t=a),Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[a]}})}:function(e,r,a,t){void 0===t&&(t=a),e[t]=r[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.hasOwnProperty.call(e,a)&&t(r,e,a);return i(r,e),r},s=this&&this.__awaiter||function(e,r,a,t){return new(a||(a=Promise))((function(i,n){function s(e){try{o(t.next(e))}catch(e){n(e)}}function v(e){try{o(t.throw(e))}catch(e){n(e)}}function o(e){var r;e.done?i(e.value):(r=e.value,r instanceof a?r:new a((function(e){e(r)}))).then(s,v)}o((t=t.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0}),r.CallTreeProfileBuilder=r.StackListProfileBuilder=r.Profile=r.CallTreeNode=r.Frame=r.HasWeights=void 0;const v=a(844),o=a(218),f=Promise.resolve().then((()=>n(a(765))));f.then((()=>{}));class l{constructor(){this.selfWeight=0,this.totalWeight=0}getSelfWeight(){return this.selfWeight}getTotalWeight(){return this.totalWeight}addToTotalWeight(e){this.totalWeight+=e}addToSelfWeight(e){this.selfWeight+=e}overwriteWeightWith(e){this.selfWeight=e.selfWeight,this.totalWeight=e.totalWeight}}r.HasWeights=l;let _=(()=>{class e extends l{constructor(e){super(),this.key=e.key,this.name=e.name,this.file=e.file,this.line=e.line,this.col=e.col}static getOrInsert(r,a){return r.getOrInsert(new e(a))}}return e.root=new e({key:"(speedscope root)",name:"(speedscope root)"}),e})();r.Frame=_;class S extends l{constructor(e,r){super(),this.frame=e,this.parent=r,this.children=[],this.frozen=!1}isRoot(){return this.frame===_.root}isFrozen(){return this.frozen}freeze(){this.frozen=!0}}r.CallTreeNode=S;class u{constructor(e=0){this.name="",this.frames=new v.KeyedSet,this.appendOrderCalltreeRoot=new S(_.root,null),this.groupedCalltreeRoot=new S(_.root,null),this.samples=[],this.weights=[],this.valueFormatter=new o.RawValueFormatter,this.totalNonIdleWeight=null,this.totalWeight=e}getAppendOrderCalltreeRoot(){return this.appendOrderCalltreeRoot}getGroupedCalltreeRoot(){return this.groupedCalltreeRoot}formatValue(e){return this.valueFormatter.format(e)}setValueFormatter(e){this.valueFormatter=e}getWeightUnit(){return this.valueFormatter.unit}getName(){return this.name}setName(e){this.name=e}getTotalWeight(){return this.totalWeight}getTotalNonIdleWeight(){return null===this.totalNonIdleWeight&&(this.totalNonIdleWeight=this.groupedCalltreeRoot.children.reduce(((e,r)=>e+r.getTotalWeight()),0)),this.totalNonIdleWeight}sortGroupedCallTree(){!function e(r){r.children.sort(((e,r)=>-(e.getTotalWeight()-r.getTotalWeight()))),r.children.forEach(e)}(this.groupedCalltreeRoot)}forEachCallGrouped(e,r){!function a(t,i){t.frame!==_.root&&e(t,i);let n=0;t.children.forEach((function(e){a(e,i+n),n+=e.getTotalWeight()})),t.frame!==_.root&&r(t,i+t.getTotalWeight())}(this.groupedCalltreeRoot,0)}forEachCall(e,r){let a=[],t=0,i=0;for(let n of this.samples){let s=null;for(s=n;s&&s.frame!=_.root&&-1===a.indexOf(s);s=s.parent);for(;a.length>0&&v.lastOf(a)!=s;)r(a.pop(),t);const o=[];for(let e=n;e&&e.frame!=_.root&&e!=s;e=e.parent)o.push(e);o.reverse();for(let r of o)e(r,t);a=a.concat(o),t+=this.weights[i++]}for(let e=a.length-1;e>=0;e--)r(a[e],t)}forEachFrame(e){this.frames.forEach(e)}getProfileWithRecursionFlattened(){const e=new h,r=[],a=new Set;this.forEachCall((function(t,i){a.has(t.frame)?r.push(null):(a.add(t.frame),r.push(t),e.enterFrame(t.frame,i))}),(function(t,i){const n=r.pop();n&&(a.delete(n.frame),e.leaveFrame(n.frame,i))}));const t=e.build();return t.name=this.name,t.valueFormatter=this.valueFormatter,this.forEachFrame((e=>{t.frames.getOrInsert(e).overwriteWeightWith(e)})),t}getInvertedProfileForCallersOf(e){const r=_.getOrInsert(this.frames,e),a=new c,t=[];!function e(a){if(a.frame===r)t.push(a);else for(let r of a.children)e(r)}(this.appendOrderCalltreeRoot);for(let e of t){const r=[];for(let a=e;null!=a&&a.frame!==_.root;a=a.parent)r.push(a.frame);a.appendSampleWithWeight(r,e.getTotalWeight())}const i=a.build();return i.name=this.name,i.valueFormatter=this.valueFormatter,i}getProfileForCalleesOf(e){const r=_.getOrInsert(this.frames,e),a=new c;!function e(t){if(t.frame===r)!function(e){const r=[];!function e(t){r.push(t.frame),a.appendSampleWithWeight(r,t.getSelfWeight());for(let r of t.children)e(r);r.pop()}(e)}(t);else for(let r of t.children)e(r)}(this.appendOrderCalltreeRoot);const t=a.build();return t.name=this.name,t.valueFormatter=this.valueFormatter,t}demangle(){return s(this,void 0,void 0,(function*(){let e=null;for(let r of this.frames)r.name.startsWith("__Z")&&(e||(e=(yield f).demangleCpp),r.name=e(r.name))}))}remapNames(e){for(let r of this.frames)r.name=e(r.name)}}r.Profile=u;class c extends u{constructor(){super(...arguments),this.pendingSample=null}_appendSample(e,r,a){if(isNaN(r))throw new Error("invalid weight");let t=a?this.appendOrderCalltreeRoot:this.groupedCalltreeRoot,i=new Set;for(let n of e){const e=_.getOrInsert(this.frames,n),s=a?v.lastOf(t.children):t.children.find((r=>r.frame===e));if(s&&!s.isFrozen()&&s.frame==e)t=s;else{const r=t;t=new S(e,t),r.children.push(t)}t.addToTotalWeight(r),i.add(t.frame)}if(t.addToSelfWeight(r),a)for(let e of t.children)e.freeze();if(a){t.frame.addToSelfWeight(r);for(let e of i)e.addToTotalWeight(r);t===v.lastOf(this.samples)?this.weights[this.weights.length-1]+=r:(this.samples.push(t),this.weights.push(r))}}appendSampleWithWeight(e,r){if(0!==r){if(r<0)throw new Error("Samples must have positive weights");this._appendSample(e,r,!0),this._appendSample(e,r,!1)}}appendSampleWithTimestamp(e,r){if(this.pendingSample){if(r<this.pendingSample.centralTimestamp)throw new Error("Timestamps received out of order");const a=(r+this.pendingSample.centralTimestamp)/2;this.appendSampleWithWeight(this.pendingSample.stack,a-this.pendingSample.startTimestamp),this.pendingSample={stack:e,startTimestamp:a,centralTimestamp:r}}else this.pendingSample={stack:e,startTimestamp:r,centralTimestamp:r}}build(){return this.pendingSample&&(this.samples.length>0?this.appendSampleWithWeight(this.pendingSample.stack,this.pendingSample.centralTimestamp-this.pendingSample.startTimestamp):(this.appendSampleWithWeight(this.pendingSample.stack,1),this.setValueFormatter(new o.RawValueFormatter))),this.totalWeight=Math.max(this.totalWeight,this.weights.reduce(((e,r)=>e+r),0)),this.sortGroupedCallTree(),this}}r.StackListProfileBuilder=c;class h extends u{constructor(){super(...arguments),this.appendOrderStack=[this.appendOrderCalltreeRoot],this.groupedOrderStack=[this.groupedCalltreeRoot],this.framesInStack=new Map,this.stack=[],this.lastValue=0}addWeightsToFrames(e){const r=e-this.lastValue;for(let e of this.framesInStack.keys())e.addToTotalWeight(r);const a=v.lastOf(this.stack);a&&a.addToSelfWeight(r)}addWeightsToNodes(e,r){const a=e-this.lastValue;for(let e of r)e.addToTotalWeight(a);const t=v.lastOf(r);t&&t.addToSelfWeight(a)}_enterFrame(e,r,a){let t=a?this.appendOrderStack:this.groupedOrderStack;this.addWeightsToNodes(r,t);let i=v.lastOf(t);if(i){if(a){const e=r-this.lastValue;if(e>0)this.samples.push(i),this.weights.push(r-this.lastValue);else if(e<0)throw new Error(`Samples must be provided in increasing order of cumulative value. Last sample was ${this.lastValue}, this sample was ${r}`)}const n=a?v.lastOf(i.children):i.children.find((r=>r.frame===e));let s;n&&!n.isFrozen()&&n.frame==e?s=n:(s=new S(e,i),i.children.push(s)),t.push(s)}}enterFrame(e,r){const a=_.getOrInsert(this.frames,e);this.addWeightsToFrames(r),this._enterFrame(a,r,!0),this._enterFrame(a,r,!1),this.stack.push(a);const t=this.framesInStack.get(a)||0;this.framesInStack.set(a,t+1),this.lastValue=r}_leaveFrame(e,r,a){let t=a?this.appendOrderStack:this.groupedOrderStack;if(this.addWeightsToNodes(r,t),a){const a=this.appendOrderStack.pop();if(null==a)throw new Error(`Trying to leave ${e.key} when stack is empty`);if(null==this.lastValue)throw new Error(`Trying to leave a ${e.key} before any have been entered`);if(a.freeze(),a.frame.key!==e.key)throw new Error(`Tried to leave frame "${e.name}" while frame "${a.frame.name}" was at the top at ${r}`);const t=r-this.lastValue;if(t>0)this.samples.push(a),this.weights.push(r-this.lastValue);else if(t<0)throw new Error(`Samples must be provided in increasing order of cumulative value. Last sample was ${this.lastValue}, this sample was ${r}`)}else this.groupedOrderStack.pop()}leaveFrame(e,r){const a=_.getOrInsert(this.frames,e);this.addWeightsToFrames(r),this._leaveFrame(a,r,!0),this._leaveFrame(a,r,!1),this.stack.pop();const t=this.framesInStack.get(a);null!=t&&(1===t?this.framesInStack.delete(a):this.framesInStack.set(a,t-1),this.lastValue=r,this.totalWeight=Math.max(this.totalWeight,this.lastValue))}build(){if(this.appendOrderStack.length>1||this.groupedOrderStack.length>1)throw new Error("Tried to complete profile construction with a non-empty stack");return this.sortGroupedCallTree(),this}}r.CallTreeProfileBuilder=h},844:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.decodeBase64=r.lazyStatic=r.memoizeByReference=r.memoizeByShallowEquality=r.objectsHaveShallowEquality=r.noop=r.binarySearch=r.triangle=r.fract=r.formatPercent=r.zeroPad=r.itReduce=r.itForEach=r.itMap=r.KeyedSet=r.getOrThrow=r.getOrElse=r.getOrInsert=r.sortBy=r.lastOf=void 0,r.lastOf=function(e){return e[e.length-1]||null},r.sortBy=function(e,r){e.sort((function(e,a){const t=r(e),i=r(a);return t<i?-1:t>i?1:0}))},r.getOrInsert=function(e,r,a){return e.has(r)||e.set(r,a(r)),e.get(r)},r.getOrElse=function(e,r,a){return e.has(r)?e.get(r):a(r)},r.getOrThrow=function(e,r){if(!e.has(r))throw new Error(`Expected key ${r}`);return e.get(r)};class a{constructor(){this.map=new Map}getOrInsert(e){const r=e.key;return this.map.get(r)||(this.map.set(r,e),e)}forEach(e){this.map.forEach(e)}[Symbol.iterator](){return this.map.values()}}function t(e){return e-Math.floor(e)}function i(e,r){for(let a in e)if(e[a]!==r[a])return!1;for(let a in r)if(e[a]!==r[a])return!1;return!0}function n(e){let r=null;return()=>(null==r&&(r={result:e()}),r.result)}r.KeyedSet=a,r.itMap=function*(e,r){for(let a of e)yield r(a)},r.itForEach=function(e,r){for(let a of e)r(a)},r.itReduce=function(e,r,a){let t=a;for(let a of e)t=r(t,a);return t},r.zeroPad=function(e,r){return new Array(Math.max(r-e.length,0)+1).join("0")+e},r.formatPercent=function(e){let r=`${e.toFixed(0)}%`;return 100===e?r="100%":e>99?r=">99%":e<.01?r="<0.01%":e<1?r=`${e.toFixed(2)}%`:e<10&&(r=`${e.toFixed(1)}%`),r},r.fract=t,r.triangle=function(e){return 2*Math.abs(t(e)-.5)-1},r.binarySearch=function(e,r,a,t,i=1){for(console.assert(!isNaN(i)&&!isNaN(t));;){if(r-e<=i)return[e,r];const n=(r+e)/2;a(n)<t?e=n:r=n}},r.noop=function(...e){},r.objectsHaveShallowEquality=i,r.memoizeByShallowEquality=function(e){let r=null;return a=>{let t;return null==r?(t=e(a),r={args:a,result:t},t):(i(r.args,a)||(r.args=a,r.result=e(a)),r.result)}},r.memoizeByReference=function(e){let r=null;return a=>{let t;return null==r?(t=e(a),r={args:a,result:t},t):(r.args===a||(r.args=a,r.result=e(a)),r.result)}},r.lazyStatic=n;const s=n((()=>{const e=new Map;for(let r=0;r<64;r++)e.set("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r),r);return e.set("=",-1),e}));r.decodeBase64=function(e){const r=s();if(e.length%4!=0)throw new Error(`Invalid length for base64 encoded string. Expected length % 4 = 0, got length = ${e.length}`);const a=e.length/4;let t;t=e.length>=4&&"="===e.charAt(e.length-1)?"="===e.charAt(e.length-2)?3*a-2:3*a-1:3*a;const i=new Uint8Array(t);let n=0;for(let t=0;t<a;t++){const a=e.charAt(4*t+0),s=e.charAt(4*t+1),v=e.charAt(4*t+2),o=e.charAt(4*t+3),f=r.get(a),l=r.get(s),_=r.get(v),S=r.get(o);if(null==f||null==l||null==_||null==S)throw new Error(`Invalid quartet at indices ${4*t} .. ${4*t+3}: ${e.substring(4*t,4*t+3)}`);i[n++]=f<<2|l>>4,"="!==v&&(i[n++]=(15&l)<<4|_>>2),"="!==o&&(i[n++]=(7&_)<<6|S)}if(n!==t)throw new Error(`Expected to decode ${t} bytes, but only decoded ${n})`);return i}},218:(e,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ByteFormatter=r.TimeFormatter=r.RawValueFormatter=void 0;const t=a(844);r.RawValueFormatter=class{constructor(){this.unit="none"}format(e){return e.toLocaleString()}},r.TimeFormatter=class{constructor(e){this.unit=e,this.multiplier="nanoseconds"===e?1e-9:"microseconds"===e?1e-6:"milliseconds"===e?.001:1}formatUnsigned(e){const r=e*this.multiplier;if(r/60>=1){const e=Math.floor(r/60),a=Math.floor(r-60*e).toString();return`${e}:${t.zeroPad(a,2)}`}return r/1>=1?`${r.toFixed(2)}s`:r/.001>=1?`${(r/.001).toFixed(2)}ms`:r/1e-6>=1?`${(r/1e-6).toFixed(2)}µs`:`${(r/1e-9).toFixed(2)}ns`}format(e){return`${e<0?"-":""}${this.formatUnsigned(Math.abs(e))}`}},r.ByteFormatter=class{constructor(){this.unit="bytes"}format(e){return e<1024?`${e.toFixed(0)} B`:(e/=1024)<1024?`${e.toFixed(2)} KB`:(e/=1024)<1024?`${e.toFixed(2)} MB`:`${(e/=1024).toFixed(2)} GB`}}},41:function(e,r,a){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,a,t){void 0===t&&(t=a),Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[a]}})}:function(e,r,a,t){void 0===t&&(t=a),e[t]=r[a]}),i=this&&this.__exportStar||function(e,r){for(var a in e)"default"===a||r.hasOwnProperty(a)||t(r,e,a)};Object.defineProperty(r,"__esModule",{value:!0}),i(a(496),r),i(a(121),r)},715:function(e,r,a){var t,i,n;!function(s,v){"use strict";i=[a(356)],void 0===(n="function"==typeof(t=function(e){var r=/(^|@)\\S+:\\d+/,a=/^\\s*at .*(\\S+:\\d+|\\(native\\))/m,t=/^(eval@)?(\\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(a))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var r=/(.+?)(?::(\\d+))?(?::(\\d+))?$/.exec(e.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},parseV8OrIE:function(r){return r.stack.split("\\n").filter((function(e){return!!e.match(a)}),this).map((function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\\(eval at [^()]*)|(\\),.*$)/g,""));var a=r.replace(/^\\s+/,"").replace(/\\(eval code/g,"("),t=a.match(/ (\\((.+):(\\d+):(\\d+)\\)$)/),i=(a=t?a.replace(t[0],""):a).split(/\\s+/).slice(1),n=this.extractLocation(t?t[1]:i.pop()),s=i.join(" ")||void 0,v=["eval","<anonymous>"].indexOf(n[0])>-1?void 0:n[0];return new e({functionName:s,fileName:v,lineNumber:n[1],columnNumber:n[2],source:r})}),this)},parseFFOrSafari:function(r){return r.stack.split("\\n").filter((function(e){return!e.match(t)}),this).map((function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\\d+)(?: > eval line \\d+)* > eval:\\d+:\\d+/g,":$1")),-1===r.indexOf("@")&&-1===r.indexOf(":"))return new e({functionName:r});var a=/((.*".+"[^@]*)?[^@]*)(?:@)/,t=r.match(a),i=t&&t[1]?t[1]:void 0,n=this.extractLocation(r.replace(a,""));return new e({functionName:i,fileName:n[0],lineNumber:n[1],columnNumber:n[2],source:r})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\\n")>-1&&e.message.split("\\n").length>e.stacktrace.split("\\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(r){for(var a=/Line (\\d+).*script (?:in )?(\\S+)/i,t=r.message.split("\\n"),i=[],n=2,s=t.length;n<s;n+=2){var v=a.exec(t[n]);v&&i.push(new e({fileName:v[2],lineNumber:v[1],source:t[n]}))}return i},parseOpera10:function(r){for(var a=/Line (\\d+).*script (?:in )?(\\S+)(?:: In function (\\S+))?$/i,t=r.stacktrace.split("\\n"),i=[],n=0,s=t.length;n<s;n+=2){var v=a.exec(t[n]);v&&i.push(new e({functionName:v[3]||void 0,fileName:v[2],lineNumber:v[1],source:t[n]}))}return i},parseOpera11:function(a){return a.stack.split("\\n").filter((function(e){return!!e.match(r)&&!e.match(/^Error created at/)}),this).map((function(r){var a,t=r.split("@"),i=this.extractLocation(t.pop()),n=t.shift()||"",s=n.replace(/<anonymous function(: (\\w+))?>/,"$2").replace(/\\([^)]*\\)/g,"")||void 0;n.match(/\\(([^)]*)\\)/)&&(a=n.replace(/^[^(]+\\(([^)]*)\\)$/,"$1"));var v=void 0===a||"[arguments not available]"===a?void 0:a.split(",");return new e({functionName:s,args:v,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:r})}),this)}}})?t.apply(r,i):t)||(e.exports=n)}()},69:e=>{"use strict";function r(e,r){if(null!=e)return e;var a=new Error(void 0!==r?r:"Got unexpected "+e);throw a.framesToPop=1,a}e.exports=r,e.exports.default=r,Object.defineProperty(e.exports,"__esModule",{value:!0})},356:function(e,r){var a,t,i;!function(n,s){"use strict";t=[],void 0===(i="function"==typeof(a=function(){function e(e){return e.charAt(0).toUpperCase()+e.substring(1)}function r(e){return function(){return this[e]}}var a=["isConstructor","isEval","isNative","isToplevel"],t=["columnNumber","lineNumber"],i=["fileName","functionName","source"],n=a.concat(t,i,["args"]);function s(r){if(r)for(var a=0;a<n.length;a++)void 0!==r[n[a]]&&this["set"+e(n[a])](r[n[a]])}s.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof s)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new s(e)}},toString:function(){var e=this.getFileName()||"",r=this.getLineNumber()||"",a=this.getColumnNumber()||"",t=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+r+":"+a+")":"[eval]:"+r+":"+a:t?t+" ("+e+":"+r+":"+a+")":e+":"+r+":"+a}},s.fromString=function(e){var r=e.indexOf("("),a=e.lastIndexOf(")"),t=e.substring(0,r),i=e.substring(r+1,a).split(","),n=e.substring(a+1);if(0===n.indexOf("@"))var v=/@(.+?)(?::(\\d+))?(?::(\\d+))?$/.exec(n,""),o=v[1],f=v[2],l=v[3];return new s({functionName:t,args:i||void 0,fileName:o,lineNumber:f||void 0,columnNumber:l||void 0})};for(var v=0;v<a.length;v++)s.prototype["get"+e(a[v])]=r(a[v]),s.prototype["set"+e(a[v])]=function(e){return function(r){this[e]=Boolean(r)}}(a[v]);for(var o=0;o<t.length;o++)s.prototype["get"+e(t[o])]=r(t[o]),s.prototype["set"+e(t[o])]=function(e){return function(r){if(a=r,isNaN(parseFloat(a))||!isFinite(a))throw new TypeError(e+" must be a Number");var a;this[e]=Number(r)}}(t[o]);for(var f=0;f<i.length;f++)s.prototype["get"+e(i[f])]=r(i[f]),s.prototype["set"+e(i[f])]=function(e){return function(r){this[e]=String(r)}}(i[f]);return s})?a.apply(r,t):a)||(e.exports=i)}()},853:e=>{var r=function(e){"use strict";var r,a=Object.prototype,t=a.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",v=i.toStringTag||"@@toStringTag";function o(e,r,a){return Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{o({},"")}catch(e){o=function(e,r,a){return e[r]=a}}function f(e,r,a,t){var i=r&&r.prototype instanceof d?r:d,n=Object.create(i.prototype),s=new O(t||[]);return n._invoke=function(e,r,a){var t=_;return function(i,n){if(t===u)throw new Error("Generator is already running");if(t===c){if("throw"===i)throw n;return T()}for(a.method=i,a.arg=n;;){var s=a.delegate;if(s){var v=A(s,a);if(v){if(v===h)continue;return v}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(t===_)throw t=c,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);t=u;var o=l(e,r,a);if("normal"===o.type){if(t=a.done?c:S,o.arg===h)continue;return{value:o.arg,done:a.done}}"throw"===o.type&&(t=c,a.method="throw",a.arg=o.arg)}}}(e,a,s),n}function l(e,r,a){try{return{type:"normal",arg:e.call(r,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var _="suspendedStart",S="suspendedYield",u="executing",c="completed",h={};function d(){}function b(){}function p(){}var m={};m[n]=function(){return this};var k=Object.getPrototypeOf,w=k&&k(k(C([])));w&&w!==a&&t.call(w,n)&&(m=w);var g=p.prototype=d.prototype=Object.create(m);function H(e){["next","throw","return"].forEach((function(r){o(e,r,(function(e){return this._invoke(r,e)}))}))}function M(e,r){function a(i,n,s,v){var o=l(e[i],e,n);if("throw"!==o.type){var f=o.arg,_=f.value;return _&&"object"==typeof _&&t.call(_,"__await")?r.resolve(_.__await).then((function(e){a("next",e,s,v)}),(function(e){a("throw",e,s,v)})):r.resolve(_).then((function(e){f.value=e,s(f)}),(function(e){return a("throw",e,s,v)}))}v(o.arg)}var i;this._invoke=function(e,t){function n(){return new r((function(r,i){a(e,t,r,i)}))}return i=i?i.then(n,n):n()}}function A(e,a){var t=e.iterator[a.method];if(t===r){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=r,A(e,a),"throw"===a.method))return h;a.method="throw",a.arg=new TypeError("The iterator does not provide a \'throw\' method")}return h}var i=l(t,e.iterator,a.arg);if("throw"===i.type)return a.method="throw",a.arg=i.arg,a.delegate=null,h;var n=i.arg;return n?n.done?(a[e.resultName]=n.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=r),a.delegate=null,h):n:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,h)}function y(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function E(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(y,this),this.reset(!0)}function C(e){if(e){var a=e[n];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,s=function a(){for(;++i<e.length;)if(t.call(e,i))return a.value=e[i],a.done=!1,a;return a.value=r,a.done=!0,a};return s.next=s}}return{next:T}}function T(){return{value:r,done:!0}}return b.prototype=g.constructor=p,p.constructor=b,b.displayName=o(p,v,"GeneratorFunction"),e.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===b||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,o(e,v,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},H(M.prototype),M.prototype[s]=function(){return this},e.AsyncIterator=M,e.async=function(r,a,t,i,n){void 0===n&&(n=Promise);var s=new M(f(r,a,t,i),n);return e.isGeneratorFunction(a)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},H(g),o(g,v,"Generator"),g[n]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var r=[];for(var a in e)r.push(a);return r.reverse(),function a(){for(;r.length;){var t=r.pop();if(t in e)return a.value=t,a.done=!1,a}return a.done=!0,a}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!e)for(var a in this)"t"===a.charAt(0)&&t.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var a=this;function i(t,i){return v.type="throw",v.arg=e,a.next=t,i&&(a.method="next",a.arg=r),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var s=this.tryEntries[n],v=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var o=t.call(s,"catchLoc"),f=t.call(s,"finallyLoc");if(o&&f){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(o){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,r){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&t.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=r&&r<=n.finallyLoc&&(n=null);var s=n?n.completion:{};return s.type=e,s.arg=r,n?(this.method="next",this.next=n.finallyLoc,h):this.complete(s)},complete:function(e,r){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&r&&(this.next=r),h},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),h}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc===e){var t=a.completion;if("throw"===t.type){var i=t.arg;E(a)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:C(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=r),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}}},r={};function a(t){var i=r[t];if(void 0!==i)return i.exports;var n=r[t]={exports:{}};return e[t].call(n.exports,n,n.exports,a),n.exports}a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var t={};(()=>{"use strict";a.d(t,{importFile:()=>g}),a(853);var e=a(41);const r=(parseInt("22px",10),parseInt("18px",10),31),i=1;class n extends Error{}function s(e,r){if(e.length!==r.length)return!1;for(var a=0;a<e.length;a++)if(e[a]!==r[a])return!1;return!0}const v=function(e,r){var a;void 0===r&&(r=s);var t,i=[],n=!1;return function(){for(var s=[],v=0;v<arguments.length;v++)s[v]=arguments[v];return n&&a===this&&r(s,i)||(t=e.apply(this,s),n=!0,a=this,i=s),t}}((function(e,r,a=0){const t=r.batchUIDToMeasuresMap.get(e);if(null==t||0===t.length)throw Error(`Could not find measures with batch UID "${e}"`);const i=t[t.length-1],n=i.timestamp+i.duration;if(n<a)return[0,0];let s=a;for(let e=0;e<t.length;e++){const r=t[e];if(r.timestamp>=a){s=r.timestamp;break}}return[s,n]}));var o=a(715),f=a.n(o);const l="An event handler scheduled a big update with React. Consider using the Transition API to defer some of this work.",_="A component suspended during an update which caused a fallback to be shown. Consider using the Transition API to avoid hiding components after they\'ve been mounted.";function S(e){const a=parseInt(e,10);if(a<0)return[];const t=[];let i=0;for(;i<=r;)1<<i&a&&t.push(i),i++;return t}let u=null;function c(e,r,a,t,i){const{batchUID:n,measureStack:s}=i,v=function(e){if(e.length>0){const{depth:r,type:a}=e[e.length-1];return"render-idle"===a?r:r+1}return 0}(s),o={type:e,batchUID:n,depth:v,lanes:a,timestamp:r,duration:0};i.measureStack.push({depth:v,measure:o,startTime:r,type:e});const f=t.batchUIDToMeasuresMap.get(n);null!=f?f.push(o):t.batchUIDToMeasuresMap.set(i.batchUID,[o]),a.forEach((e=>{t.laneToReactMeasureMap.get(e).push(o)}))}function h(e,r,a,t){if(0===t.length)return void console.error(\'Unexpected type "%s" completed at %sms while stack is empty.\',e,r);const i=t[t.length-1];i.type!==e&&console.error(\'Unexpected type "%s" completed at %sms before "%s" completed.\',e,r,i.type);const{measure:n,startTime:s}=t.pop();n||console.error(\'Could not find matching measure for type "%s".\',e),n.duration=r-s}function d(e){null!==e.currentReactComponentMeasure&&console.error("Component measure started while another measure in progress:",e.currentReactComponentMeasure)}function b(e,r){null===e.currentReactComponentMeasure?console.error(`Component measure type "${r}" stopped while no measure was in progress`):e.currentReactComponentMeasure.type!==r&&console.error(`Component measure type "${r}" stopped while type ${e.currentReactComponentMeasure.type} in progress`)}function p(e){const r=new Error;r.stack=e;const a=f().parse(r);return 1===a.length?a[0]:null}async function m(a){const t=function(r){let a;try{a=(0,e.importFromChromeTimeline)(r,"react-devtools")}catch(e){const r=new n(e.message);throw r.stack=e.stack,r}const t=a.profiles[0];return new e.Flamechart({getTotalWeight:t.getTotalWeight.bind(t),forEachCall:t.forEachCall.bind(t),formatValue:t.formatValue.bind(t),getColorBucketForFrame:()=>0}).getLayers().map((e=>e.map((({start:e,end:r,node:{frame:{name:a,file:t,line:i,col:n}}})=>({name:a,timestamp:e/1e3,duration:(r-e)/1e3,scriptUrl:t,locationLine:i,locationColumn:n})))))}(a),s=new Map;for(let e=0;e<r;e++)s.set(e,[]);const o={batchUIDToMeasuresMap:new Map,componentMeasures:[],duration:0,flamechart:t,internalModuleSourceToRanges:new Map,laneToLabelMap:new Map,laneToReactMeasureMap:s,nativeEvents:[],networkMeasures:[],otherUserTimingMarks:[],reactVersion:null,schedulingEvents:[],snapshots:[],snapshotHeight:0,startTime:0,suspenseEvents:[],thrownErrors:[]},f=(a=a.filter(Boolean).sort(((e,r)=>e.ts>r.ts?1:-1))).findIndex((e=>"Profile"===e.name));if(-1===f)return o;o.startTime=a[f].args.data.startTime,o.duration=(a[a.length-1].ts-o.startTime)/1e3;const m={asyncProcessingPromises:[],batchUID:0,currentReactComponentMeasure:null,internalModuleCurrentStackFrame:null,internalModuleStackStringSet:new Set,measureStack:[],nativeEventStack:[],nextRenderShouldGenerateNewBatchID:!0,potentialLongEvents:[],potentialLongNestedUpdate:null,potentialLongNestedUpdates:[],potentialSuspenseEventsOutsideOfTransition:[],requestIdToNetworkMeasureMap:new Map,uidCounter:0,unresolvedSuspenseEvents:new Map};if(a.forEach((e=>function(e,r,a){const{cat:t,name:s,ts:v,ph:o}=e,f=(v-r.startTime)/1e3;switch(t){case"disabled-by-default-devtools.screenshot":!function(e,r,a,t){const i={height:0,image:null,imageSource:`data:image/png;base64,${e.args.snapshot}`,timestamp:r,width:0};let n=null;t.asyncProcessingPromises.push(new Promise((e=>{n=e}))),fetch(i.imageSource).then((e=>e.blob())).then((e=>{createImageBitmap(e).then((e=>{i.height=e.height,i.width=e.width,n()}))})),a.snapshots.push(i)}(e,f,r,a);break;case"devtools.timeline":switch(s){case"EventDispatch":!function(e,r,a,t){const i=e.args.data,n=i.type;if(n.startsWith("react-")){const e=i.stackTrace;if(e&&e[e.length-1].url.includes("/react-dom."))return}if("blur"===n||"click"===n||"input"===n||n.startsWith("focus")||n.startsWith("key")||n.startsWith("mouse")||n.startsWith("pointer")){const i=e.dur/1e3;let s=0;for(;t.nativeEventStack.length>0;){const e=t.nativeEventStack[t.nativeEventStack.length-1];if(r<e.timestamp+e.duration){s=e.depth+1;break}t.nativeEventStack.pop()}const v={depth:s,duration:i,timestamp:r,type:n,warning:null};a.nativeEvents.push(v),t.nativeEventStack.push(v)}}(e,f,r,a);break;case"ResourceFinish":!function(e,r,a,t){const i=e.args.data.requestId,n=t.requestIdToNetworkMeasureMap.get(i);null!=n&&(n.finishTimestamp=r,0===n.firstReceivedDataTimestamp&&(n.firstReceivedDataTimestamp=r),0===n.lastReceivedDataTimestamp&&(n.lastReceivedDataTimestamp=r),t.requestIdToNetworkMeasureMap.delete(e.args.data.requestId))}(e,f,0,a);break;case"ResourceReceivedData":!function(e,r,a,t){const i=e.args.data.requestId,n=t.requestIdToNetworkMeasureMap.get(i);null!=n&&(0===n.firstReceivedDataTimestamp&&(n.firstReceivedDataTimestamp=r),n.lastReceivedDataTimestamp=r,n.finishTimestamp=r)}(e,f,0,a);break;case"ResourceReceiveResponse":!function(e,r,a,t){const i=e.args.data.requestId,n=t.requestIdToNetworkMeasureMap.get(i);null!=n&&(n.receiveResponseTimestamp=r)}(e,f,0,a);break;case"ResourceSendRequest":!function(e,r,a,t){const i=e.args.data,n=i.requestId,s=new Array(t.requestIdToNetworkMeasureMap.size+1).fill(!0);t.requestIdToNetworkMeasureMap.forEach((({depth:e})=>{s[e]=!1}));let v=0;for(let e=0;e<s.length;e++)if(s[e]){v=e;break}const o={depth:v,finishTimestamp:0,firstReceivedDataTimestamp:0,lastReceivedDataTimestamp:0,requestId:n,requestMethod:i.requestMethod,priority:i.priority,sendRequestTimestamp:r,receiveResponseTimestamp:0,url:i.url};t.requestIdToNetworkMeasureMap.set(n,o),a.networkMeasures.push(o),o.sendRequestTimestamp=r}(e,f,r,a)}break;case"blink.user_timing":if(s.startsWith("--react-version-")){const[e]=s.slice(16).split("-");r.reactVersion=e}else if(s.startsWith("--profiler-version-")){const[e]=s.slice(19).split("-");if(u=parseInt(e,10),u!==i)throw new n(`This version of profiling data (${e}) is not supported by the current profiler.`)}else if(s.startsWith("--react-lane-labels-")){const[e]=s.slice(20).split("-");!function(e,r){if(0===e.laneToLabelMap.size){const a=r.split(",");for(let r=0;r<a.length;r++)e.laneToLabelMap.set(r,a[r])}}(r,e)}else if(s.startsWith("--component-"))!function(e,r,a,t){if(e.startsWith("--component-render-start-")){const[a]=e.slice(25).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"render",warning:null}}else if("--component-render-stop"===e){if(b(t,"render"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-layout-effect-mount-start-")){const[a]=e.slice(38).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"layout-effect-mount",warning:null}}else if("--component-layout-effect-mount-stop"===e){if(b(t,"layout-effect-mount"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-layout-effect-unmount-start-")){const[a]=e.slice(40).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"layout-effect-unmount",warning:null}}else if("--component-layout-effect-unmount-stop"===e){if(b(t,"layout-effect-unmount"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-passive-effect-mount-start-")){const[a]=e.slice(39).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"passive-effect-mount",warning:null}}else if("--component-passive-effect-mount-stop"===e){if(b(t,"passive-effect-mount"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-passive-effect-unmount-start-")){const[a]=e.slice(41).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"passive-effect-unmount",warning:null}}else if("--component-passive-effect-unmount-stop"===e&&(b(t,"passive-effect-unmount"),null!==t.currentReactComponentMeasure)){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}(s,f,r,a);else if(s.startsWith("--schedule-render-")){const[e]=s.slice(18).split("-");r.schedulingEvents.push({type:"schedule-render",lanes:S(e),timestamp:f,warning:null})}else if(s.startsWith("--schedule-forced-update-")){const[e,t]=s.slice(25).split("-"),i={type:"schedule-force-update",lanes:S(e),componentName:t,timestamp:f,warning:null};a.measureStack.find((({type:e})=>"commit"===e))&&(a.potentialLongNestedUpdate=i),r.schedulingEvents.push(i)}else if(s.startsWith("--schedule-state-update-")){const[e,t]=s.slice(24).split("-"),i={type:"schedule-state-update",lanes:S(e),componentName:t,timestamp:f,warning:null};a.measureStack.find((({type:e})=>"commit"===e))&&(a.potentialLongNestedUpdate=i),r.schedulingEvents.push(i)}else if(s.startsWith("--error-")){const[e,a,t]=s.slice(8).split("-");r.thrownErrors.push({componentName:e,message:t,phase:a,timestamp:f,type:"thrown-error"})}else if(s.startsWith("--suspense-suspend-")){const[e,t,i,n,v]=s.slice(19).split("-"),o=S(n),l=new Array(a.unresolvedSuspenseEvents.size+1).fill(!0);a.unresolvedSuspenseEvents.forEach((({depth:e})=>{l[e]=!1}));let _=0;for(let e=0;e<l.length;e++)if(l[e]){_=e;break}const u={componentName:t,depth:_,duration:null,id:e,phase:i,promiseName:v||null,resolution:"unresolved",timestamp:f,type:"suspense",warning:null};"update"===i&&a.potentialSuspenseEventsOutsideOfTransition.push([u,o]),r.suspenseEvents.push(u),a.unresolvedSuspenseEvents.set(e,u)}else if(s.startsWith("--suspense-resolved-")){const[e]=s.slice(20).split("-"),r=a.unresolvedSuspenseEvents.get(e);null!=r&&(a.unresolvedSuspenseEvents.delete(e),r.duration=f-r.timestamp,r.resolution="resolved")}else if(s.startsWith("--suspense-rejected-")){const[e]=s.slice(20).split("-"),r=a.unresolvedSuspenseEvents.get(e);null!=r&&(a.unresolvedSuspenseEvents.delete(e),r.duration=f-r.timestamp,r.resolution="rejected")}else if(s.startsWith("--render-start-")){a.nextRenderShouldGenerateNewBatchID&&(a.nextRenderShouldGenerateNewBatchID=!1,a.batchUID=a.uidCounter++),null!==a.potentialLongNestedUpdate&&(a.potentialLongNestedUpdates.push([a.potentialLongNestedUpdate,a.batchUID]),a.potentialLongNestedUpdate=null);const[e]=s.slice(15).split("-");!function(e,r){const a=r.length-1;if(a>=0){const t=r[a];if(void 0===t.stopTime&&t.type===e)throw new n(`Unexpected type "${e}" started before "${t.type}" completed.`)}}("render",a.measureStack),"render-idle"!==function(e){if(e.length>0){const{type:r}=e[e.length-1];return r}return null}(a.measureStack)&&c("render-idle",f,S(e),r,a),c("render",f,S(e),r,a);for(let e=0;e<a.nativeEventStack.length;e++){const r=a.nativeEventStack[e];r.timestamp+r.duration>f&&a.potentialLongEvents.push([r,a.batchUID])}}else if(s.startsWith("--render-stop")||s.startsWith("--render-yield"))h("render",f,0,a.measureStack);else if(s.startsWith("--commit-start-")){a.nextRenderShouldGenerateNewBatchID=!0;const[e]=s.slice(15).split("-");c("commit",f,S(e),r,a)}else if(s.startsWith("--commit-stop"))h("commit",f,0,a.measureStack),h("render-idle",f,0,a.measureStack);else if(s.startsWith("--layout-effects-start-")){const[e]=s.slice(23).split("-");c("layout-effects",f,S(e),r,a)}else if(s.startsWith("--layout-effects-stop"))h("layout-effects",f,0,a.measureStack);else if(s.startsWith("--passive-effects-start-")){const[e]=s.slice(24).split("-");c("passive-effects",f,S(e),r,a)}else if(s.startsWith("--passive-effects-stop"))h("passive-effects",f,0,a.measureStack);else if(s.startsWith("--react-internal-module-start-")){const e=s.slice(30);if(!a.internalModuleStackStringSet.has(e)){a.internalModuleStackStringSet.add(e);const r=p(e);a.internalModuleCurrentStackFrame=r}}else if(s.startsWith("--react-internal-module-stop-")){const e=s.slice(29);if(!a.internalModuleStackStringSet.has(e)){a.internalModuleStackStringSet.add(e);const t=p(e);if(null!==t&&null!==a.internalModuleCurrentStackFrame){const e=a.internalModuleCurrentStackFrame;a.internalModuleCurrentStackFrame=null;const i=[e,t],n=r.internalModuleSourceToRanges.get(e.fileName);null==n?r.internalModuleSourceToRanges.set(e.fileName,[i]):n.push(i)}}}else if("R"===o||"n"===o)r.otherUserTimingMarks.push({name:s,timestamp:f});else if("b"===o);else if("e"===o);else if("i"!==o&&"I"!==o)throw new n(`Unrecognized event ${JSON.stringify(e)}! This is likely a bug in this profiler tool.`)}}(e,o,m))),null===u){if(0===o.schedulingEvents.length&&0===o.batchUIDToMeasuresMap.size)throw new n("No React marks were found in the provided profile. Please provide profiling data from an React application running in development or profiling mode.");throw new n("This version of profiling data is not supported by the current profiler.")}const{measureStack:k}=m;if(k.length>0&&console.error("Incomplete events or measures",k),m.potentialLongEvents.forEach((([e,r])=>{const[a,t]=v(r,o,e.timestamp);t-a>20&&(e.warning=l)})),m.potentialLongNestedUpdates.forEach((([e,r])=>{const[a,t]=v(r,o);t-a>20&&e.lanes.some((e=>"Transition"===o.laneToLabelMap.get(e)))})),m.potentialSuspenseEventsOutsideOfTransition.forEach((([e,r])=>{r.some((e=>"Transition"===o.laneToLabelMap.get(e)))||(e.warning=_)})),await Promise.all(m.asyncProcessingPromises),o.snapshots.length>0){const e=o.snapshots[0];o.snapshotHeight=Math.min(e.height,60)}return o}var k=a(69),w=a.n(k);const g=async function(e){try{const r=await(e=>{if(!e.name.endsWith(".json"))throw new n("Invalid file type. Only JSON performance profiles are supported");const r=new FileReader;return new Promise(((a,t)=>{r.onload=()=>{const e=w()(r.result);"string"==typeof e&&a(e),t(new n("Input file was not read as a string"))},r.onerror=()=>t(r.error),r.readAsText(e)}))})(e),a=JSON.parse(r);if(0===a.length)throw new n("No profiling data found in file.");return{status:"SUCCESS",processedData:await m(a)}}catch(e){return e instanceof n?{status:"INVALID_PROFILE_ERROR",error:e}:{status:"UNEXPECTED_ERROR",error:e}}};addEventListener("message",(function(e){var r,a=e.data,i=a.type,n=a.method,s=a.id,v=a.params;"RPC"===i&&n&&((r=t[n])?Promise.resolve().then((function(){return r.apply(t,v)})):Promise.reject("No such method")).then((function(e){postMessage({type:"RPC",id:s,result:e})})).catch((function(e){var r={message:e};e.stack&&(r.message=e.message,r.stack=e.stack,r.name=e.name),postMessage({type:"RPC",id:s,error:r})}))})),postMessage({type:"RPC",method:"ready"})})()})();\n//# sourceMappingURL=importFile.worker.worker.js.map'])),{name:"[name].worker.js"});return URL.revokeObjectURL(URL.createObjectURL(new Blob(['(()=>{var e={496:(e,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.importFromOldV8CPUProfile=r.importFromChromeCPUProfile=r.importFromChromeTimeline=r.isChromeTimeline=void 0;const t=a(211),i=a(844),n=a(218),s=a(320);r.isChromeTimeline=function(e){if(!Array.isArray(e))return!1;if(e.length<1)return!1;const r=e[0];return"pid"in r&&"tid"in r&&"ph"in r&&"cat"in r&&!!e.find((e=>"CpuProfile"===e.name||"Profile"===e.name||"ProfileChunk"===e.name))},r.importFromChromeTimeline=function(e,r){const a=new Map,t=new Map,n=new Map;i.sortBy(e,(e=>e.ts));for(let r of e){if("CpuProfile"===r.name){const e=`${r.pid}:${r.tid}`,i=r.id||e;a.set(i,r.args.data.cpuProfile),t.set(i,e)}if("Profile"===r.name){const e=`${r.pid}:${r.tid}`;a.set(r.id||e,Object.assign({startTime:0,endTime:0,nodes:[],samples:[],timeDeltas:[]},r.args.data)),r.id&&t.set(r.id,`${r.pid}:${r.tid}`)}if("thread_name"===r.name&&n.set(`${r.pid}:${r.tid}`,r.args.name),"ProfileChunk"===r.name){const e=`${r.pid}:${r.tid}`,t=a.get(r.id||e);if(t){const e=r.args.data;e.cpuProfile&&(e.cpuProfile.nodes&&(t.nodes=t.nodes.concat(e.cpuProfile.nodes)),e.cpuProfile.samples&&(t.samples=t.samples.concat(e.cpuProfile.samples))),e.timeDeltas&&(t.timeDeltas=t.timeDeltas.concat(e.timeDeltas)),null!=e.startTime&&(t.startTime=e.startTime),null!=e.endTime&&(t.endTime=e.endTime)}else console.warn(`Ignoring ProfileChunk for undeclared Profile with id ${r.id||e}`)}}if(a.size>0){const e=[];let s=0;return i.itForEach(a.keys(),(i=>{let v=null,o=t.get(i);o&&(v=n.get(o)||null);const f=_(a.get(i));v&&a.size>1?(f.setName(`${r} - ${v}`),"CrRendererMain"===v&&(s=e.length)):f.setName(`${r}`),e.push(f)})),{name:r,indexToView:s,profiles:e}}throw new Error("Could not find CPU profile in Timeline")};const v=new Map;function o(e){return i.getOrInsert(v,e,(e=>{const r=e.functionName||"(anonymous)",a=e.url,t=e.lineNumber,i=e.columnNumber;return{key:`${r}:${a}:${t}:${i}`,name:r,file:a,line:t,col:i}}))}function f(e){const{functionName:r,url:a}=e;return"native dummy.js"===a||"(root)"===r||"(idle)"===r}function l(e){return"(garbage collector)"===e||"(program)"===e}function _(e){const r=new t.CallTreeProfileBuilder(e.endTime-e.startTime),a=new Map;for(let r of e.nodes)a.set(r.id,r);for(let r of e.nodes)if("number"==typeof r.parent&&(r.parent=a.get(r.parent)),r.children)for(let e of r.children){const t=a.get(e);t&&(t.parent=r)}const s=[],v=[];let _=e.timeDeltas[0],S=_,u=NaN;for(let r=0;r<e.samples.length;r++){const a=e.samples[r];a!=u&&(s.push(a),_<S?v.push(S):(v.push(_),S=_)),r===e.samples.length-1?isNaN(u)||(s.push(u),_<S?v.push(S):(v.push(_),S=_)):(_+=e.timeDeltas[r+1],u=a)}let c=[];for(let e=0;e<s.length;e++){const t=v[e],n=s[e];let _=a.get(n);if(!_)continue;let S=null;for(S=_;S&&-1===c.indexOf(S);S=l(S.callFrame.functionName)?i.lastOf(c):S.parent||null);for(;c.length>0&&i.lastOf(c)!=S;){const e=o(c.pop().callFrame);r.leaveFrame(e,t)}const u=[];for(let e=_;e&&e!=S&&!f(e.callFrame);e=l(e.callFrame.functionName)?i.lastOf(c):e.parent||null)u.push(e);u.reverse();for(let e of u)r.enterFrame(o(e.callFrame),t);c=c.concat(u)}for(let e=c.length-1;e>=0;e--)r.leaveFrame(o(c[e].callFrame),i.lastOf(v));return r.setValueFormatter(new n.TimeFormatter("microseconds")),r.build()}r.importFromChromeCPUProfile=_,r.importFromOldV8CPUProfile=function(e){return _(s.chromeTreeToNodes(e))}},320:(e,r)=>{"use strict";function a(e){const r=[];return function e(a){r.push({id:a.id,callFrame:{columnNumber:0,functionName:a.functionName,lineNumber:a.lineNumber,scriptId:a.scriptId,url:a.url},hitCount:a.hitCount,children:a.children.map((e=>e.id))}),a.children.forEach(e)}(e),r}Object.defineProperty(r,"__esModule",{value:!0}),r.chromeTreeToNodes=void 0,r.chromeTreeToNodes=function(e){return{samples:e.samples,startTime:1e6*e.startTime,endTime:1e6*e.endTime,nodes:a(e.head),timeDeltas:(r=e.timestamps,t=e.startTime,r.map(((e,a)=>e-(0===a?1e6*t:r[a-1]))))};var r,t}},765:(e,r)=>{"use strict";let a;Object.defineProperty(r,"__esModule",{value:!0}),r.demangleCpp=void 0;const t=new Map;r.demangleCpp=function(e){if(e.startsWith("__Z")){let r=t.get(e);void 0!==r||(a||(a=new Function("exports",i)()),r=a(e.slice(1)),r="(null)"===r?e:r,t.set(e,r)),e=r}return e};const i=\'\\nreturn function(){function r(r){eval.call(null,r)}function a(r){throw print(r+":\\\\n"+(new Error).stack),ke=!0,"Assertion: "+r}function e(r,e){r||a("Assertion failed: "+e)}function i(r,a,i,v){function t(r,a){if("string"==a){var e=Oe;return le.stackAlloc(r.length+1),A(r,e),e}return r}function f(r,a){return"string"==a?s(r):r}try{func=ce.Module["_"+r]}catch(r){}e(func,"Cannot call unknown function "+r+" (perhaps LLVM optimizations or closure removed it?)");var _=0,n=v?v.map(function(r){return t(r,i[_++])}):[];return f(func.apply(null,n),a)}function v(r,a,e){return function(){return i(r,a,e,Array.prototype.slice.call(arguments))}}function t(r,e,i,v){switch(i=i||"i8","*"===i[i.length-1]&&(i="i32"),i){case"i1":Ae[r]=e;break;case"i8":Ae[r]=e;break;case"i16":ye[r>>1]=e;break;case"i32":Se[r>>2]=e;break;case"i64":Se[r>>2]=e;break;case"float":Ce[r>>2]=e;break;case"double":ze[0]=e,Se[r>>2]=xe[0],Se[r+4>>2]=xe[1];break;default:a("invalid type for setValue: "+i)}}function f(r,e,i){switch(e=e||"i8","*"===e[e.length-1]&&(e="i32"),e){case"i1":return Ae[r];case"i8":return Ae[r];case"i16":return ye[r>>1];case"i32":return Se[r>>2];case"i64":return Se[r>>2];case"float":return Ce[r>>2];case"double":return xe[0]=Se[r>>2],xe[1]=Se[r+4>>2],ze[0];default:a("invalid type for setValue: "+e)}return null}function _(r,a,e){var i,v;"number"==typeof r?(i=!0,v=r):(i=!1,v=r.length);var f="string"==typeof a?a:null,_=[Jr,le.stackAlloc,le.staticAlloc][void 0===e?we:e](Math.max(v,f?1:a.length));if(i)return Fa(_,0,v),_;for(var s,n=0;n<v;){var o=r[n];"function"==typeof o&&(o=le.getFunctionIndex(o)),s=f||a[n],0!==s?("i64"==s&&(s="i32"),t(_+n,o,s),n+=le.getNativeTypeSize(s)):n++}return _}function s(r,a){for(var e,i="undefined"==typeof a,v="",t=0,f=String.fromCharCode(0);;){if(e=String.fromCharCode(ge[r+t]),i&&e==f)break;if(v+=e,t+=1,!i&&t==a)break}return v}function n(r){for(var a="",e=0;e<r.length;e++)a+=String.fromCharCode(r[e]);return a}function o(r){return r+4095>>12<<12}function l(){for(;Le<=Ie;)Le=o(2*Le);var r=Ae,a=new ArrayBuffer(Le);Ae=new Int8Array(a),ye=new Int16Array(a),Se=new Int32Array(a),ge=new Uint8Array(a),me=new Uint16Array(a),Me=new Uint32Array(a),Ce=new Float32Array(a),Re=new Float64Array(a),Ae.set(r)}function b(r){for(;r.length>0;){var a=r.shift(),e=a.func;"number"==typeof e&&(e=pe[e]),e(void 0===a.arg?null:a.arg)}}function k(){b(Ve)}function u(){b(Be),be.print()}function c(r,a){return Array.prototype.slice.call(Ae.subarray(r,r+a))}function h(r,a){for(var e=new Uint8Array(a),i=0;i<a;++i)e[i]=Ae[r+i];return e.buffer}function d(r){for(var a=0;Ae[r+a];)a++;return a}function w(r,a){var e=d(r);a&&e++;var i=c(r,e);return a&&(i[e-1]=0),i}function p(r,a){for(var e=[],i=0;i<r.length;){var v=r.charCodeAt(i);v>255&&(v&=255),e.push(v),i+=1}return a||e.push(0),e}function E(r){for(var a=[],e=0;e<r.length;e++){var i=r[e];i>255&&(i&=255),a.push(String.fromCharCode(i))}return a.join("")}function A(r,a,e){for(var i=0;i<r.length;){var v=r.charCodeAt(i);v>255&&(v&=255),Ae[a+i]=v,i+=1}e||(Ae[a+i]=0)}function g(r,a,e,i){return r>=0?r:a<=32?2*Math.abs(1<<a-1)+r:Math.pow(2,a)+r}function y(r,a,e,i){if(r<=0)return r;var v=a<=32?Math.abs(1<<a-1):Math.pow(2,a-1);return r>=v&&(a<=32||r>v)&&(r=-2*v+r),r}function m(r,a,e){if(0==(0|r)|0==(0|a)|0==(0|e))var i=0;else{Se[r>>2]=0,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function S(r,a,e){if(0==(0|r)|(0|a)<0|0==(0|e))var i=0;else{Se[r>>2]=41,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function M(r,a,e){if(0==(0|r)|0==(0|e))var i=0;else{Se[r>>2]=6,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function C(r,a,e){if(0==(0|r)|0==(0|e))var i=0;else{Se[r>>2]=7,Se[r+4>>2]=a,Se[r+8>>2]=e;var i=1}var i;return i}function R(r,a){var e,i=0==(0|a);do if(i)var v=0;else{var e=(r+32|0)>>2,t=Se[e];if((0|t)>=(0|Se[r+36>>2])){var v=0;break}var f=(t<<2)+Se[r+28>>2]|0;Se[f>>2]=a;var _=Se[e]+1|0;Se[e]=_;var v=1}while(0);var v;return v}function T(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=i+1|0;Se[e]=v;var t=Ae[i]<<24>>24==95;do if(t){var f=i+2|0;if(Se[e]=f,Ae[v]<<24>>24!=90){var _=0;break}var s=O(r,a),_=s}else var _=0;while(0);var _;return _}function O(r,a){var e=r+12|0,i=Ae[Se[e>>2]];r:do if(i<<24>>24==71||i<<24>>24==84)var v=Tr(r),t=v;else{var f=Ar(r),_=0==(0|f)|0==(0|a);do if(!_){if(0!=(1&Se[r+8>>2]|0))break;var s=Me[f>>2],n=(s-25|0)>>>0<3;a:do if(n)for(var o=f;;){var o,l=Me[o+4>>2],b=Me[l>>2];if((b-25|0)>>>0>=3){var k=l,u=b;break a}var o=l}else var k=f,u=s;while(0);var u,k;if(2!=(0|u)){var t=k;break r}var c=k+8|0,h=Me[c>>2],d=(Se[h>>2]-25|0)>>>0<3;a:do if(d)for(var w=h;;){var w,p=Me[w+4>>2];if((Se[p>>2]-25|0)>>>0>=3){var E=p;break a}var w=p}else var E=h;while(0);var E;Se[c>>2]=E;var t=k;break r}while(0);var A=Ae[Se[e>>2]];if(A<<24>>24==0||A<<24>>24==69){var t=f;break}var g=Or(f),y=Sr(r,g),m=D(r,3,f,y),t=m}while(0);var t;return t}function N(r){var a,e,i=Oe;Oe+=4;var v=i,e=v>>2,a=(r+12|0)>>2,t=Me[a],f=Ae[t],_=f<<24>>24;r:do if(f<<24>>24==114||f<<24>>24==86||f<<24>>24==75){var s=I(r,v,0);if(0==(0|s)){var n=0;break}var o=N(r);Se[s>>2]=o;var l=Se[e],b=R(r,l);if(0==(0|b)){var n=0;break}var n=Se[e]}else{do{if(97==(0|_)||98==(0|_)||99==(0|_)||100==(0|_)||101==(0|_)||102==(0|_)||103==(0|_)||104==(0|_)||105==(0|_)||106==(0|_)||108==(0|_)||109==(0|_)||110==(0|_)||111==(0|_)||115==(0|_)||116==(0|_)||118==(0|_)||119==(0|_)||120==(0|_)||121==(0|_)||122==(0|_)){var k=ai+20*(_-97)|0,u=P(r,k);Se[e]=u;var c=r+48|0,h=Se[c>>2]+Se[Se[u+4>>2]+4>>2]|0;Se[c>>2]=h;var d=Se[a]+1|0;Se[a]=d;var n=u;break r}if(117==(0|_)){Se[a]=t+1|0;var w=L(r),p=D(r,34,w,0);Se[e]=p;var E=p}else if(70==(0|_)){var A=F(r);Se[e]=A;var E=A}else if(48==(0|_)||49==(0|_)||50==(0|_)||51==(0|_)||52==(0|_)||53==(0|_)||54==(0|_)||55==(0|_)||56==(0|_)||57==(0|_)||78==(0|_)||90==(0|_)){var g=X(r);Se[e]=g;var E=g}else if(65==(0|_)){var y=j(r);Se[e]=y;var E=y}else if(77==(0|_)){var m=U(r);Se[e]=m;var E=m}else if(84==(0|_)){var S=x(r);if(Se[e]=S,Ae[Se[a]]<<24>>24!=73){var E=S;break}var M=R(r,S);if(0==(0|M)){var n=0;break r}var C=Se[e],T=z(r),O=D(r,4,C,T);Se[e]=O;var E=O}else if(83==(0|_)){var B=ge[t+1|0];if((B-48&255&255)<10|B<<24>>24==95|(B-65&255&255)<26){var H=V(r,0);if(Se[e]=H,Ae[Se[a]]<<24>>24!=73){var n=H;break r}var K=z(r),Y=D(r,4,H,K);Se[e]=Y;var E=Y}else{var G=X(r);if(Se[e]=G,0==(0|G)){var E=0;break}if(21==(0|Se[G>>2])){var n=G;break r}var E=G}}else if(80==(0|_)){Se[a]=t+1|0;var W=N(r),Z=D(r,29,W,0);Se[e]=Z;var E=Z}else if(82==(0|_)){Se[a]=t+1|0;var Q=N(r),q=D(r,30,Q,0);Se[e]=q;var E=q}else if(67==(0|_)){Se[a]=t+1|0;var $=N(r),J=D(r,31,$,0);Se[e]=J;var E=J}else if(71==(0|_)){Se[a]=t+1|0;var rr=N(r),ar=D(r,32,rr,0);Se[e]=ar;var E=ar}else{if(85!=(0|_)){var n=0;break r}Se[a]=t+1|0;var er=L(r);Se[e]=er;var ir=N(r),vr=Se[e],tr=D(r,28,ir,vr);Se[e]=tr;var E=tr}}while(0);var E,fr=R(r,E);if(0==(0|fr)){var n=0;break}var n=Se[e]}while(0);var n;return Oe=i,n}function I(r,a,e){for(var i,v=r+12|0,t=0!=(0|e),f=t?25:22,i=(r+48|0)>>2,_=t?26:23,s=t?27:24,n=a;;){var n,o=Se[v>>2],l=Ae[o];if(l<<24>>24!=114&&l<<24>>24!=86&&l<<24>>24!=75){var b=n;break}var k=o+1|0;if(Se[v>>2]=k,l<<24>>24==114){var u=Se[i]+9|0;Se[i]=u;var c=f}else if(l<<24>>24==86){var h=Se[i]+9|0;Se[i]=h;var c=_}else{var d=Se[i]+6|0;Se[i]=d;var c=s}var c,w=D(r,c,0,0);if(Se[n>>2]=w,0==(0|w)){var b=0;break}var n=w+4|0}var b;return b}function P(r,a){var e=0==(0|a);do if(e)var i=0;else{var v=J(r);if(0==(0|v)){var i=0;break}Se[v>>2]=33,Se[v+4>>2]=a;var i=v}while(0);var i;return i}function D(r,a,e,i){var v,t;do{if(1==(0|a)||2==(0|a)||3==(0|a)||4==(0|a)||10==(0|a)||28==(0|a)||37==(0|a)||43==(0|a)||44==(0|a)||45==(0|a)||46==(0|a)||47==(0|a)||48==(0|a)||49==(0|a)||50==(0|a)){if(0==(0|e)|0==(0|i)){var f=0;t=7;break}t=5;break}if(8==(0|a)||9==(0|a)||11==(0|a)||12==(0|a)||13==(0|a)||14==(0|a)||15==(0|a)||16==(0|a)||17==(0|a)||18==(0|a)||19==(0|a)||20==(0|a)||29==(0|a)||30==(0|a)||31==(0|a)||32==(0|a)||34==(0|a)||38==(0|a)||39==(0|a)||42==(0|a)){if(0==(0|e)){var f=0;t=7;break}t=5;break}if(36==(0|a)){if(0==(0|i)){var f=0;t=7;break}t=5;break}if(35==(0|a)||22==(0|a)||23==(0|a)||24==(0|a)||25==(0|a)||26==(0|a)||27==(0|a))t=5;else{var f=0;t=7}}while(0);do if(5==t){var _=J(r),v=_>>2;if(0==(0|_)){var f=0;break}Se[v]=a,Se[v+1]=e,Se[v+2]=i;var f=_}while(0);var f;return f}function L(r){var a=sr(r);if((0|a)<1)var e=0;else{var i=Rr(r,a);Se[r+44>>2]=i;var e=i}var e;return e}function F(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;if(Se[a]=i,Ae[e]<<24>>24==70){if(Ae[i]<<24>>24==89){var v=e+2|0;Se[a]=v}var t=Sr(r,1),f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==69?t:0,n=s}else var n=0;var n;return n}function X(r){var a=Ar(r);return a}function j(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==65;do if(v){var t=Ae[i];if(t<<24>>24==95)var f=0;else if((t-48&255&255)<10){for(var _=i;;){var _,s=_+1|0;if(Se[a]=s,(Ae[s]-48&255&255)>=10)break;var _=s}var n=s-i|0,o=lr(r,i,n);if(0==(0|o)){var l=0;break}var f=o}else{var b=nr(r);if(0==(0|b)){var l=0;break}var f=b}var f,k=Se[a],u=k+1|0;if(Se[a]=u,Ae[k]<<24>>24!=95){var l=0;break}var c=N(r),h=D(r,36,f,c),l=h}else var l=0;while(0);var l;return l}function U(r){var a=Oe;Oe+=4;var e=a,i=r+12|0,v=Se[i>>2],t=v+1|0;Se[i>>2]=t;var f=Ae[v]<<24>>24==77;r:do if(f){var _=N(r),s=I(r,e,1);if(0==(0|s)){var n=0;break}var o=N(r);Se[s>>2]=o;var l=(0|s)==(0|e);do if(!l){if(35==(0|Se[o>>2]))break;var b=Se[e>>2],k=R(r,b);if(0==(0|k)){var n=0;break r}}while(0);var u=Se[e>>2],c=D(r,37,_,u),n=c}else var n=0;while(0);var n;return Oe=a,n}function x(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==84;do if(v){if(Ae[i]<<24>>24==95)var t=0,f=i;else{var _=sr(r);if((0|_)<0){var s=0;break}var t=_+1|0,f=Se[a]}var f,t;if(Se[a]=f+1|0,Ae[f]<<24>>24!=95){var s=0;break}var n=r+40|0,o=Se[n>>2]+1|0;Se[n>>2]=o;var l=Er(r,t),s=l}else var s=0;while(0);var s;return s}function z(r){var a,e=Oe;Oe+=4;var i=e,v=r+44|0,t=Se[v>>2],a=(r+12|0)>>2,f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==73;r:do if(s){Se[i>>2]=0;for(var n=i;;){var n,o=_r(r);if(0==(0|o)){var l=0;break r}var b=D(r,39,o,0);if(Se[n>>2]=b,0==(0|b)){var l=0;break r}var k=Se[a];if(Ae[k]<<24>>24==69)break;var n=b+8|0}var u=k+1|0;Se[a]=u,Se[v>>2]=t;var l=Se[i>>2]}else var l=0;while(0);var l;return Oe=e,l}function V(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=i+1|0;Se[e]=v;var t=Ae[i]<<24>>24==83;r:do if(t){var f=i+2|0;Se[e]=f;var _=ge[v];if(_<<24>>24==95)var s=0;else{if(!((_-48&255&255)<10|(_-65&255&255)<26)){var n=8&Se[r+8>>2],o=n>>>3,l=0!=(0|n)|0==(0|a);do if(l)var b=o;else{if((Ae[f]-67&255&255)>=2){var b=o;break}var b=1}while(0);for(var b,k=0|ei;;){var k;if(k>>>0>=(ei+196|0)>>>0){var u=0;break r}if(_<<24>>24==Ae[0|k]<<24>>24)break;var k=k+28|0}var c=Se[k+20>>2];if(0!=(0|c)){var h=Se[k+24>>2],d=fr(r,c,h);Se[r+44>>2]=d}if(0==(0|b))var w=k+8|0,p=k+4|0;else var w=k+16|0,p=k+12|0;var p,w,E=Se[w>>2],A=Se[p>>2],g=r+48|0,y=Se[g>>2]+E|0;Se[g>>2]=y;var m=fr(r,A,E),u=m;break}for(var S=_,M=0,C=f;;){var C,M,S;if((S-48&255&255)<10)var R=36*M-48|0;else{if((S-65&255&255)>=26){var u=0;break r}var R=36*M-55|0}var R,T=(S<<24>>24)+R|0;if((0|T)<0){var u=0;break r}var O=C+1|0;Se[e]=O;var N=ge[C];if(N<<24>>24==95)break;var S=N,M=T,C=O}var s=T+1|0}var s;if((0|s)>=(0|Se[r+32>>2])){var u=0;break}var I=r+40|0,P=Se[I>>2]+1|0;Se[I>>2]=P;var u=Se[Se[r+28>>2]+(s<<2)>>2]}else var u=0;while(0);var u;return u}function B(r,a,e,i){var v,t,f,_,s=Oe;Oe+=28;var n,o=s,_=o>>2;Se[_]=r;var l=e+1|0,f=(o+12|0)>>2;Se[f]=l;var b=Jr(l),t=(o+4|0)>>2;if(Se[t]=b,0==(0|b))var k=0,u=1;else{var v=(o+8|0)>>2;Se[v]=0,Se[_+4]=0,Se[_+5]=0;var c=o+24|0;Se[c>>2]=0,H(o,a);var h=Me[t],d=0==(0|h);do{if(!d){var w=Me[v];if(w>>>0>=Me[f]>>>0){n=5;break}Se[v]=w+1|0,Ae[h+w|0]=0,n=6;break}n=5}while(0);5==n&&Y(o,0);var p=Se[t],E=0==(0|p)?Se[c>>2]:Se[f],k=p,u=E}var u,k;return Se[i>>2]=u,Oe=s,k}function H(r,a){var e,i,v,t,f,_,s,n,o,l,b,k,u,c,h,d,w,p,E,A,g,y,m,S,M,C,R,T,O,N,I,P,D,L,F,X,j,U,x,z,V,B,K,G,W,J,vr,tr,fr,_r,sr,nr,or,lr,br,kr,ur,cr,hr,dr,wr,pr=a>>2,Er=r>>2,Ar=Oe;Oe+=184;var gr,yr=Ar,wr=yr>>2,mr=Ar+64,dr=mr>>2,Sr=Ar+72,Mr=Ar+88,Cr=Ar+104,hr=Cr>>2,Rr=Ar+168,Tr=0==(0|a);r:do if(Tr)Z(r);else{var cr=(r+4|0)>>2,Or=Me[cr];if(0==(0|Or))break;var Nr=0|a,Ir=Me[Nr>>2];a:do{if(0==(0|Ir)){if(0!=(4&Se[Er]|0)){var Pr=Se[pr+1],Dr=Se[pr+2];q(r,Pr,Dr);break r}var ur=(r+8|0)>>2,Lr=Me[ur],Fr=a+8|0,Xr=Me[Fr>>2];if((Xr+Lr|0)>>>0>Me[Er+3]>>>0){var jr=Se[pr+1];Q(r,jr,Xr);break r}var Ur=Or+Lr|0,xr=Se[pr+1];Pa(Ur,xr,Xr,1);var zr=Se[ur]+Se[Fr>>2]|0;Se[ur]=zr;break r}if(1==(0|Ir)||2==(0|Ir)){var Vr=Se[pr+1];H(r,Vr);var Br=0==(4&Se[Er]|0),Hr=Me[cr],Kr=0!=(0|Hr);e:do if(Br){do if(Kr){var kr=(r+8|0)>>2,Yr=Me[kr];if((Yr+2|0)>>>0>Me[Er+3]>>>0)break;var Gr=Hr+Yr|0;oe=14906,Ae[Gr]=255&oe,oe>>=8,Ae[Gr+1]=255&oe;var Wr=Se[kr]+2|0;Se[kr]=Wr;break e}while(0);Q(r,0|He.__str120,2)}else{do if(Kr){var Zr=r+8|0,Qr=Me[Zr>>2];if(Qr>>>0>=Me[Er+3]>>>0)break;Se[Zr>>2]=Qr+1|0,Ae[Hr+Qr|0]=46;break e}while(0);Y(r,46)}while(0);var qr=Se[pr+2];H(r,qr);break r}if(3==(0|Ir)){for(var br=(r+20|0)>>2,$r=Me[br],lr=(r+16|0)>>2,Jr=a,ra=0,aa=$r;;){var aa,ra,Jr,ea=Me[Jr+4>>2];if(0==(0|ea)){var ia=ra,va=0;gr=33;break}if(ra>>>0>3){Z(r);break r}var ta=(ra<<4)+yr|0;Se[ta>>2]=aa,Se[br]=ta,Se[((ra<<4)+4>>2)+wr]=ea,Se[((ra<<4)+8>>2)+wr]=0;var fa=Me[lr];Se[((ra<<4)+12>>2)+wr]=fa;var _a=ra+1|0,sa=0|ea,na=Me[sa>>2];if((na-25|0)>>>0>=3){gr=25;break}var Jr=ea,ra=_a,aa=ta}e:do if(25==gr){if(4==(0|na)){Se[dr]=fa,Se[lr]=mr,Se[dr+1]=ea;var oa=Se[sa>>2],la=mr}else var oa=na,la=fa;var la,oa;if(2!=(0|oa)){var ia=_a,va=sa;break}for(var ba=_a,ka=ea+8|0;;){var ka,ba,ua=Me[ka>>2];if((Se[ua>>2]-25|0)>>>0>=3){var ia=ba,va=sa;break e}if(ba>>>0>3)break;var ca=(ba<<4)+yr|0,ha=ba-1|0,da=(ha<<4)+yr|0,or=ca>>2,nr=da>>2;Se[or]=Se[nr],Se[or+1]=Se[nr+1],Se[or+2]=Se[nr+2],Se[or+3]=Se[nr+3],Se[ca>>2]=da,Se[br]=ca,Se[((ha<<4)+4>>2)+wr]=ua,Se[((ha<<4)+8>>2)+wr]=0,Se[((ha<<4)+12>>2)+wr]=la;var ba=ba+1|0,ka=ua+4|0}Z(r);break r}while(0);var va,ia,wa=Se[pr+2];if(H(r,wa),4==(0|Se[va>>2])){var pa=Se[dr];Se[lr]=pa}var Ea=0==(0|ia);e:do if(!Ea)for(var Aa=r+8|0,ga=r+12|0,ya=ia;;){var ya,ma=ya-1|0;if(0==(0|Se[((ma<<4)+8>>2)+wr])){var Sa=Me[cr],Ma=0==(0|Sa);do{if(!Ma){var Ca=Me[Aa>>2];if(Ca>>>0>=Me[ga>>2]>>>0){gr=41;break}Se[Aa>>2]=Ca+1|0,Ae[Sa+Ca|0]=32,gr=42;break}gr=41}while(0);41==gr&&Y(r,32);var Ra=Se[((ma<<4)+4>>2)+wr];$(r,Ra)}if(0==(0|ma))break e;var ya=ma}while(0);Se[br]=$r;break r}if(4==(0|Ir)){var sr=(r+20|0)>>2,Ta=Se[sr];Se[sr]=0;var Oa=Se[pr+1];H(r,Oa);var Na=Me[cr],Ia=0==(0|Na);do{if(!Ia){var _r=(r+8|0)>>2,Da=Me[_r],La=0==(0|Da);do if(!La){if(Ae[Na+(Da-1)|0]<<24>>24!=60)break;Da>>>0<Me[Er+3]>>>0?(Se[_r]=Da+1|0,Ae[Na+Da|0]=32):Y(r,32)}while(0);var Fa=Me[cr];if(0==(0|Fa)){gr=54;break}var Xa=Me[_r];if(Xa>>>0>=Me[Er+3]>>>0){gr=54;break}Se[_r]=Xa+1|0,Ae[Fa+Xa|0]=60,gr=55;break}gr=54}while(0);54==gr&&Y(r,60);var ja=Se[pr+2];H(r,ja);var Ua=Me[cr],xa=0==(0|Ua);do{if(!xa){var fr=(r+8|0)>>2,za=Me[fr],Va=0==(0|za);do if(!Va){if(Ae[Ua+(za-1)|0]<<24>>24!=62)break;za>>>0<Me[Er+3]>>>0?(Se[fr]=za+1|0,Ae[Ua+za|0]=32):Y(r,32)}while(0);var Ba=Me[cr];if(0==(0|Ba)){gr=64;break}var Ha=Me[fr];if(Ha>>>0>=Me[Er+3]>>>0){gr=64;break}Se[fr]=Ha+1|0,Ae[Ba+Ha|0]=62,gr=65;break}gr=64}while(0);64==gr&&Y(r,62),Se[sr]=Ta;break r}if(5==(0|Ir)){var tr=(r+16|0)>>2,Ka=Me[tr];if(0==(0|Ka)){Z(r);break r}for(var Ya=Se[pr+1],Ga=Se[Ka+4>>2];;){var Ga,Ya,Wa=Se[Ga+8>>2];if(0==(0|Wa))break;if(39!=(0|Se[Wa>>2])){Z(r);break r}if((0|Ya)<1){if(0!=(0|Ya))break;var Za=Se[Ka>>2];Se[tr]=Za;var Qa=Se[Wa+4>>2];H(r,Qa),Se[tr]=Ka;break r}var Ya=Ya-1|0,Ga=Wa}Z(r);break r}if(6==(0|Ir)){var qa=Se[pr+2];H(r,qa);break r}if(7==(0|Ir)){var $a=r+8|0,Ja=Me[$a>>2];Ja>>>0<Me[Er+3]>>>0?(Se[$a>>2]=Ja+1|0,Ae[Or+Ja|0]=126):Y(r,126);var re=Se[pr+2];H(r,re);break r}if(8==(0|Ir)){var vr=(r+8|0)>>2,ae=Me[vr];if((ae+11|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str121,11);else{for(var ee=Or+ae|0,ie=0|He.__str121,ve=ee,te=ie+11;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var fe=Se[vr]+11|0;Se[vr]=fe}var _e=Se[pr+1];H(r,_e);break r}if(9==(0|Ir)){var J=(r+8|0)>>2,se=Me[J];if((se+8|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str122,8);else{var ne=Or+se|0,le=0|ne;oe=542397526,Ae[le]=255&oe,oe>>=8,Ae[le+1]=255&oe,oe>>=8,Ae[le+2]=255&oe,oe>>=8,Ae[le+3]=255&oe;var be=ne+4|0;oe=544370534,Ae[be]=255&oe,oe>>=8,Ae[be+1]=255&oe,oe>>=8,Ae[be+2]=255&oe,oe>>=8,Ae[be+3]=255&oe;var ke=Se[J]+8|0;Se[J]=ke}var ue=Se[pr+1];H(r,ue);break r}if(10==(0|Ir)){var W=(r+8|0)>>2,ce=Me[W],he=r+12|0;if((ce+24|0)>>>0>Me[he>>2]>>>0)Q(r,0|He.__str123,24);else{var de=Or+ce|0;Pa(de,0|He.__str123,24,1);var we=Se[W]+24|0;Se[W]=we}var pe=Se[pr+1];H(r,pe);var Ee=Me[cr],ge=0==(0|Ee);do{if(!ge){var ye=Me[W];if((ye+4|0)>>>0>Me[he>>2]>>>0){gr=96;break}var me=Ee+ye|0;oe=762210605,Ae[me]=255&oe,oe>>=8,Ae[me+1]=255&oe,oe>>=8,Ae[me+2]=255&oe,oe>>=8,Ae[me+3]=255&oe;var Ce=Se[W]+4|0;Se[W]=Ce,gr=97;break}gr=96}while(0);96==gr&&Q(r,0|He.__str124,4);var Re=Se[pr+2];H(r,Re);break r}if(11==(0|Ir)){var G=(r+8|0)>>2,Te=Me[G];if((Te+13|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str125,13);else{for(var Ne=Or+Te|0,ie=0|He.__str125,ve=Ne,te=ie+13;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Ie=Se[G]+13|0;Se[G]=Ie}var Pe=Se[pr+1];H(r,Pe);break r}if(12==(0|Ir)){var K=(r+8|0)>>2,De=Me[K];if((De+18|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str126,18);else{for(var Le=Or+De|0,ie=0|He.__str126,ve=Le,te=ie+18;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Fe=Se[K]+18|0;Se[K]=Fe}var Xe=Se[pr+1];H(r,Xe);break r}if(13==(0|Ir)){var B=(r+8|0)>>2,je=Me[B];if((je+16|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str127,16);else{for(var Ue=Or+je|0,ie=0|He.__str127,ve=Ue,te=ie+16;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var xe=Se[B]+16|0;Se[B]=xe}var ze=Se[pr+1];H(r,ze);break r}if(14==(0|Ir)){var V=(r+8|0)>>2,Ve=Me[V];if((Ve+21|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str128,21);else{var Be=Or+Ve|0;Pa(Be,0|He.__str128,21,1);var Ke=Se[V]+21|0;Se[V]=Ke}var Ye=Se[pr+1];H(r,Ye);break r}if(15==(0|Ir)){var z=(r+8|0)>>2,Ge=Me[z];if((Ge+17|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str129,17);else{for(var We=Or+Ge|0,ie=0|He.__str129,ve=We,te=ie+17;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var Ze=Se[z]+17|0;Se[z]=Ze}var Qe=Se[pr+1];H(r,Qe);break r}if(16==(0|Ir)){var x=(r+8|0)>>2,qe=Me[x];if((qe+26|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str130,26);else{var $e=Or+qe|0;Pa($e,0|He.__str130,26,1);var Je=Se[x]+26|0;Se[x]=Je}var ri=Se[pr+1];H(r,ri);break r}if(17==(0|Ir)){var U=(r+8|0)>>2,ai=Me[U];if((ai+15|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str131,15);else{for(var ei=Or+ai|0,ie=0|He.__str131,ve=ei,te=ie+15;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var ii=Se[U]+15|0;Se[U]=ii}var vi=Se[pr+1];H(r,vi);break r}if(18==(0|Ir)){var j=(r+8|0)>>2,ti=Me[j];if((ti+19|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str132,19);else{for(var fi=Or+ti|0,ie=0|He.__str132,ve=fi,te=ie+19;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var _i=Se[j]+19|0;Se[j]=_i}var si=Se[pr+1];H(r,si);break r}if(19==(0|Ir)){var X=(r+8|0)>>2,ni=Me[X];if((ni+24|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str133,24);else{var oi=Or+ni|0;Pa(oi,0|He.__str133,24,1);var li=Se[X]+24|0;Se[X]=li}var bi=Se[pr+1];H(r,bi);break r}if(20==(0|Ir)){var F=(r+8|0)>>2,ki=Me[F];if((ki+17|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str134,17);else{for(var ui=Or+ki|0,ie=0|He.__str134,ve=ui,te=ie+17;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var ci=Se[F]+17|0;Se[F]=ci}var hi=Se[pr+1];H(r,hi);break r}if(21==(0|Ir)){var L=(r+8|0)>>2,di=Me[L],wi=a+8|0,pi=Me[wi>>2];if((pi+di|0)>>>0>Me[Er+3]>>>0){var Ei=Se[pr+1];Q(r,Ei,pi);break r}var Ai=Or+di|0,gi=Se[pr+1];Pa(Ai,gi,pi,1);var yi=Se[L]+Se[wi>>2]|0;Se[L]=yi;break r}if(22==(0|Ir)||23==(0|Ir)||24==(0|Ir)){for(var mi=r+20|0;;){var mi,Si=Me[mi>>2];if(0==(0|Si))break a;if(0==(0|Se[Si+8>>2])){var Mi=Me[Se[Si+4>>2]>>2];if((Mi-22|0)>>>0>=3)break a;if((0|Mi)==(0|Ir))break}var mi=0|Si}var Ci=Se[pr+1];H(r,Ci);break r}if(25!=(0|Ir)&&26!=(0|Ir)&&27!=(0|Ir)&&28!=(0|Ir)&&29!=(0|Ir)&&30!=(0|Ir)&&31!=(0|Ir)&&32!=(0|Ir)){if(33==(0|Ir)){var D=(r+8|0)>>2,Ri=Me[D],P=(a+4|0)>>2,I=Me[P]>>2;if(0==(4&Se[Er]|0)){var Ti=Me[I+1];if((Ti+Ri|0)>>>0>Me[Er+3]>>>0){var Oi=Se[I];Q(r,Oi,Ti);break r}var Ni=Or+Ri|0,Ii=Se[I];Pa(Ni,Ii,Ti,1);var Pi=Se[D]+Se[Se[P]+4>>2]|0;Se[D]=Pi;break r}var Di=Me[I+3];if((Di+Ri|0)>>>0>Me[Er+3]>>>0){var Li=Se[I+2];Q(r,Li,Di);break r}var Fi=Or+Ri|0,Xi=Se[I+2];Pa(Fi,Xi,Di,1);var ji=Se[D]+Se[Se[P]+12>>2]|0;Se[D]=ji;break r}if(34==(0|Ir)){var Ui=Se[pr+1];H(r,Ui);break r}if(35==(0|Ir)){var N=(0|r)>>2;if(0!=(32&Se[N]|0)){var xi=Se[Er+5];rr(r,a,xi)}var zi=a+4|0,Vi=0==(0|Se[zi>>2]);e:do if(!Vi){var O=(r+20|0)>>2,Bi=Se[O],Hi=0|Mr;Se[Hi>>2]=Bi,Se[O]=Mr,Se[Mr+4>>2]=a;var Ki=Mr+8|0;Se[Ki>>2]=0;var Yi=Se[Er+4];Se[Mr+12>>2]=Yi;var Gi=Se[zi>>2];H(r,Gi);var Wi=Se[Hi>>2];if(Se[O]=Wi,0!=(0|Se[Ki>>2]))break r;if(0!=(32&Se[N]|0))break;var Zi=Me[cr],Qi=0==(0|Zi);do if(!Qi){var qi=r+8|0,$i=Me[qi>>2];if($i>>>0>=Me[Er+3]>>>0)break;Se[qi>>2]=$i+1|0,Ae[Zi+$i|0]=32;break e}while(0);Y(r,32)}while(0);if(0!=(32&Se[N]|0))break r;var Ji=Se[Er+5];rr(r,a,Ji);break r}if(36==(0|Ir)){var T=(r+20|0)>>2,rv=Me[T],av=0|Cr;Se[hr]=rv,Se[T]=av,Se[hr+1]=a;var ev=Cr+8|0;Se[ev>>2]=0;var iv=Se[Er+4];Se[hr+3]=iv;for(var vv=rv,tv=1;;){var tv,vv;if(0==(0|vv))break;if((Se[Se[vv+4>>2]>>2]-22|0)>>>0>=3)break;var fv=vv+8|0;if(0==(0|Se[fv>>2])){if(tv>>>0>3){Z(r);break r}var _v=(tv<<4)+Cr|0,R=_v>>2,C=vv>>2;Se[R]=Se[C],Se[R+1]=Se[C+1],Se[R+2]=Se[C+2],Se[R+3]=Se[C+3];var sv=Se[T];Se[_v>>2]=sv,Se[T]=_v,Se[fv>>2]=1;var nv=tv+1|0}else var nv=tv;var nv,vv=Se[vv>>2],tv=nv}var ov=Se[pr+2];if(H(r,ov),Se[T]=rv,0!=(0|Se[ev>>2]))break r;if(tv>>>0>1){for(var lv=tv;;){var lv,bv=lv-1|0,kv=Se[((bv<<4)+4>>2)+hr];if($(r,kv),bv>>>0<=1)break;var lv=bv}var uv=Se[T]}else var uv=rv;var uv;ar(r,a,uv);break r}if(37==(0|Ir)){var M=(r+20|0)>>2,cv=Se[M],hv=0|Rr;Se[hv>>2]=cv,Se[M]=Rr,Se[Rr+4>>2]=a;var dv=Rr+8|0;Se[dv>>2]=0;var wv=Se[Er+4];Se[Rr+12>>2]=wv;var pv=a+4|0,Ev=Se[pr+2];H(r,Ev);var Av=0==(0|Se[dv>>2]);e:do if(Av){var gv=Me[cr],yv=0==(0|gv);do{if(!yv){var mv=r+8|0,Sv=Me[mv>>2];if(Sv>>>0>=Me[Er+3]>>>0){gr=187;break}Se[mv>>2]=Sv+1|0,Ae[gv+Sv|0]=32,gr=188;break}gr=187}while(0);187==gr&&Y(r,32);var Mv=Se[pv>>2];H(r,Mv);var Cv=Me[cr],Rv=0==(0|Cv);do if(!Rv){var S=(r+8|0)>>2,Tv=Me[S];if((Tv+3|0)>>>0>Me[Er+3]>>>0)break;var Ov=Cv+Tv|0;Ae[Ov]=Ae[0|He.__str135],Ae[Ov+1]=Ae[(0|He.__str135)+1],Ae[Ov+2]=Ae[(0|He.__str135)+2];var Nv=Se[S]+3|0;Se[S]=Nv;break e}while(0);Q(r,0|He.__str135,3)}while(0);var Iv=Se[hv>>2];Se[M]=Iv;break r}if(38==(0|Ir)||39==(0|Ir)){var Pv=Se[pr+1];H(r,Pv);var Dv=a+8|0;if(0==(0|Se[Dv>>2]))break r;var Lv=Me[cr],Fv=0==(0|Lv);do{if(!Fv){var m=(r+8|0)>>2,Xv=Me[m];if((Xv+2|0)>>>0>Me[Er+3]>>>0){gr=197;break}var jv=Lv+Xv|0;oe=8236,Ae[jv]=255&oe,oe>>=8,Ae[jv+1]=255&oe;var Uv=Se[m]+2|0;Se[m]=Uv,gr=198;break}gr=197}while(0);197==gr&&Q(r,0|He.__str136,2);var xv=Se[Dv>>2];H(r,xv);break r}if(40==(0|Ir)){var y=(r+8|0)>>2,zv=Me[y],g=(r+12|0)>>2;if((zv+8|0)>>>0>Me[g]>>>0)Q(r,0|He.__str137,8);else{var Vv=Or+zv|0,le=0|Vv;oe=1919250543,Ae[le]=255&oe,oe>>=8,Ae[le+1]=255&oe,oe>>=8,Ae[le+2]=255&oe,oe>>=8,Ae[le+3]=255&oe;var be=Vv+4|0;oe=1919906913,Ae[be]=255&oe,oe>>=8,Ae[be+1]=255&oe,oe>>=8,Ae[be+2]=255&oe,oe>>=8,Ae[be+3]=255&oe;var Bv=Se[y]+8|0;Se[y]=Bv}var A=(a+4|0)>>2,Hv=(Ae[Se[Se[A]+4>>2]]-97&255&255)<26;e:do if(Hv){var Kv=Me[cr],Yv=0==(0|Kv);do if(!Yv){var Gv=Me[y];if(Gv>>>0>=Me[g]>>>0)break;Se[y]=Gv+1|0,Ae[Kv+Gv|0]=32;break e}while(0);Y(r,32)}while(0);var Wv=Me[cr],Zv=0==(0|Wv);do{if(!Zv){var Qv=Me[y],qv=Me[A],$v=Me[qv+8>>2];if(($v+Qv|0)>>>0>Me[g]>>>0){var Jv=qv,rt=$v;break}var at=Wv+Qv|0,et=Se[qv+4>>2];Pa(at,et,$v,1);var it=Se[y]+Se[Se[A]+8>>2]|0;Se[y]=it;break r}var vt=Me[A],Jv=vt,rt=Se[vt+8>>2]}while(0);var rt,Jv,tt=Se[Jv+4>>2];Q(r,tt,rt);break r}if(41==(0|Ir)){var E=(r+8|0)>>2,ft=Me[E];if((ft+9|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str10180,9);else{for(var _t=Or+ft|0,ie=0|He.__str10180,ve=_t,te=ie+9;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var st=Se[E]+9|0;Se[E]=st}var nt=Se[pr+2];H(r,nt);break r}if(42==(0|Ir)){var p=(r+8|0)>>2,ot=Me[p];if((ot+9|0)>>>0>Me[Er+3]>>>0)Q(r,0|He.__str10180,9);else{for(var lt=Or+ot|0,ie=0|He.__str10180,ve=lt,te=ie+9;ie<te;ie++,ve++)Ae[ve]=Ae[ie];var bt=Se[p]+9|0;Se[p]=bt}er(r,a);break r}if(43==(0|Ir)){var kt=a+4|0,ut=Se[kt>>2],ct=42==(0|Se[ut>>2]);e:do if(ct){var w=(r+8|0)>>2,ht=Me[w],dt=r+12|0;ht>>>0<Me[dt>>2]>>>0?(Se[w]=ht+1|0,Ae[Or+ht|0]=40):Y(r,40);var wt=Se[kt>>2];er(r,wt);var pt=Me[cr],Et=0==(0|pt);do if(!Et){var At=Me[w];if(At>>>0>=Me[dt>>2]>>>0)break;Se[w]=At+1|0,Ae[pt+At|0]=41;break e}while(0);Y(r,41)}else ir(r,ut);while(0);var gt=Me[cr],yt=0==(0|gt);do{if(!yt){var mt=r+8|0,St=Me[mt>>2];if(St>>>0>=Me[Er+3]>>>0){gr=232;break}Se[mt>>2]=St+1|0,Ae[gt+St|0]=40,gr=233;break}gr=232}while(0);232==gr&&Y(r,40);var Mt=Se[pr+2];H(r,Mt);var Ct=Me[cr],Rt=0==(0|Ct);do if(!Rt){var Tt=r+8|0,Ot=Me[Tt>>2];if(Ot>>>0>=Me[Er+3]>>>0)break;Se[Tt>>2]=Ot+1|0,Ae[Ct+Ot|0]=41;break r}while(0);Y(r,41);break r}if(44==(0|Ir)){var d=(a+8|0)>>2;if(45==(0|Se[Se[d]>>2])){var h=(a+4|0)>>2,Nt=Se[h],It=40==(0|Se[Nt>>2]);do if(It){var Pt=Se[Nt+4>>2];if(1!=(0|Se[Pt+8>>2]))break;if(Ae[Se[Pt+4>>2]]<<24>>24!=62)break;var Dt=r+8|0,Lt=Me[Dt>>2];Lt>>>0<Me[Er+3]>>>0?(Se[Dt>>2]=Lt+1|0,Ae[Or+Lt|0]=40):Y(r,40)}while(0);var Ft=Me[cr],Xt=0==(0|Ft);do{if(!Xt){var jt=r+8|0,Ut=Me[jt>>2];if(Ut>>>0>=Me[Er+3]>>>0){gr=248;break}Se[jt>>2]=Ut+1|0,Ae[Ft+Ut|0]=40,gr=249;break}gr=248}while(0);248==gr&&Y(r,40);var xt=Se[Se[d]+4>>2];H(r,xt);var zt=Me[cr],Vt=0==(0|zt);do{if(!Vt){var c=(r+8|0)>>2,Bt=Me[c];if((Bt+2|0)>>>0>Me[Er+3]>>>0){gr=252;break}var Ht=zt+Bt|0;oe=8233,Ae[Ht]=255&oe,oe>>=8,Ae[Ht+1]=255&oe;var Kt=Se[c]+2|0;Se[c]=Kt,gr=253;break}gr=252}while(0);252==gr&&Q(r,0|He.__str139,2);var Yt=Se[h];ir(r,Yt);var Gt=Me[cr],Wt=0==(0|Gt);do{if(!Wt){var u=(r+8|0)>>2,Zt=Me[u];if((Zt+2|0)>>>0>Me[Er+3]>>>0){gr=256;break}var Qt=Gt+Zt|0;oe=10272,Ae[Qt]=255&oe,oe>>=8,Ae[Qt+1]=255&oe;var qt=Se[u]+2|0;Se[u]=qt,gr=257;break}gr=256}while(0);256==gr&&Q(r,0|He.__str140,2);var $t=Se[Se[d]+8>>2];H(r,$t);var Jt=Me[cr],rf=0==(0|Jt);do{if(!rf){var af=r+8|0,ef=Me[af>>2];if(ef>>>0>=Me[Er+3]>>>0){gr=260;break}Se[af>>2]=ef+1|0,Ae[Jt+ef|0]=41,gr=261;break}gr=260}while(0);260==gr&&Y(r,41);var vf=Se[h];if(40!=(0|Se[vf>>2]))break r;var tf=Se[vf+4>>2];if(1!=(0|Se[tf+8>>2]))break r;if(Ae[Se[tf+4>>2]]<<24>>24!=62)break r;var ff=Me[cr],_f=0==(0|ff);do if(!_f){var sf=r+8|0,nf=Me[sf>>2];if(nf>>>0>=Me[Er+3]>>>0)break;Se[sf>>2]=nf+1|0,Ae[ff+nf|0]=41;break r}while(0);Y(r,41);break r}Z(r);break r}if(45==(0|Ir)){Z(r);break r}if(46==(0|Ir)){var of=a+4|0,k=(a+8|0)>>2,lf=Se[k],bf=47==(0|Se[lf>>2]);do if(bf){if(48!=(0|Se[Se[lf+8>>2]>>2]))break;var b=(r+8|0)>>2,kf=Me[b],l=(r+12|0)>>2;kf>>>0<Me[l]>>>0?(Se[b]=kf+1|0,Ae[Or+kf|0]=40):Y(r,40);var uf=Se[Se[k]+4>>2];H(r,uf);var cf=Me[cr],hf=0==(0|cf);do{if(!hf){var df=Me[b];if((df+2|0)>>>0>Me[l]>>>0){gr=278;break}var wf=cf+df|0;oe=8233,Ae[wf]=255&oe,oe>>=8,Ae[wf+1]=255&oe;var pf=Se[b]+2|0;Se[b]=pf,gr=279;break}gr=278}while(0);278==gr&&Q(r,0|He.__str139,2);var Ef=Se[of>>2];ir(r,Ef);var Af=Me[cr],gf=0==(0|Af);do{if(!gf){var yf=Me[b];if((yf+2|0)>>>0>Me[l]>>>0){gr=282;break}var mf=Af+yf|0;oe=10272,Ae[mf]=255&oe,oe>>=8,Ae[mf+1]=255&oe;var Sf=Se[b]+2|0;Se[b]=Sf,gr=283;break}gr=282}while(0);282==gr&&Q(r,0|He.__str140,2);var Mf=Se[Se[Se[k]+8>>2]+4>>2];H(r,Mf);var Cf=Me[cr],Rf=0==(0|Cf);do{if(!Rf){var Tf=Me[b];if((Tf+5|0)>>>0>Me[l]>>>0){gr=286;break}var Of=Cf+Tf|0;Ae[Of]=Ae[0|He.__str141],Ae[Of+1]=Ae[(0|He.__str141)+1],Ae[Of+2]=Ae[(0|He.__str141)+2],Ae[Of+3]=Ae[(0|He.__str141)+3],Ae[Of+4]=Ae[(0|He.__str141)+4];var Nf=Se[b]+5|0;Se[b]=Nf,gr=287;break}gr=286}while(0);286==gr&&Q(r,0|He.__str141,5);var If=Se[Se[Se[k]+8>>2]+8>>2];H(r,If);var Pf=Me[cr],Df=0==(0|Pf);do if(!Df){var Lf=Me[b];if(Lf>>>0>=Me[l]>>>0)break;Se[b]=Lf+1|0,Ae[Pf+Lf|0]=41;break r}while(0);Y(r,41);break r}while(0);Z(r);break r}if(47==(0|Ir)||48==(0|Ir)){Z(r);break r}if(49==(0|Ir)||50==(0|Ir)){var Ff=a+4|0,Xf=Se[Ff>>2],jf=33==(0|Se[Xf>>2]);do{if(jf){var Uf=Me[Se[Xf+4>>2]+16>>2];if(1==(0|Uf)||2==(0|Uf)||3==(0|Uf)||4==(0|Uf)||5==(0|Uf)||6==(0|Uf)){var xf=a+8|0;if(0!=(0|Se[Se[xf>>2]>>2])){var zf=Uf;break}if(50==(0|Ir)){var Vf=r+8|0,Bf=Me[Vf>>2];Bf>>>0<Me[Er+3]>>>0?(Se[Vf>>2]=Bf+1|0,Ae[Or+Bf|0]=45):Y(r,45)}var Hf=Se[xf>>2];if(H(r,Hf),2==(0|Uf)){var Kf=Me[cr],Yf=0==(0|Kf);do if(!Yf){var Gf=r+8|0,Wf=Me[Gf>>2];if(Wf>>>0>=Me[Er+3]>>>0)break;Se[Gf>>2]=Wf+1|0,Ae[Kf+Wf|0]=117;break r}while(0);Y(r,117);break r}if(3==(0|Uf)){var Zf=Me[cr],Qf=0==(0|Zf);do if(!Qf){var qf=r+8|0,$f=Me[qf>>2];if($f>>>0>=Me[Er+3]>>>0)break;Se[qf>>2]=$f+1|0,Ae[Zf+$f|0]=108;break r}while(0);Y(r,108);break r}if(4==(0|Uf)){var Jf=Me[cr],r_=0==(0|Jf);do if(!r_){var o=(r+8|0)>>2,a_=Me[o];if((a_+2|0)>>>0>Me[Er+3]>>>0)break;var e_=Jf+a_|0;oe=27765,Ae[e_]=255&oe,oe>>=8,Ae[e_+1]=255&oe;var i_=Se[o]+2|0;Se[o]=i_;break r}while(0);Q(r,0|He.__str142,2);break r}if(5==(0|Uf)){var v_=Me[cr],t_=0==(0|v_);do if(!t_){var n=(r+8|0)>>2,f_=Me[n];if((f_+2|0)>>>0>Me[Er+3]>>>0)break;var __=v_+f_|0;oe=27756,Ae[__]=255&oe,oe>>=8,Ae[__+1]=255&oe;var s_=Se[n]+2|0;Se[n]=s_;break r}while(0);Q(r,0|He.__str143,2);break r}if(6==(0|Uf)){var n_=Me[cr],o_=0==(0|n_);do if(!o_){var s=(r+8|0)>>2,l_=Me[s];if((l_+3|0)>>>0>Me[Er+3]>>>0)break;var b_=n_+l_|0;Ae[b_]=Ae[0|He.__str144],Ae[b_+1]=Ae[(0|He.__str144)+1],Ae[b_+2]=Ae[(0|He.__str144)+2];var k_=Se[s]+3|0;Se[s]=k_;break r}while(0);Q(r,0|He.__str144,3);break r}break r}if(7==(0|Uf)){var _=Se[pr+2]>>2;if(0!=(0|Se[_])){var zf=7;break}if(!(1==(0|Se[_+2])&49==(0|Ir))){var zf=Uf;break}var u_=Ae[Se[_+1]]<<24>>24;if(48==(0|u_)){var f=(r+8|0)>>2,c_=Me[f];if((c_+5|0)>>>0>Me[Er+3]>>>0){Q(r,0|He.__str145,5);break r}var h_=Or+c_|0;Ae[h_]=Ae[0|He.__str145],Ae[h_+1]=Ae[(0|He.__str145)+1],Ae[h_+2]=Ae[(0|He.__str145)+2],Ae[h_+3]=Ae[(0|He.__str145)+3],Ae[h_+4]=Ae[(0|He.__str145)+4];var d_=Se[f]+5|0;Se[f]=d_;break r}if(49==(0|u_)){var t=(r+8|0)>>2,w_=Me[t];if((w_+4|0)>>>0>Me[Er+3]>>>0){Q(r,0|He.__str146,4);break r}var p_=Or+w_|0;oe=1702195828,Ae[p_]=255&oe,oe>>=8,Ae[p_+1]=255&oe,oe>>=8,Ae[p_+2]=255&oe,oe>>=8,Ae[p_+3]=255&oe;var E_=Se[t]+4|0;Se[t]=E_;break r}var zf=Uf;break}var zf=Uf;break}var zf=0}while(0);var zf,v=(r+8|0)>>2,A_=Me[v],i=(r+12|0)>>2;A_>>>0<Me[i]>>>0?(Se[v]=A_+1|0,Ae[Or+A_|0]=40):Y(r,40);var g_=Se[Ff>>2];H(r,g_);var y_=Me[cr],m_=0==(0|y_);do{if(!m_){var S_=Me[v];if(S_>>>0>=Me[i]>>>0){gr=335;break}Se[v]=S_+1|0,Ae[y_+S_|0]=41,gr=336;break}gr=335}while(0);335==gr&&Y(r,41);var M_=50==(0|Se[Nr>>2]);e:do if(M_){var C_=Me[cr],R_=0==(0|C_);do if(!R_){var T_=Me[v];if(T_>>>0>=Me[i]>>>0)break;Se[v]=T_+1|0,Ae[C_+T_|0]=45;break e}while(0);Y(r,45)}while(0);if(8==(0|zf)){var O_=Me[cr],N_=0==(0|O_);do{if(!N_){var I_=Me[v];if(I_>>>0>=Me[i]>>>0){gr=345;break}Se[v]=I_+1|0,Ae[O_+I_|0]=91,gr=346;break}gr=345}while(0);345==gr&&Y(r,91);var P_=Se[pr+2];H(r,P_);var D_=Me[cr],L_=0==(0|D_);do if(!L_){var F_=Me[v];if(F_>>>0>=Me[i]>>>0)break;Se[v]=F_+1|0,Ae[D_+F_|0]=93;break r}while(0);Y(r,93);break r}var X_=Se[pr+2];H(r,X_);break r}Z(r);break r}}while(0);var e=(r+20|0)>>2,j_=Se[e],U_=0|Sr;Se[U_>>2]=j_,Se[e]=Sr,Se[Sr+4>>2]=a;var x_=Sr+8|0;Se[x_>>2]=0;var z_=Se[Er+4];Se[Sr+12>>2]=z_;var V_=Se[pr+1];H(r,V_),0==(0|Se[x_>>2])&&$(r,a);var B_=Se[U_>>2];Se[e]=B_}while(0);Oe=Ar}function K(r,a,e,i){var v=i>>2;Se[v]=r,Se[v+1]=r+e|0,Se[v+2]=a,Se[v+3]=r,Se[v+6]=e<<1,Se[v+5]=0,Se[v+9]=e,Se[v+8]=0,Se[v+10]=0,Se[v+11]=0,Se[v+12]=0}function Y(r,a){var e,i=r+4|0,v=Me[i>>2],t=0==(0|v);do if(!t){var e=(r+8|0)>>2,f=Me[e];if(f>>>0<Me[r+12>>2]>>>0)var _=v,s=f;else{tr(r,1);var n=Me[i>>2];if(0==(0|n))break;var _=n,s=Se[e]}var s,_;Ae[_+s|0]=255&a;var o=Se[e]+1|0;Se[e]=o}while(0)}function G(r,a,e,i){var v,t=i>>2,f=Oe;Oe+=4;var _=f,v=_>>2,s=0==(0|r);do if(s){if(0==(0|i)){var n=0;break}Se[t]=-3;var n=0}else{var o=0==(0|e);if(0!=(0|a)&o){if(0==(0|i)){var n=0;break}Se[t]=-3;var n=0}else{var l=W(r,_);if(0==(0|l)){if(0==(0|i)){var n=0;break}if(1==(0|Se[v])){Se[t]=-1;var n=0}else{Se[t]=-2;var n=0}}else{var b=0==(0|a);do if(b){if(o){var k=l;break}var u=Se[v];Se[e>>2]=u;var k=l}else{var c=Ca(l);if(c>>>0<Me[e>>2]>>>0){Ra(a,l);va(l);var k=a}else{va(a);var h=Se[v];Se[e>>2]=h;var k=l}}while(0);var k;if(0==(0|i)){var n=k;break}Se[t]=0;var n=k}}}while(0);var n;return Oe=f,n}function W(r,a){var e,i=Oe;Oe+=52;var v,t=i,e=t>>2;Se[a>>2]=0;var f=Ca(r),_=Ae[r]<<24>>24==95;do{if(_){if(Ae[r+1|0]<<24>>24==90){var s=0;v=13;break}v=3;break}v=3}while(0);do if(3==v){var n=Na(r,0|He.__str117,8);if(0!=(0|n)){var s=1;v=13;break}var o=Ae[r+8|0];if(o<<24>>24!=46&&o<<24>>24!=95&&o<<24>>24!=36){var s=1;v=13;break}var l=r+9|0,b=Ae[l];if(b<<24>>24!=68&&b<<24>>24!=73){\\nvar s=1;v=13;break}if(Ae[r+10|0]<<24>>24!=95){var s=1;v=13;break}var k=f+29|0,u=Jr(k);if(0==(0|u)){Se[a>>2]=1;var c=0;v=19;break}Ae[l]<<24>>24==73?Pa(u,0|He.__str118,30,1):Pa(u,0|He.__str119,29,1);var h=r+11|0,c=(Ia(u,h),u);v=19;break}while(0);if(13==v){var s;K(r,17,f,t);var d=Se[e+6],w=Ta(),p=Oe;Oe+=12*d,Oe=Oe+3>>2<<2;var E=Oe;if(Oe+=4*Se[e+9],Oe=Oe+3>>2<<2,Se[e+4]=p,Se[e+7]=E,s)var A=N(t),g=A;else var y=T(t,1),g=y;var g,m=Ae[Se[e+3]]<<24>>24==0?g:0,S=Se[e+12]+f+10*Se[e+10]|0;if(0==(0|m))var M=0;else var C=S/8+S|0,R=B(17,m,C,a),M=R;var M;Oa(w);var c=M}var c;return Oe=i,c}function Z(r){var a=r+4|0,e=Se[a>>2];va(e),Se[a>>2]=0}function Q(r,a,e){var i,v=r+4|0,t=Me[v>>2],f=0==(0|t);do if(!f){var i=(r+8|0)>>2,_=Me[i];if((_+e|0)>>>0>Me[r+12>>2]>>>0){tr(r,e);var s=Me[v>>2];if(0==(0|s))break;var n=s,o=Se[i]}else var n=t,o=_;var o,n;Pa(n+o|0,a,e,1);var l=Se[i]+e|0;Se[i]=l}while(0)}function q(r,a,e){var i,v,t=a+e|0,f=(0|e)>0;r:do if(f)for(var _=t,s=r+4|0,i=(r+8|0)>>2,n=r+12|0,o=a;;){var o,l=(_-o|0)>3;a:do{if(l){if(Ae[o]<<24>>24!=95){v=21;break}if(Ae[o+1|0]<<24>>24!=95){v=21;break}if(Ae[o+2|0]<<24>>24!=85){v=21;break}for(var b=o+3|0,k=0;;){var k,b;if(b>>>0>=t>>>0){v=21;break a}var u=ge[b],c=u<<24>>24;if((u-48&255&255)<10)var h=c-48|0;else if((u-65&255&255)<6)var h=c-55|0;else{if((u-97&255&255)>=6)break;var h=c-87|0}var h,b=b+1|0,k=(k<<4)+h|0}if(!(u<<24>>24==95&k>>>0<256)){v=21;break}var d=Me[s>>2],w=0==(0|d);do if(!w){var p=Me[i];if(p>>>0>=Me[n>>2]>>>0)break;Se[i]=p+1|0,Ae[d+p|0]=255&k;var E=b;v=25;break a}while(0);Y(r,k);var E=b;v=25;break}v=21}while(0);a:do if(21==v){var A=Me[s>>2],g=0==(0|A);do if(!g){var y=Me[i];if(y>>>0>=Me[n>>2]>>>0)break;var m=Ae[o];Se[i]=y+1|0,Ae[A+y|0]=m;var E=o;break a}while(0);var S=Ae[o]<<24>>24;Y(r,S);var E=o}while(0);var E,M=E+1|0;if(M>>>0>=t>>>0)break r;var o=M}while(0)}function $(r,a){var e,i,v,t,f,_,s,n=r>>2,o=Se[a>>2];r:do if(22==(0|o)||25==(0|o)){var l=Me[n+1],b=0==(0|l);do if(!b){var _=(r+8|0)>>2,k=Me[_];if((k+9|0)>>>0>Me[n+3]>>>0)break;for(var u=l+k|0,c=0|He.__str147,h=u,d=c+9;c<d;c++,h++)Ae[h]=Ae[c];var w=Se[_]+9|0;Se[_]=w;break r}while(0);Q(r,0|He.__str147,9)}else if(23==(0|o)||26==(0|o)){var p=Me[n+1],E=0==(0|p);do if(!E){var f=(r+8|0)>>2,A=Me[f];if((A+9|0)>>>0>Me[n+3]>>>0)break;for(var g=p+A|0,c=0|He.__str148,h=g,d=c+9;c<d;c++,h++)Ae[h]=Ae[c];var y=Se[f]+9|0;Se[f]=y;break r}while(0);Q(r,0|He.__str148,9)}else if(24==(0|o)||27==(0|o)){var m=Me[n+1],S=0==(0|m);do if(!S){var t=(r+8|0)>>2,M=Me[t];if((M+6|0)>>>0>Me[n+3]>>>0)break;var C=m+M|0;Ae[C]=Ae[0|He.__str149],Ae[C+1]=Ae[(0|He.__str149)+1],Ae[C+2]=Ae[(0|He.__str149)+2],Ae[C+3]=Ae[(0|He.__str149)+3],Ae[C+4]=Ae[(0|He.__str149)+4],Ae[C+5]=Ae[(0|He.__str149)+5];var R=Se[t]+6|0;Se[t]=R;break r}while(0);Q(r,0|He.__str149,6)}else if(28==(0|o)){var T=Me[n+1],O=0==(0|T);do{if(!O){var N=r+8|0,I=Me[N>>2];if(I>>>0>=Me[n+3]>>>0){s=17;break}Se[N>>2]=I+1|0,Ae[T+I|0]=32,s=18;break}s=17}while(0);17==s&&Y(r,32);var P=Se[a+8>>2];H(r,P)}else if(29==(0|o)){if(0!=(4&Se[n]|0))break;var D=Me[n+1],L=0==(0|D);do if(!L){var F=r+8|0,X=Me[F>>2];if(X>>>0>=Me[n+3]>>>0)break;Se[F>>2]=X+1|0,Ae[D+X|0]=42;break r}while(0);Y(r,42)}else if(30==(0|o)){var j=Me[n+1],U=0==(0|j);do if(!U){var x=r+8|0,z=Me[x>>2];if(z>>>0>=Me[n+3]>>>0)break;Se[x>>2]=z+1|0,Ae[j+z|0]=38;break r}while(0);Y(r,38)}else if(31==(0|o)){var V=Me[n+1],B=0==(0|V);do if(!B){var v=(r+8|0)>>2,K=Me[v];if((K+8|0)>>>0>Me[n+3]>>>0)break;var G=V+K|0,W=0|G;oe=1886220131,Ae[W]=255&oe,oe>>=8,Ae[W+1]=255&oe,oe>>=8,Ae[W+2]=255&oe,oe>>=8,Ae[W+3]=255&oe;var Z=G+4|0;oe=544761196,Ae[Z]=255&oe,oe>>=8,Ae[Z+1]=255&oe,oe>>=8,Ae[Z+2]=255&oe,oe>>=8,Ae[Z+3]=255&oe;var q=Se[v]+8|0;Se[v]=q;break r}while(0);Q(r,0|He.__str150,8)}else if(32==(0|o)){var $=Me[n+1],J=0==(0|$);do if(!J){var i=(r+8|0)>>2,rr=Me[i];if((rr+10|0)>>>0>Me[n+3]>>>0)break;for(var ar=$+rr|0,c=0|He.__str151,h=ar,d=c+10;c<d;c++,h++)Ae[h]=Ae[c];var er=Se[i]+10|0;Se[i]=er;break r}while(0);Q(r,0|He.__str151,10)}else if(37==(0|o)){var ir=r+4|0,vr=Me[ir>>2],tr=0==(0|vr);do{if(!tr){var fr=r+8|0,_r=Me[fr>>2];if(0!=(0|_r)&&Ae[vr+(_r-1)|0]<<24>>24==40){s=42;break}if(_r>>>0>=Me[n+3]>>>0){s=41;break}Se[fr>>2]=_r+1|0,Ae[vr+_r|0]=32,s=42;break}s=41}while(0);41==s&&Y(r,32);var sr=Se[a+4>>2];H(r,sr);var nr=Me[ir>>2],or=0==(0|nr);do if(!or){var e=(r+8|0)>>2,lr=Me[e];if((lr+3|0)>>>0>Me[n+3]>>>0)break;var br=nr+lr|0;Ae[br]=Ae[0|He.__str135],Ae[br+1]=Ae[(0|He.__str135)+1],Ae[br+2]=Ae[(0|He.__str135)+2];var kr=Se[e]+3|0;Se[e]=kr;break r}while(0);Q(r,0|He.__str135,3)}else if(3==(0|o)){var ur=Se[a+4>>2];H(r,ur)}else H(r,a);while(0)}function J(r){var a=r+20|0,e=Se[a>>2];if((0|e)<(0|Se[r+24>>2])){var i=Se[r+16>>2]+12*e|0,v=e+1|0;Se[a>>2]=v;var t=i}else var t=0;var t;return t}function rr(r,a,e){var i,v,t,f,_=r>>2,s=e,t=s>>2,n=0;r:for(;;){var n,s,o=0==(0|s);do if(!o){if(0!=(0|Se[t+2]))break;var l=Se[Se[t+1]>>2];if(29==(0|l)||30==(0|l)){f=9;break r}if(22==(0|l)||23==(0|l)||24==(0|l)||28==(0|l)||31==(0|l)||32==(0|l)||37==(0|l)){var b=Se[_+1];f=12;break r}var s=Se[t],t=s>>2,n=1;continue r}while(0);if(0!=(0|Se[a+4>>2])&0==(0|n)){f=9;break}var k=0,u=r+4|0,v=u>>2;f=22;break}do if(9==f){var c=Se[_+1];if(0==(0|c)){f=17;break}var h=Se[_+2];if(0==(0|h)){var d=c;f=13;break}var w=Ae[c+(h-1)|0];if(w<<24>>24==40||w<<24>>24==42){f=18;break}var b=c;f=12;break}while(0);do if(12==f){var b;if(0==(0|b)){f=17;break}var d=b;f=13;break}while(0);do if(13==f){var d,p=r+8|0,E=Me[p>>2];if(0!=(0|E)&&Ae[d+(E-1)|0]<<24>>24==32){f=18;break}if(E>>>0>=Me[_+3]>>>0){f=17;break}Se[p>>2]=E+1|0,Ae[d+E|0]=32,f=18;break}while(0);do if(17==f){Y(r,32),f=18;break}while(0);r:do if(18==f){var A=r+4|0,g=Me[A>>2],y=0==(0|g);do if(!y){var m=r+8|0,S=Me[m>>2];if(S>>>0>=Me[_+3]>>>0)break;Se[m>>2]=S+1|0,Ae[g+S|0]=40;var k=1,u=A,v=u>>2;break r}while(0);Y(r,40);var k=1,u=A,v=u>>2}while(0);var u,k,i=(r+20|0)>>2,M=Se[i];Se[i]=0,vr(r,e,0);r:do if(k){var C=Me[v],R=0==(0|C);do if(!R){var T=r+8|0,O=Me[T>>2];if(O>>>0>=Me[_+3]>>>0)break;Se[T>>2]=O+1|0,Ae[C+O|0]=41;break r}while(0);Y(r,41)}while(0);var N=Me[v],I=0==(0|N);do{if(!I){var P=r+8|0,D=Me[P>>2];if(D>>>0>=Me[_+3]>>>0){f=30;break}Se[P>>2]=D+1|0,Ae[N+D|0]=40,f=31;break}f=30}while(0);30==f&&Y(r,40);var L=Se[a+8>>2];0!=(0|L)&&H(r,L);var F=Me[v],X=0==(0|F);do{if(!X){var j=r+8|0,U=Me[j>>2];if(U>>>0>=Me[_+3]>>>0){f=36;break}Se[j>>2]=U+1|0,Ae[F+U|0]=41,f=37;break}f=36}while(0);36==f&&Y(r,41),vr(r,e,1),Se[i]=M}function ar(r,a,e){var i,v,t,f=r>>2,_=0==(0|e);do{if(!_){var s=e,v=s>>2;r:for(;;){var s;if(0==(0|s)){var n=1;t=14;break}if(0==(0|Se[v+2])){var o=36==(0|Se[Se[v+1]>>2]),l=1&o^1;if(o){var n=l;t=14;break}var b=r+4|0,k=Me[b>>2],u=0==(0|k);do{if(!u){var i=(r+8|0)>>2,c=Me[i];if((c+2|0)>>>0>Me[f+3]>>>0){t=9;break}var h=k+c|0;oe=10272,Ae[h]=255&oe,oe>>=8,Ae[h+1]=255&oe;var d=Se[i]+2|0;Se[i]=d,vr(r,e,0),t=10;break}t=9}while(0);9==t&&(Q(r,0|He.__str140,2),vr(r,e,0));var w=Me[b>>2],p=0==(0|w);do if(!p){var E=r+8|0,A=Me[E>>2];if(A>>>0>=Me[f+3]>>>0)break;Se[E>>2]=A+1|0,Ae[w+A|0]=41;var g=l;t=15;break r}while(0);Y(r,41);var g=l;t=15;break}var s=Se[v],v=s>>2}if(14==t){var n;vr(r,e,0);var g=n}var g;if(0!=(0|g)){t=17;break}var y=r+4|0;t=21;break}t=17}while(0);r:do if(17==t){var m=r+4|0,S=Me[m>>2],M=0==(0|S);do if(!M){var C=r+8|0,R=Me[C>>2];if(R>>>0>=Me[f+3]>>>0)break;Se[C>>2]=R+1|0,Ae[S+R|0]=32;var y=m;break r}while(0);Y(r,32);var y=m}while(0);var y,T=Me[y>>2],O=0==(0|T);do{if(!O){var N=r+8|0,I=Me[N>>2];if(I>>>0>=Me[f+3]>>>0){t=24;break}Se[N>>2]=I+1|0,Ae[T+I|0]=91,t=25;break}t=24}while(0);24==t&&Y(r,91);var P=Se[a+4>>2];0!=(0|P)&&H(r,P);var D=Me[y>>2],L=0==(0|D);do{if(!L){var F=r+8|0,X=Me[F>>2];if(X>>>0>=Me[f+3]>>>0){t=30;break}Se[F>>2]=X+1|0,Ae[D+X|0]=93,t=31;break}t=30}while(0);30==t&&Y(r,93)}function er(r,a){var e,i,v,t,f,_,s=Oe;Oe+=8;var n,o=s,_=(a+4|0)>>2,l=Se[_];if(4==(0|Se[l>>2])){var f=(r+20|0)>>2,b=Se[f];Se[f]=0;var t=(r+16|0)>>2,k=Se[t],u=0|o;Se[u>>2]=k,Se[t]=o;var c=Se[_];Se[o+4>>2]=c;var h=Se[c+4>>2];H(r,h);var d=Se[u>>2];Se[t]=d;var v=(r+4|0)>>2,w=Me[v],p=0==(0|w);do{if(!p){var i=(r+8|0)>>2,E=Me[i],A=0==(0|E);do if(!A){if(Ae[w+(E-1)|0]<<24>>24!=60)break;E>>>0<Me[r+12>>2]>>>0?(Se[i]=E+1|0,Ae[w+E|0]=32):Y(r,32)}while(0);var g=Me[v];if(0==(0|g)){n=12;break}var y=Me[i];if(y>>>0>=Me[r+12>>2]>>>0){n=12;break}Se[i]=y+1|0,Ae[g+y|0]=60,n=13;break}n=12}while(0);12==n&&Y(r,60);var m=Se[Se[_]+8>>2];H(r,m);var S=Me[v],M=0==(0|S);do{if(!M){var e=(r+8|0)>>2,C=Me[e],R=0==(0|C);do if(!R){if(Ae[S+(C-1)|0]<<24>>24!=62)break;C>>>0<Me[r+12>>2]>>>0?(Se[e]=C+1|0,Ae[S+C|0]=32):Y(r,32)}while(0);var T=Me[v];if(0==(0|T)){n=22;break}var O=Me[e];if(O>>>0>=Me[r+12>>2]>>>0){n=22;break}Se[e]=O+1|0,Ae[T+O|0]=62,n=23;break}n=22}while(0);22==n&&Y(r,62),Se[f]=b}else H(r,l);Oe=s}function ir(r,a){var e,i=40==(0|Se[a>>2]);r:do if(i){var v=Me[r+4>>2],t=0==(0|v);do{if(!t){var e=(r+8|0)>>2,f=Me[e],_=a+4|0,s=Me[_>>2],n=Me[s+8>>2];if((n+f|0)>>>0>Me[r+12>>2]>>>0){var o=s,l=n;break}var b=v+f|0,k=Se[s+4>>2];Pa(b,k,n,1);var u=Se[e]+Se[Se[_>>2]+8>>2]|0;Se[e]=u;break r}var c=Me[a+4>>2],o=c,l=Se[c+8>>2]}while(0);var l,o,h=Se[o+4>>2];Q(r,h,l)}else H(r,a);while(0)}function vr(r,a,e){var i,v,t,f,_,f=(r+4|0)>>2,s=0==(0|e),t=(r+16|0)>>2;r:do if(s)for(var n=a;;){var n;if(0==(0|n)){_=29;break r}if(0==(0|Se[f])){_=29;break r}var o=n+8|0,l=0==(0|Se[o>>2]);do if(l){var b=n+4|0;if((Se[Se[b>>2]>>2]-25|0)>>>0<3)break;Se[o>>2]=1;var k=Me[t],u=Se[n+12>>2];Se[t]=u;var c=Me[b>>2],h=Se[c>>2];if(35==(0|h)){var d=n,w=k,p=c;_=14;break r}if(36==(0|h)){var E=n,A=k,g=c;_=15;break r}if(2==(0|h)){var y=k,m=b;_=16;break r}$(r,c),Se[t]=k}while(0);var n=Se[n>>2]}else for(var S=a;;){var S;if(0==(0|S)){_=29;break r}if(0==(0|Se[f])){_=29;break r}var M=S+8|0;if(0==(0|Se[M>>2])){Se[M>>2]=1;var C=Me[t],R=Se[S+12>>2];Se[t]=R;var T=S+4|0,O=Me[T>>2],N=Se[O>>2];if(35==(0|N)){var d=S,w=C,p=O;_=14;break r}if(36==(0|N)){var E=S,A=C,g=O;_=15;break r}if(2==(0|N)){var y=C,m=T;_=16;break r}$(r,O),Se[t]=C}var S=Se[S>>2]}while(0);if(14==_){var p,w,d,I=Se[d>>2];rr(r,p,I),Se[t]=w}else if(15==_){var g,A,E,P=Se[E>>2];ar(r,g,P),Se[t]=A}else if(16==_){var m,y,v=(r+20|0)>>2,D=Se[v];Se[v]=0;var L=Se[Se[m>>2]+4>>2];H(r,L),Se[v]=D;var F=0==(4&Se[r>>2]|0),X=Me[f],j=0!=(0|X);r:do if(F){do if(j){var i=(r+8|0)>>2,U=Me[i];if((U+2|0)>>>0>Me[r+12>>2]>>>0)break;var x=X+U|0;oe=14906,Ae[x]=255&oe,oe>>=8,Ae[x+1]=255&oe;var z=Se[i]+2|0;Se[i]=z;break r}while(0);Q(r,0|He.__str120,2)}else{do if(j){var V=r+8|0,B=Me[V>>2];if(B>>>0>=Me[r+12>>2]>>>0)break;Se[V>>2]=B+1|0,Ae[X+B|0]=46;break r}while(0);Y(r,46)}while(0);var K=Me[Se[m>>2]+8>>2],G=(Se[K>>2]-25|0)>>>0<3;r:do if(G)for(var W=K;;){var W,Z=Me[W+4>>2];if((Se[Z>>2]-25|0)>>>0>=3){var q=Z;break r}var W=Z}else var q=K;while(0);var q;H(r,q),Se[t]=y}}function tr(r,a){var e,e=(r+4|0)>>2,i=Se[e],v=0==(0|i);r:do if(!v){for(var t=Se[r+8>>2]+a|0,f=r+12|0,_=Se[f>>2],s=i;;){var s,_;if(t>>>0<=_>>>0)break r;var n=_<<1,o=fa(s,n);if(0==(0|o))break;Se[e]=o,Se[f>>2]=n;var _=n,s=o}var l=Se[e];va(l),Se[e]=0,Se[r+24>>2]=1}while(0)}function fr(r,a,e){var i,v=J(r),i=v>>2;return 0!=(0|v)&&(Se[i]=21,Se[i+1]=a,Se[i+2]=e),v}function _r(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e]<<24>>24;if(88==(0|i)){var v=e+1|0;Se[a]=v;var t=nr(r),f=Se[a],_=f+1|0;Se[a]=_;var s=Ae[f]<<24>>24==69?t:0,n=s}else if(76==(0|i))var o=or(r),n=o;else var l=N(r),n=l;var n;return n}function sr(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e];if(i<<24>>24==110){var v=e+1|0;Se[a]=v;var t=1,f=Ae[v],_=v}else var t=0,f=i,_=e;var _,f,t,s=(f-48&255&255)<10;r:do if(s)for(var n=f,o=0,l=_;;){var l,o,n,b=(n<<24>>24)-48+10*o|0,k=l+1|0;Se[a]=k;var u=ge[k];if((u-48&255&255)>=10){var c=b;break r}var n=u,o=b,l=k}else var c=0;while(0);var c,h=0==(0|t)?c:0|-c;return h}function nr(r){var a,e,a=(r+12|0)>>2,i=Se[a],v=Ae[i];do{if(v<<24>>24==76){var t=or(r),f=t;e=21;break}if(v<<24>>24==84){var _=x(r),f=_;e=21;break}if(v<<24>>24==115){if(Ae[i+1|0]<<24>>24!=114){e=8;break}var s=i+2|0;Se[a]=s;var n=N(r),o=br(r);if(Ae[Se[a]]<<24>>24==73){var l=z(r),b=D(r,4,o,l),k=D(r,1,n,b),f=k;e=21;break}var u=D(r,1,n,o),f=u;e=21;break}e=8}while(0);r:do if(8==e){var c=kr(r);if(0==(0|c)){var f=0;break}var h=0|c,d=Se[h>>2],w=40==(0|d);do{if(w){var p=c+4|0,E=r+48|0,A=Se[Se[p>>2]+8>>2]-2+Se[E>>2]|0;Se[E>>2]=A;var g=Se[h>>2];if(40!=(0|g)){var y=g;e=13;break}var m=Se[p>>2],S=Se[m>>2],M=Da(S,0|He.__str90);if(0!=(0|M)){var C=m;e=15;break}var R=N(r),T=D(r,43,c,R),f=T;break r}var y=d;e=13}while(0);do if(13==e){var y;if(40==(0|y)){var C=Se[c+4>>2];e=15;break}if(41==(0|y)){var O=c+4|0;e=17;break}if(42==(0|y)){e=18;break}var f=0;break r}while(0);do if(15==e){var C,O=C+12|0;e=17;break}while(0);do if(17==e){var O,I=Se[O>>2];if(1==(0|I))break;if(2==(0|I)){var P=nr(r),L=nr(r),F=D(r,45,P,L),X=D(r,44,c,F);return X}if(3==(0|I)){var j=nr(r),U=nr(r),V=nr(r),B=D(r,48,U,V),H=D(r,47,j,B),K=D(r,46,c,H);return K}var f=0;break r}while(0);var Y=nr(r),G=D(r,43,c,Y);return G}while(0);var f;return f}function or(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==76;r:do if(v){if(Ae[i]<<24>>24==95)var t=T(r,0),f=t;else{var _=N(r);if(0==(0|_)){var s=0;break}var n=33==(0|Se[_>>2]);do if(n){var o=Se[_+4>>2];if(0==(0|Se[o+16>>2]))break;var l=r+48|0,b=Se[l>>2]-Se[o+4>>2]|0;Se[l>>2]=b}while(0);var k=Se[a];if(Ae[k]<<24>>24==110){var u=k+1|0;Se[a]=u;var c=50,h=u}else var c=49,h=k;for(var h,c,d=h;;){var d,w=Ae[d];if(w<<24>>24==69)break;if(w<<24>>24==0){var s=0;break r}var p=d+1|0;Se[a]=p;var d=p}var E=lr(r,h,d-h|0),A=D(r,c,_,E),f=A}var f,g=Se[a],y=g+1|0;Se[a]=y;var m=Ae[g]<<24>>24==69?f:0,s=m}else var s=0;while(0);var s;return s}function lr(r,a,e){var i=J(r),v=m(i,a,e),t=0==(0|v)?0:i;return t}function br(r){var a=r+12|0,e=Me[a>>2],i=ge[e],v=(i-48&255&255)<10;do if(v)var t=L(r),f=t;else if((i-97&255&255)<26){var _=kr(r);if(0==(0|_)){var f=0;break}if(40!=(0|Se[_>>2])){var f=_;break}var s=r+48|0,n=Se[Se[_+4>>2]+8>>2]+Se[s>>2]+7|0;Se[s>>2]=n;var f=_}else if(i<<24>>24==67||i<<24>>24==68)var o=hr(r),f=o;else{if(i<<24>>24!=76){var f=0;break}Se[a>>2]=e+1|0;var l=L(r);if(0==(0|l)){var f=0;break}var b=dr(r),k=0==(0|b)?0:l,f=k}while(0);var f;return f}function kr(r){var a,e,a=(r+12|0)>>2,i=Se[a],v=i+1|0;Se[a]=v;var t=ge[i],f=i+2|0;Se[a]=f;var _=ge[v];do{if(t<<24>>24==118){if((_-48&255&255)>=10){var s=49,n=0;e=6;break}var o=(_<<24>>24)-48|0,l=L(r),b=ur(r,o,l),k=b;e=14;break}if(t<<24>>24==99){if(_<<24>>24!=118){var s=49,n=0;e=6;break}var u=N(r),c=D(r,42,u,0),k=c;e=14;break}var s=49,n=0;e=6}while(0);r:do if(6==e){for(;;){var n,s,h=(s-n)/2+n|0,d=(h<<4)+ri|0,w=Se[d>>2],p=Ae[w],E=t<<24>>24==p<<24>>24;if(E&&_<<24>>24==Ae[w+1|0]<<24>>24)break;var A=t<<24>>24<p<<24>>24;do if(A)var g=h,y=n;else{if(E&&_<<24>>24<Ae[w+1|0]<<24>>24){var g=h,y=n;break}var g=s,y=h+1|0}while(0);var y,g;if((0|y)==(0|g)){var k=0;break r}var s=g,n=y}var m=cr(r,d),k=m}while(0);var k;return k}function ur(r,a,e){var i=J(r),v=S(i,a,e),t=0==(0|v)?0:i;return t}function cr(r,a){var e=J(r);return 0!=(0|e)&&(Se[e>>2]=40,Se[e+4>>2]=a),e}function hr(r){var a,e,i=Se[r+44>>2],e=i>>2,v=0==(0|i);do if(!v){var t=Se[e];if(0==(0|t)){var f=r+48|0,_=Se[f>>2]+Se[e+2]|0;Se[f>>2]=_}else{if(21!=(0|t))break;var s=r+48|0,n=Se[s>>2]+Se[e+2]|0;Se[s>>2]=n}}while(0);var a=(r+12|0)>>2,o=Se[a],l=o+1|0;Se[a]=l;var b=Ae[o]<<24>>24;do if(67==(0|b)){var k=o+2|0;Se[a]=k;var u=Ae[l]<<24>>24;if(49==(0|u))var c=1;else if(50==(0|u))var c=2;else{if(51!=(0|u)){var h=0;break}var c=3}var c,d=wr(r,c,i),h=d}else if(68==(0|b)){var w=o+2|0;Se[a]=w;var p=Ae[l]<<24>>24;if(48==(0|p))var E=1;else if(49==(0|p))var E=2;else{if(50!=(0|p)){var h=0;break}var E=3}var E,A=pr(r,E,i),h=A}else var h=0;while(0);var h;return h}function dr(r){var a=r+12|0,e=Se[a>>2];if(Ae[e]<<24>>24==95){var i=e+1|0;Se[a>>2]=i;var v=sr(r),t=v>>>31^1}else var t=1;var t;return t}function wr(r,a,e){var i=J(r),v=M(i,a,e),t=0==(0|v)?0:i;return t}function pr(r,a,e){var i=J(r),v=C(i,a,e),t=0==(0|v)?0:i;return t}function Er(r,a){var e=J(r);return 0!=(0|e)&&(Se[e>>2]=5,Se[e+4>>2]=a),e}function Ar(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e]<<24>>24;do if(78==(0|i))var v=gr(r),t=v;else if(90==(0|i))var f=yr(r),t=f;else if(76==(0|i))var _=br(r),t=_;else if(83==(0|i)){if(Ae[e+1|0]<<24>>24==116){var s=e+2|0;Se[a]=s;var n=lr(r,0|He.__str152,3),o=br(r),l=D(r,1,n,o),b=r+48|0,k=Se[b>>2]+3|0;Se[b>>2]=k;var u=0,c=l}else var h=V(r,0),u=1,c=h;var c,u;if(Ae[Se[a]]<<24>>24!=73){var t=c;break}if(0==(0|u)){var d=R(r,c);if(0==(0|d)){var t=0;break}}var w=z(r),p=D(r,4,c,w),t=p}else{var E=br(r);if(Ae[Se[a]]<<24>>24!=73){var t=E;break}var A=R(r,E);if(0==(0|A)){var t=0;break}var g=z(r),y=D(r,4,E,g),t=y}while(0);var t;return t}function gr(r){var a,e=Oe;Oe+=4;var i=e,a=(r+12|0)>>2,v=Se[a],t=v+1|0;Se[a]=t;var f=Ae[v]<<24>>24==78;do if(f){var _=I(r,i,1);if(0==(0|_)){var s=0;break}var n=mr(r);if(Se[_>>2]=n,0==(0|n)){var s=0;break}var o=Se[a],l=o+1|0;if(Se[a]=l,Ae[o]<<24>>24!=69){var s=0;break}var s=Se[i>>2]}else var s=0;while(0);var s;return Oe=e,s}function yr(r){var a,a=(r+12|0)>>2,e=Se[a],i=e+1|0;Se[a]=i;var v=Ae[e]<<24>>24==90;do if(v){var t=O(r,0),f=Se[a],_=f+1|0;if(Se[a]=_,Ae[f]<<24>>24!=69){var s=0;break}if(Ae[_]<<24>>24==115){var n=f+2|0;Se[a]=n;var o=dr(r);if(0==(0|o)){var s=0;break}var l=lr(r,0|He.__str168,14),b=D(r,2,t,l),s=b}else{var k=Ar(r),u=dr(r);if(0==(0|u)){var s=0;break}var c=D(r,2,t,k),s=c}}else var s=0;while(0);var s;return s}function mr(r){var a,e=r+12|0,i=0;r:for(;;){var i,v=ge[Se[e>>2]];if(v<<24>>24==0){var t=0;break}var f=(v-48&255&255)<10|(v-97&255&255)<26;do{if(!f){if(v<<24>>24==76||v<<24>>24==68||v<<24>>24==67){a=5;break}if(v<<24>>24==83){var _=V(r,1),s=_;a=10;break}if(v<<24>>24==73){if(0==(0|i)){var t=0;break r}var n=z(r),o=4,l=n;a=11;break}if(v<<24>>24==84){var b=x(r),s=b;a=10;break}if(v<<24>>24==69){var t=i;break r}var t=0;break r}a=5}while(0);do if(5==a){var k=br(r),s=k;a=10;break}while(0);do if(10==a){var s;if(0==(0|i)){var u=s;a=12;break}var o=1,l=s;a=11;break}while(0);if(11==a)var l,o,c=D(r,o,i,l),u=c;var u;if(v<<24>>24!=83)if(Ae[Se[e>>2]]<<24>>24!=69){var h=R(r,u);if(0==(0|h)){var t=0;break}var i=u}else var i=u;else var i=u}var t;return t}function Sr(r,a){var e,i,v=Oe;Oe+=4;var t=v,i=t>>2,e=(r+12|0)>>2,f=Se[e];if(Ae[f]<<24>>24==74){var _=f+1|0;Se[e]=_;var s=1}else var s=a;var s;Se[i]=0;var n=s,o=0,l=t;r:for(;;)for(var l,o,n,b=n,k=o;;){var k,b,u=Ae[Se[e]];if(u<<24>>24==0||u<<24>>24==69){var c=Se[i];if(0==(0|c)){var h=0;break r}var d=0==(0|Se[c+8>>2]);do if(d){var w=Se[c+4>>2];if(33!=(0|Se[w>>2])){var p=c;break}var E=Se[w+4>>2];if(9!=(0|Se[E+16>>2])){var p=c;break}var A=r+48|0,g=Se[A>>2]-Se[E+4>>2]|0;Se[A>>2]=g,Se[i]=0;var p=0}else var p=c;while(0);var p,y=D(r,35,k,p),h=y;break r}var m=N(r);if(0==(0|m)){var h=0;break r}if(0==(0|b)){var S=D(r,38,m,0);if(Se[l>>2]=S,0==(0|S)){var h=0;break r}var n=0,o=k,l=S+8|0;continue r}var b=0,k=m}var h;return Oe=v,h}function Mr(r){for(var a=r;;){var a;if(0==(0|a)){var e=0;break}var i=Se[a>>2];if(1!=(0|i)&&2!=(0|i)){if(6==(0|i)||7==(0|i)||42==(0|i)){var e=1;break}var e=0;break}var a=Se[a+8>>2]}var e;return e}function Cr(r){var a=r>>2;Se[a+3]=0,Se[a+2]=0,Se[a+1]=0,Se[a]=0,Se[a+4]=0}function Rr(r,a){var e,e=(r+12|0)>>2,i=Se[e],v=(Se[r+4>>2]-i|0)<(0|a);r:do if(v)var t=0;else{var f=i+a|0;Se[e]=f;var _=0==(4&Se[r+8>>2]|0);do if(!_){if(Ae[f]<<24>>24!=36)break;var s=a+(i+1)|0;Se[e]=s}while(0);var n=(0|a)>9;do if(n){var o=La(i,0|He.__str117,8);if(0!=(0|o))break;var l=Ae[i+8|0];if(l<<24>>24!=46&&l<<24>>24!=95&&l<<24>>24!=36)break;if(Ae[i+9|0]<<24>>24!=78)break;var b=r+48|0,k=22-a+Se[b>>2]|0;Se[b>>2]=k;var u=lr(r,0|He.__str169,21),t=u;break r}while(0);var c=lr(r,i,a),t=c}while(0);var t;return t}function Tr(r){var a,e,e=(r+48|0)>>2,i=Se[e],v=i+20|0;Se[e]=v;var a=(r+12|0)>>2,t=Se[a],f=t+1|0;Se[a]=f;var _=Ae[t];do if(_<<24>>24==84){var s=t+2|0;Se[a]=s;var n=Ae[f]<<24>>24;if(86==(0|n)){var o=i+15|0;Se[e]=o;var l=N(r),b=D(r,8,l,0),k=b}else if(84==(0|n)){var u=i+10|0;Se[e]=u;var c=N(r),h=D(r,9,c,0),k=h}else if(73==(0|n))var d=N(r),w=D(r,11,d,0),k=w;else if(83==(0|n))var p=N(r),E=D(r,12,p,0),k=E;else if(104==(0|n)){var A=Nr(r,104);if(0==(0|A)){var k=0;break}var g=O(r,0),y=D(r,14,g,0),k=y}else if(118==(0|n)){var m=Nr(r,118);if(0==(0|m)){var k=0;break}var S=O(r,0),M=D(r,15,S,0),k=M}else if(99==(0|n)){var C=Nr(r,0);if(0==(0|C)){var k=0;break}var R=Nr(r,0);if(0==(0|R)){var k=0;break}var T=O(r,0),I=D(r,16,T,0),k=I}else if(67==(0|n)){var P=N(r),L=sr(r);if((0|L)<0){var k=0;break}var F=Se[a],X=F+1|0;if(Se[a]=X,Ae[F]<<24>>24!=95){var k=0;break}var j=N(r),U=Se[e]+5|0;Se[e]=U;var x=D(r,10,j,P),k=x}else if(70==(0|n))var z=N(r),V=D(r,13,z,0),k=V;else{if(74!=(0|n)){var k=0;break}var B=N(r),H=D(r,17,B,0),k=H}}else if(_<<24>>24==71){var K=t+2|0;Se[a]=K;var Y=Ae[f]<<24>>24;if(86==(0|Y))var G=Ar(r),W=D(r,18,G,0),k=W;else if(82==(0|Y))var Z=Ar(r),Q=D(r,19,Z,0),k=Q;else{if(65!=(0|Y)){var k=0;break}var q=O(r,0),$=D(r,20,q,0),k=$}}else var k=0;while(0);var k;return k}function Or(r){for(var a,e=r,a=e>>2;;){var e;if(0==(0|e)){var i=0;break}var v=Se[a];if(4==(0|v)){var t=Se[a+1],f=Mr(t),i=0==(0|f)&1;break}if(25!=(0|v)&&26!=(0|v)&&27!=(0|v)){var i=0;break}var e=Se[a+1],a=e>>2}var i;return i}function Nr(r,a){var e;if(0==(0|a)){var i=r+12|0,v=Se[i>>2],t=v+1|0;Se[i>>2]=t;var f=Ae[v]<<24>>24}else var f=a;var f;do{if(104==(0|f)){var _=(sr(r),r+12|0);e=7;break}if(118==(0|f)){var s=(sr(r),r+12|0),n=Se[s>>2],o=n+1|0;if(Se[s>>2]=o,Ae[n]<<24>>24!=95){var l=0;e=8;break}var _=(sr(r),s);e=7;break}var l=0;e=8}while(0);if(7==e){var _,b=Se[_>>2],k=b+1|0;Se[_>>2]=k;var l=Ae[b]<<24>>24==95&1}var l;return l}function Ir(r){var a,e,i=r>>2,v=Oe;Oe+=56;var t,f=v,_=v+8,s=v+16,n=v+36,e=(0|r)>>2,o=Se[e],l=0==(8192&o|0);r:do{if(l){var a=(r+12|0)>>2,b=Se[a];if(Ae[b]<<24>>24!=63){var k=0;t=111;break}var u=b+1|0;Se[a]=u;var c=Ae[u];do if(c<<24>>24==63){if(Ae[b+2|0]<<24>>24==36){var h=b+3|0;if(Ae[h]<<24>>24!=63){var d=5;t=90;break}Se[a]=h;var w=6,p=h}else var w=0,p=u;var p,w,E=p+1|0;Se[a]=E;var A=Ae[E]<<24>>24;do if(48==(0|A)){var g=1;t=81}else{if(49==(0|A)){var g=2;t=81;break}if(50!=(0|A)){if(51==(0|A)){var y=0|He.__str2172,m=E;t=82;break}if(52==(0|A)){var y=0|He.__str3173,m=E;t=82;break}if(53==(0|A)){var y=0|He.__str4174,m=E;t=82;break}if(54==(0|A)){var y=0|He.__str5175,m=E;t=82;break}if(55==(0|A)){var y=0|He.__str6176,m=E;t=82;break}if(56==(0|A)){var y=0|He.__str7177,m=E;t=82;break}if(57==(0|A)){var y=0|He.__str8178,m=E;t=82;break}if(65==(0|A)){var y=0|He.__str9179,m=E;t=82;break}if(66==(0|A)){Se[a]=p+2|0;var S=0|He.__str10180,M=3;t=88;break}if(67==(0|A)){var y=0|He.__str11181,m=E;t=82;break}if(68==(0|A)){var y=0|He.__str12182,m=E;t=82;break}if(69==(0|A)){var y=0|He.__str13183,m=E;t=82;break}if(70==(0|A)){var y=0|He.__str14184,m=E;t=82;break}if(71==(0|A)){var y=0|He.__str15185,m=E;t=82;break}if(72==(0|A)){var y=0|He.__str16186,m=E;t=82;break}if(73==(0|A)){var y=0|He.__str17187,m=E;t=82;break}if(74==(0|A)){var y=0|He.__str18188,m=E;t=82;break}if(75==(0|A)){var y=0|He.__str19189,m=E;t=82;break}if(76==(0|A)){var y=0|He.__str20190,m=E;t=82;break}if(77==(0|A)){var y=0|He.__str21191,m=E;t=82;break}if(78==(0|A)){var y=0|He.__str22192,m=E;t=82;break}if(79==(0|A)){var y=0|He.__str23193,m=E;t=82;break}if(80==(0|A)){var y=0|He.__str24194,m=E;t=82;break}if(81==(0|A)){var y=0|He.__str25195,m=E;t=82;break}if(82==(0|A)){var y=0|He.__str26196,m=E;t=82;break}if(83==(0|A)){var y=0|He.__str27197,m=E;t=82;break}if(84==(0|A)){var y=0|He.__str28198,m=E;t=82;break}if(85==(0|A)){var y=0|He.__str29199,m=E;t=82;break}if(86==(0|A)){var y=0|He.__str30200,m=E;t=82;break}if(87==(0|A)){var y=0|He.__str31201,m=E;t=82;break}if(88==(0|A)){var y=0|He.__str32202,m=E;t=82;break}if(89==(0|A)){var y=0|He.__str33203,m=E;t=82;break}if(90==(0|A)){var y=0|He.__str34204,m=E;t=82;break}if(95==(0|A)){var C=p+2|0;Se[a]=C;var R=Ae[C]<<24>>24;if(48==(0|R)){var y=0|He.__str35205,m=C;t=82;break}if(49==(0|R)){var y=0|He.__str36206,m=C;t=82;break}if(50==(0|R)){var y=0|He.__str37207,m=C;t=82;break}if(51==(0|R)){var y=0|He.__str38208,m=C;t=82;break}if(52==(0|R)){var y=0|He.__str39209,m=C;t=82;break}if(53==(0|R)){var y=0|He.__str40210,m=C;t=82;break}if(54==(0|R)){var y=0|He.__str41211,m=C;t=82;break}if(55==(0|R)){var y=0|He.__str42212,m=C;t=82;break}if(56==(0|R)){var y=0|He.__str43213,m=C;t=82;break}if(57==(0|R)){var y=0|He.__str44214,m=C;t=82;break}if(65==(0|R)){var y=0|He.__str45215,m=C;t=82;break}if(66==(0|R)){var y=0|He.__str46216,m=C;t=82;break}if(67==(0|R)){Se[a]=p+3|0;var T=0|He.__str47217;t=84;break}if(68==(0|R)){var y=0|He.__str48218,m=C;t=82;break}if(69==(0|R)){var y=0|He.__str49219,m=C;t=82;break}if(70==(0|R)){var y=0|He.__str50220,m=C;t=82;break}if(71==(0|R)){var y=0|He.__str51221,m=C;t=82;break}if(72==(0|R)){var y=0|He.__str52222,m=C;t=82;break}if(73==(0|R)){var y=0|He.__str53223,m=C;t=82;break}if(74==(0|R)){var y=0|He.__str54224,m=C;t=82;break}if(75==(0|R)){var y=0|He.__str55225,m=C;t=82;break}if(76==(0|R)){var y=0|He.__str56226,m=C;t=82;break}if(77==(0|R)){var y=0|He.__str57227,m=C;t=82;break}if(78==(0|R)){var y=0|He.__str58228,m=C;t=82;break}if(79==(0|R)){var y=0|He.__str59229,m=C;t=82;break}if(82==(0|R)){var O=4|o;Se[e]=O;var N=p+3|0;Se[a]=N;var I=Ae[N]<<24>>24;if(48==(0|I)){Se[a]=p+4|0,Cr(s);var P=(Pr(r,_,s,0),Se[_>>2]),D=Se[_+4>>2],L=Dr(r,0|He.__str60230,(ne=Oe,Oe+=8,Se[ne>>2]=P,Se[ne+4>>2]=D,ne)),F=Se[a]-1|0;Se[a]=F;var y=L,m=F;t=82;break}if(49==(0|I)){Se[a]=p+4|0;var X=Lr(r),j=Lr(r),U=Lr(r),x=Lr(r),z=Se[a]-1|0;Se[a]=z;var V=Dr(r,0|He.__str61231,(ne=Oe,Oe+=16,Se[ne>>2]=X,Se[ne+4>>2]=j,Se[ne+8>>2]=U,Se[ne+12>>2]=x,ne)),y=V,m=Se[a];t=82;break}if(50==(0|I)){var y=0|He.__str62232,m=N;t=82;break}if(51==(0|I)){var y=0|He.__str63233,m=N;t=82;break}if(52==(0|I)){var y=0|He.__str64234,m=N;t=82;break}var y=0,m=N;t=82;break}if(83==(0|R)){var y=0|He.__str65235,m=C;t=82;break}if(84==(0|R)){var y=0|He.__str66236,m=C;t=82;break}if(85==(0|R)){var y=0|He.__str67237,m=C;t=82;break}if(86==(0|R)){var y=0|He.__str68238,m=C;t=82;break}if(88==(0|R)){var y=0|He.__str69239,m=C;t=82;break}if(89==(0|R)){var y=0|He.__str70240,m=C;t=82;break}var k=0;t=111;break r}var k=0;t=111;break r}var y=0|He.__str1171,m=E;t=82}while(0);do{if(81==t){var g;Se[a]=p+2|0;var B=g;t=83;break}if(82==t){var m,y;if(Se[a]=m+1|0,1==(0|w)||2==(0|w)){var B=w;t=83;break}if(4==(0|w)){var T=y;t=84;break}if(6!=(0|w)){var S=y,M=w;t=88;break}Cr(n);var H=Xr(r,n,0,60,62);if(0==(0|H))var K=y;else var Y=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=y,Se[ne+4>>2]=H,ne)),K=Y;var K;Se[i+6]=0;var S=K,M=w;t=88;break}}while(0);if(83==t){var B,G=r+40|0,W=Fr(r,0|He._symbol_demangle_dashed_null,-1,G);if(0==(0|W)){var k=0;t=111;break r}var d=B;t=90;break}if(84==t){var T;Se[i+4]=T;var Z=1,Q=T;t=109;break r}if(88==t){var M,S,q=r+40|0,$=Fr(r,S,-1,q);if(0==(0|$)){var k=0;t=111;break r}var d=M;t=90;break}}else{if(c<<24>>24==36){var J=b+2|0;Se[a]=J;var rr=jr(r);Se[i+4]=rr;var ar=0!=(0|rr)&1;t=107;break}var d=0;t=90}while(0);if(90==t){var d,er=Me[a],ir=Ae[er]<<24>>24;if(64==(0|ir))Se[a]=er+1|0;else if(36==(0|ir))t=93;else{var vr=zr(r);if(0==(0|vr)){var k=-1;t=111;break}}if(5==(0|d)){var tr=r+20|0,fr=Se[tr>>2]+1|0;Se[tr>>2]=fr}else if(1==(0|d)||2==(0|d)){if(Me[i+11]>>>0<2){var k=-1;t=111;break}var _r=r+56|0,sr=Me[_r>>2],nr=Se[sr+4>>2];if(1==(0|d))Se[sr>>2]=nr;else{var or=Dr(r,0|He.__str71241,(ne=Oe,Oe+=4,Se[ne>>2]=nr,ne)),lr=Se[_r>>2];Se[lr>>2]=or}var br=4|Se[e];Se[e]=br}else if(3==(0|d)){var kr=Se[e]&-5;Se[e]=kr}var ur=ge[Se[a]];if((ur-48&255&255)<10)var cr=Vr(r),ar=cr;else if((ur-65&255&255)<26)var hr=Br(r,3==(0|d)&1),ar=hr;else{if(ur<<24>>24!=36){var k=-1;t=111;break}var dr=Hr(r),ar=dr}}var ar;if(0==(0|ar)){var k=-1;t=111;break}var Z=ar,Q=Se[i+4];t=109;break}var wr=Pr(r,f,0,0);if(0==(0|wr)){var k=-1;t=111;break}var pr=Se[f>>2],Er=Se[f+4>>2],Ar=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=pr,Se[ne+4>>2]=Er,ne));Se[i+4]=Ar;var Z=1,Q=Ar;t=109;break}while(0);do if(109==t){var Q,Z;if(0!=(0|Q)){var k=Z;break}Xa(0|He.__str72242,1499,0|He.___func___symbol_demangle,0|He.__str73243);var k=Z}while(0);var k;return Oe=v,k}function Pr(r,a,e,i){var v,t,f,_=Oe;Oe+=24;var s=_,n=_+4,o=_+8,l=_+16,b=_+20;0==(0|a)&&Xa(0|He.__str72242,829,0|He.___func___demangle_datatype,0|He.__str121291);var f=(a+4|0)>>2;Se[f]=0;var t=(0|a)>>2;Se[t]=0;var v=(r+12|0)>>2,k=Me[v],u=k+1|0;Se[v]=u;var c=Ae[k],h=c<<24>>24;do if(95==(0|h)){Se[v]=k+2|0;var d=Ae[u],w=Zr(d);Se[t]=w}else if(67==(0|h)||68==(0|h)||69==(0|h)||70==(0|h)||71==(0|h)||72==(0|h)||73==(0|h)||74==(0|h)||75==(0|h)||77==(0|h)||78==(0|h)||79==(0|h)||88==(0|h)||90==(0|h)){var p=Qr(c);Se[t]=p}else if(84==(0|h)||85==(0|h)||86==(0|h)||89==(0|h)){var E=qr(r);if(0==(0|E))break;var A=0==(32768&Se[r>>2]|0);do if(A)if(84==(0|h))var g=0|He.__str122292;else if(85==(0|h))var g=0|He.__str123293;else if(86==(0|h))var g=0|He.__str124294;else{if(89!=(0|h)){var g=0;break}var g=0|He.__str125295}else var g=0;while(0);var g,y=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=g,Se[ne+4>>2]=E,ne));Se[t]=y}else if(63==(0|h))if(0==(0|i))$r(a,r,e,63,0);else{var m=Lr(r);if(0==(0|m))break;var S=Dr(r,0|He.__str126296,(ne=Oe,Oe+=4,Se[ne>>2]=m,ne));Se[t]=S}else if(65==(0|h)||66==(0|h))$r(a,r,e,c,i);else if(81==(0|h)||82==(0|h)||83==(0|h)){var M=0==(0|i)?80:c;$r(a,r,e,M,i)}else if(80==(0|h))if(((Ae[u]<<24>>24)-48|0)>>>0<10){var C=k+2|0;if(Se[v]=C,Ae[u]<<24>>24!=54)break;var R=r+44|0,T=Se[R>>2];Se[v]=k+3|0;var O=Ae[C],N=Se[r>>2]&-17,I=Ur(O,s,n,N);if(0==(0|I))break;var P=Pr(r,o,e,0);if(0==(0|P))break;var D=Xr(r,e,1,40,41);if(0==(0|D))break;Se[R>>2]=T;var L=Se[o>>2],F=Se[o+4>>2],X=Se[s>>2],j=Dr(r,0|He.__str127297,(ne=Oe,Oe+=12,Se[ne>>2]=L,Se[ne+4>>2]=F,Se[ne+8>>2]=X,ne));Se[t]=j;var U=Dr(r,0|He.__str128298,(ne=Oe,Oe+=4,Se[ne>>2]=D,ne));Se[f]=U}else $r(a,r,e,80,i);else if(87==(0|h)){if(Ae[u]<<24>>24!=52)break;Se[v]=k+2|0;var x=qr(r);if(0==(0|x))break;if(0==(32768&Se[r>>2]|0)){var z=Dr(r,0|He.__str129299,(ne=Oe,Oe+=4,Se[ne>>2]=x,ne));Se[t]=z}else Se[t]=x}else if(48==(0|h)||49==(0|h)||50==(0|h)||51==(0|h)||52==(0|h)||53==(0|h)||54==(0|h)||55==(0|h)||56==(0|h)||57==(0|h)){var V=h<<1,B=V-96|0,H=Yr(e,B);Se[t]=H;var K=V-95|0,Y=Yr(e,K);Se[f]=Y}else if(36==(0|h)){var G=k+2|0;Se[v]=G;var W=Ae[u]<<24>>24;if(48==(0|W)){var Z=Lr(r);Se[t]=Z}else if(68==(0|W)){var Q=Lr(r);if(0==(0|Q))break;var q=Dr(r,0|He.__str130300,(ne=Oe,Oe+=4,Se[ne>>2]=Q,ne));Se[t]=q}else if(70==(0|W)){var $=Lr(r);if(0==(0|$))break;var J=Lr(r);if(0==(0|J))break;var rr=Dr(r,0|He.__str131301,(ne=Oe,Oe+=8,Se[ne>>2]=$,Se[ne+4>>2]=J,ne));Se[t]=rr}else if(71==(0|W)){var ar=Lr(r);if(0==(0|ar))break;var er=Lr(r);if(0==(0|er))break;var ir=Lr(r);if(0==(0|ir))break;var vr=Dr(r,0|He.__str132302,(ne=Oe,Oe+=12,Se[ne>>2]=ar,Se[ne+4>>2]=er,Se[ne+8>>2]=ir,ne));Se[t]=vr}else if(81==(0|W)){var tr=Lr(r);if(0==(0|tr))break;var fr=Dr(r,0|He.__str133303,(ne=Oe,Oe+=4,Se[ne>>2]=tr,ne));Se[t]=fr}else{if(36!=(0|W))break;if(Ae[G]<<24>>24!=67)break;Se[v]=k+3|0;var _r=xr(r,l,b);if(0==(0|_r))break;var sr=Pr(r,a,e,i);if(0==(0|sr))break;var nr=Se[t],or=Se[l>>2],lr=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=nr,Se[ne+4>>2]=or,ne));Se[t]=lr}}while(0);var br=0!=(0|Se[t])&1;return Oe=_,br}function Dr(r,a){var e,i=Oe;Oe+=4;var v=i,e=v>>2,t=v;Se[t>>2]=arguments[Dr.length];var f=1,_=0;r:for(;;){var _,f,s=Ae[a+_|0];do{if(s<<24>>24==0)break r;if(s<<24>>24==37){var n=_+1|0,o=Ae[a+n|0]<<24>>24;if(115==(0|o)){var l=Se[e],b=l,k=l+4|0;Se[e]=k;var u=Se[b>>2];if(0==(0|u)){var c=f,h=n;break}var d=Ca(u),c=d+f|0,h=n;break}if(99==(0|o)){var w=Se[e]+4|0;Se[e]=w;var c=f+1|0,h=n;break}if(37==(0|o))var p=n;else var p=_;var p,c=f+1|0,h=p}else var c=f+1|0,h=_}while(0);var h,c,f=c,_=h+1|0}var E=Wr(r,f);if(0==(0|E))var A=0;else{Se[t>>2]=arguments[Dr.length];var g=E,y=0;r:for(;;){var y,g,m=Ae[a+y|0];do{if(m<<24>>24==0)break r;if(m<<24>>24==37){var S=y+1|0,M=Ae[a+S|0]<<24>>24;if(115==(0|M)){var C=Se[e],R=C,T=C+4|0;Se[e]=T;var O=Se[R>>2];if(0==(0|O)){var N=g,I=S;break}var P=Ca(O);Pa(g,O,P,1);var N=g+P|0,I=S;break}if(99==(0|M)){var D=Se[e],L=D,F=D+4|0;Se[e]=F,Ae[g]=255&Se[L>>2];var N=g+1|0,I=S;break}if(37==(0|M))var X=S;else var X=y;var X;Ae[g]=37;var N=g+1|0,I=X}else{Ae[g]=m;var N=g+1|0,I=y}}while(0);var I,N,g=N,y=I+1|0}Ae[g]=0;var A=E}var A;return Oe=i,A}function Lr(r){var a,a=(r+12|0)>>2,e=Se[a],i=Ae[e];if(i<<24>>24==63){var v=e+1|0;Se[a]=v;var t=1,f=v,_=Ae[v]}else var t=0,f=e,_=i;var _,f,t,s=(_-48&255&255)<9;do if(s){var n=Wr(r,3),o=0!=(0|t);o&&(Ae[n]=45);var l=Ae[Se[a]]+1&255;Ae[n+t|0]=l;var b=o?2:1;\\nAe[n+b|0]=0;var k=Se[a]+1|0;Se[a]=k;var u=n}else if(_<<24>>24==57){var c=Wr(r,4),h=0!=(0|t);h&&(Ae[c]=45),Ae[c+t|0]=49;var d=h?2:1;Ae[c+d|0]=48;var w=h?3:2;Ae[c+w|0]=0;var p=Se[a]+1|0;Se[a]=p;var u=c}else{if((_-65&255&255)>=16){var u=0;break}for(var E=0,A=f;;){var A,E,g=A+1|0;Se[a]=g;var y=(Ae[A]<<24>>24)+((E<<4)-65)|0,m=ge[g];if((m-65&255&255)>=16)break;var E=y,A=g}if(m<<24>>24!=64){var u=0;break}var S=Wr(r,17),M=0!=(0|t)?0|He.__str119289:0|ii,C=(za(S,0|He.__str118288,(ne=Oe,Oe+=8,Se[ne>>2]=M,Se[ne+4>>2]=y,ne)),Se[a]+1|0);Se[a]=C;var u=S}while(0);var u;return u}function Fr(r,a,e,i){var v,t,f,_;0==(0|a)&&Xa(0|He.__str72242,212,0|He.___func___str_array_push,0|He.__str115285),0==(0|i)&&Xa(0|He.__str72242,213,0|He.___func___str_array_push,0|He.__str116286);var f=(i+12|0)>>2,s=Me[f],n=0==(0|s);do{if(n){Se[f]=32;var o=Wr(r,128);if(0==(0|o)){var l=0;_=17;break}Se[i+16>>2]=o,_=11;break}if(Me[i+8>>2]>>>0<s>>>0){_=11;break}var b=s<<3,k=Wr(r,b);if(0==(0|k)){var l=0;_=17;break}var u=k,c=i+16|0,h=Se[c>>2],d=Se[f]<<2;Pa(k,h,d,1);var w=Se[f]<<1;Se[f]=w,Se[c>>2]=u,_=11;break}while(0);do if(11==_){if((0|e)==-1)var p=Ca(a),E=p;else var E=e;var E,A=ja(a),g=E+1|0,y=Wr(r,g),t=(i+4|0)>>2,v=(i+16|0)>>2,m=(Se[t]<<2)+Se[v]|0;Se[m>>2]=y;var S=Se[Se[v]+(Se[t]<<2)>>2];if(0==(0|S)){Xa(0|He.__str72242,233,0|He.___func___str_array_push,0|He.__str117287);var M=Se[Se[v]+(Se[t]<<2)>>2]}else var M=S;var M;Pa(M,A,E,1),va(A),Ae[Se[Se[v]+(Se[t]<<2)>>2]+g|0]=0;var C=Se[t]+1|0;Se[t]=C;var R=i+8|0;if(C>>>0<Me[R>>2]>>>0){var l=1;break}Se[R>>2]=C;var l=1}while(0);var l;return l}function Xr(r,a,e,i,v){var t,f,_=Oe;Oe+=28;var s,n=_,o=_+8;Cr(o);var f=(r+12|0)>>2,l=0==(0|e),t=(0|n)>>2,b=n+4|0;r:do if(l)for(;;){var k=Se[f],u=Ae[k];if(u<<24>>24==0){s=12;break r}if(u<<24>>24==64){var c=k;s=7;break r}var h=Pr(r,n,a,1);if(0==(0|h)){var d=0;s=25;break r}var w=Se[t],p=Se[b>>2],E=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=w,Se[ne+4>>2]=p,ne)),A=Fr(r,E,-1,o);if(0==(0|A)){var d=0;s=25;break r}var g=Se[t],y=Da(g,0|He.__str110280);if(0==(0|y)){s=12;break r}}else for(;;){var m=Se[f],S=Ae[m];if(S<<24>>24==0){s=12;break r}if(S<<24>>24==64){var c=m;s=7;break r}var M=Pr(r,n,a,1);if(0==(0|M)){var d=0;s=25;break r}var C=Se[t],R=Da(C,0|He.__str84254);if(0==(0|R)){s=13;break r}var T=Se[b>>2],O=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=C,Se[ne+4>>2]=T,ne)),N=Fr(r,O,-1,o);if(0==(0|N)){var d=0;s=25;break r}var I=Se[t],P=Da(I,0|He.__str110280);if(0==(0|P)){s=12;break r}}while(0);do if(7==s){var c;Se[f]=c+1|0,s=12;break}while(0);do if(12==s){if(l){s=14;break}s=13;break}while(0);do if(13==s){var D=Se[f],L=D+1|0;if(Se[f]=L,Ae[D]<<24>>24==90){s=14;break}var d=0;s=25;break}while(0);r:do if(14==s){var F=o+4|0,X=Me[F>>2];do{if(0!=(0|X)){if(1==(0|X)){var j=o+16|0,U=Se[Se[j>>2]>>2],x=Da(U,0|He.__str84254);if(0==(0|x)){s=17;break}var z=j;s=20;break}var V=o+16|0;if(X>>>0<=1){var z=V;s=20;break}for(var B=0,H=1;;){var H,B,K=Se[Se[V>>2]+(H<<2)>>2],Y=Dr(r,0|He.__str112282,(ne=Oe,Oe+=8,Se[ne>>2]=B,Se[ne+4>>2]=K,ne)),G=H+1|0;if(G>>>0>=Me[F>>2]>>>0)break;var B=Y,H=G}if(0==(0|Y)){var z=V;s=20;break}var W=Y,Z=Y;s=21;break}s=17}while(0);if(17==s){var Q=i<<24>>24,q=v<<24>>24,$=Dr(r,0|He.__str111281,(ne=Oe,Oe+=8,Se[ne>>2]=Q,Se[ne+4>>2]=q,ne)),d=$;break}if(20==s)var z,W=Se[Se[z>>2]>>2],Z=0;var Z,W,J=v<<24>>24,rr=v<<24>>24==62;do if(rr){var ar=Ca(W);if(Ae[W+(ar-1)|0]<<24>>24!=62)break;var er=i<<24>>24,ir=Se[Se[o+16>>2]>>2],vr=Dr(r,0|He.__str113283,(ne=Oe,Oe+=16,Se[ne>>2]=er,Se[ne+4>>2]=ir,Se[ne+8>>2]=Z,Se[ne+12>>2]=J,ne)),d=vr;break r}while(0);var tr=i<<24>>24,fr=Se[Se[o+16>>2]>>2],_r=Dr(r,0|He.__str114284,(ne=Oe,Oe+=16,Se[ne>>2]=tr,Se[ne+4>>2]=fr,Se[ne+8>>2]=Z,Se[ne+12>>2]=J,ne)),d=_r}while(0);var d;return Oe=_,d}function jr(r){var a,e=Oe;Oe+=20;var i=e,v=r+24|0,t=Se[v>>2],a=(r+20|0)>>2,f=Se[a],_=r+44|0,s=Se[_>>2];Se[a]=t;var n=Kr(r);if(0==(0|n))var o=0;else{Cr(i);var l=Xr(r,i,0,60,62);if(0==(0|l))var b=n;else var k=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=n,Se[ne+4>>2]=l,ne)),b=k;var b;Se[v>>2]=t,Se[a]=f,Se[_>>2]=s;var o=b}var o;return Oe=e,o}function Ur(r,a,e,i){var v,t=a>>2;Se[e>>2]=0,Se[t]=0;var f=0==(18&i|0);do{if(f){var _=r<<24>>24,s=1==((_-65)%2|0);if(0==(1&i|0)){if(s?Se[e>>2]=0|He.__str95265:v=14,65==(0|_)||66==(0|_)){Se[t]=0|He.__str96266,v=21;break}if(67==(0|_)||68==(0|_)){Se[t]=0|He.__str97267,v=21;break}if(69==(0|_)||70==(0|_)){Se[t]=0|He.__str98268,v=21;break}if(71==(0|_)||72==(0|_)){Se[t]=0|He.__str99269,v=21;break}if(73==(0|_)||74==(0|_)){Se[t]=0|He.__str100270,v=21;break}if(75==(0|_)||76==(0|_)){v=21;break}if(77==(0|_)){Se[t]=0|He.__str101271,v=21;break}var n=0;v=22;break}if(s?Se[e>>2]=0|He.__str88258:v=5,65==(0|_)||66==(0|_)){Se[t]=0|He.__str89259,v=21;break}if(67==(0|_)||68==(0|_)){Se[t]=0|He.__str90260,v=21;break}if(69==(0|_)||70==(0|_)){Se[t]=0|He.__str91261,v=21;break}if(71==(0|_)||72==(0|_)){Se[t]=0|He.__str92262,v=21;break}if(73==(0|_)||74==(0|_)){Se[t]=0|He.__str93263,v=21;break}if(75==(0|_)||76==(0|_)){v=21;break}if(77==(0|_)){Se[t]=0|He.__str94264,v=21;break}var n=0;v=22;break}v=21}while(0);if(21==v)var n=1;var n;return n}function xr(r,a,e){var i;Se[e>>2]=0;var i=(r+12|0)>>2,v=Se[i];if(Ae[v]<<24>>24==69){Se[e>>2]=0|He.__str102272;var t=Se[i]+1|0;Se[i]=t;var f=t}else var f=v;var f;Se[i]=f+1|0;var _=Ae[f]<<24>>24;if(65==(0|_)){Se[a>>2]=0;var s=1}else if(66==(0|_)){Se[a>>2]=0|He.__str103273;var s=1}else if(67==(0|_)){Se[a>>2]=0|He.__str104274;var s=1}else if(68==(0|_)){Se[a>>2]=0|He.__str105275;var s=1}else var s=0;var s;return s}function zr(r){var a,e,a=(r+12|0)>>2,i=r+40|0,v=r+20|0,t=0|i,f=r+44|0,_=r+48|0,s=r+52|0,n=r+56|0,o=r+20|0,l=r+24|0,b=r+16|0,k=0;r:for(;;){var k,u=Se[a],c=Ae[u];if(c<<24>>24==64){var h=u+1|0;Se[a]=h;var d=1;break}var w=c<<24>>24;do{if(0==(0|w)){var d=0;break r}if(48==(0|w)||49==(0|w)||50==(0|w)||51==(0|w)||52==(0|w)||53==(0|w)||54==(0|w)||55==(0|w)||56==(0|w)||57==(0|w)){var p=u+1|0;Se[a]=p;var E=(Ae[u]<<24>>24)-48|0,A=Yr(v,E),g=A;e=14;break}if(63==(0|w)){var y=u+1|0;Se[a]=y;var m=Ae[y]<<24>>24;if(36==(0|m)){var S=u+2|0;Se[a]=S;var M=jr(r);if(0==(0|M)){var d=0;break r}var C=Fr(r,M,-1,v);if(0==(0|C)){var d=0;break r}var R=M;e=15;break}if(63==(0|m)){var T=Se[t>>2],O=Se[f>>2],N=Se[_>>2],I=Se[s>>2],P=Se[n>>2],D=Se[o>>2],L=Se[l>>2];Cr(i);var F=Ir(r);if(0==(0|F))var X=k;else var j=Se[b>>2],U=Dr(r,0|He.__str109279,(ne=Oe,Oe+=4,Se[ne>>2]=j,ne)),X=U;var X;Se[o>>2]=D,Se[l>>2]=L,Se[t>>2]=T,Se[f>>2]=O,Se[_>>2]=N,Se[s>>2]=I,Se[n>>2]=P;var g=X;e=14;break}var x=Lr(r);if(0==(0|x)){var d=0;break r}var z=Dr(r,0|He.__str109279,(ne=Oe,Oe+=4,Se[ne>>2]=x,ne)),g=z;e=14;break}var V=Kr(r),g=V;e=14;break}while(0);if(14==e){var g;if(0==(0|g)){var d=0;break}var R=g}var R,B=Fr(r,R,-1,i);if(0==(0|B)){var d=0;break}var k=R}var d;return d}function Vr(r){var a,e,i,v=Oe;Oe+=36;var t,f=v,i=f>>2,_=v+4,s=v+8,e=s>>2,n=v+16;Se[i]=0;var o=0|r,l=Se[o>>2],b=0==(128&l|0),k=r+12|0;do if(b){var u=Ae[Se[k>>2]]<<24>>24;if(48==(0|u))var c=0|He.__str76246,h=k,a=h>>2;else if(49==(0|u))var c=0|He.__str77247,h=k,a=h>>2;else{if(50!=(0|u)){var c=0,h=k,a=h>>2;break}var c=0|He.__str78248,h=k,a=h>>2}}else var c=0,h=k,a=h>>2;while(0);var h,c,d=0==(512&l|0);do if(d){if((Ae[Se[a]]-48&255&255)>=3){var w=0;break}var w=0|He.__str79249}else var w=0;while(0);var w,p=Gr(r,0),E=Se[a],A=E+1|0;Se[a]=A;var g=Ae[E]<<24>>24;do{if(48==(0|g)||49==(0|g)||50==(0|g)||51==(0|g)||52==(0|g)||53==(0|g)){var y=r+44|0,m=Se[y>>2];Cr(n);var S=Pr(r,s,n,0);if(0==(0|S)){var M=0;t=28;break}var C=xr(r,f,_);if(0==(0|C)){var M=0;t=28;break}var R=Se[i],T=0==(0|R),O=Se[_>>2];do if(T)Se[i]=O;else{if(0==(0|O))break;var N=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=R,Se[ne+4>>2]=O,ne));Se[i]=N}while(0);Se[y>>2]=m,t=22;break}if(54==(0|g)||55==(0|g)){var I=s+4|0;Se[I>>2]=0,Se[e]=0;var P=xr(r,f,_);if(0==(0|P)){var M=0;t=28;break}if(Ae[Se[a]]<<24>>24==64){t=22;break}var D=qr(r);if(0==(0|D)){var M=0;t=28;break}var L=Dr(r,0|He.__str107277,(ne=Oe,Oe+=4,Se[ne>>2]=D,ne));Se[I>>2]=L,t=22;break}if(56==(0|g)||57==(0|g)){Se[e+1]=0,Se[e]=0,Se[i]=0,t=22;break}var M=0;t=28}while(0);if(22==t){var F=0==(4096&Se[o>>2]|0);do{if(F){var X=Se[e],j=Se[i];if(0==(0|j)){var U=X;t=26;break}var x=0!=(0|X)?0|He.__str87257:0,z=0|He.__str87257,V=j,B=x,H=X;t=27;break}Se[i]=0,Se[e+1]=0,Se[e]=0;var U=0;t=26;break}while(0);if(26==t)var U,K=0!=(0|U)?0|He.__str87257:0,z=K,V=0,B=0,H=U;var H,B,V,z,Y=Se[e+1],G=Dr(r,0|He.__str108278,(ne=Oe,Oe+=32,Se[ne>>2]=c,Se[ne+4>>2]=w,Se[ne+8>>2]=H,Se[ne+12>>2]=B,Se[ne+16>>2]=V,Se[ne+20>>2]=z,Se[ne+24>>2]=p,Se[ne+28>>2]=Y,ne));Se[r+16>>2]=G;var M=1}var M;return Oe=v,M}function Br(r,a){var e,i,v,t,f=Oe;Oe+=44;var _,s=f,t=s>>2,n=f+8,o=f+12,v=o>>2,l=f+16,b=f+20,k=f+40;Se[v]=0;var i=(r+12|0)>>2,u=Se[i],c=u+1|0;Se[i]=c;var h=ge[u],d=h<<24>>24,w=(h-65&255&255)>25;r:do if(w)var p=0;else{var e=(0|r)>>2,E=Me[e],A=0==(128&E|0),g=d-65|0;do if(A){var y=g/8|0;if(0==(0|y))var m=0|He.__str76246,S=g;else if(1==(0|y))var m=0|He.__str77247,S=g;else{if(2!=(0|y)){var m=0,S=g;break}var m=0|He.__str78248,S=g}}else var m=0,S=g;while(0);var S,m,M=0==(512&E|0)&h<<24>>24<89,C=(0|S)%8;do if(M)if(2==(0|C)||3==(0|C))var R=m,T=0|He.__str79249;else if(4==(0|C)||5==(0|C))var R=m,T=0|He.__str80250;else{if(6!=(0|C)&&7!=(0|C)){var R=m,T=0;break}var O=Dr(r,0|He.__str81251,(ne=Oe,Oe+=4,Se[ne>>2]=m,ne)),R=O,T=0|He.__str80250}else var R=m,T=0;while(0);var T,R,N=Gr(r,0),I=6==(0|C);do{if(!I){if(7==((d-56)%8|0)){_=14;break}var P=N;_=15;break}_=14}while(0);if(14==_)var D=Lr(r),L=Dr(r,0|He.__str82252,(ne=Oe,Oe+=8,Se[ne>>2]=N,Se[ne+4>>2]=D,ne)),P=L;var P,F=h<<24>>24>88;do if(F)var X=0;else{if((C-2|0)>>>0<2){var X=0;break}var j=xr(r,o,k);if(0==(0|j)){var p=0;break r}var U=Me[v],x=Se[k>>2];if(0==(0|U)&0==(0|x)){var X=0;break}var z=Dr(r,0|He.__str83253,(ne=Oe,Oe+=8,Se[ne>>2]=U,Se[ne+4>>2]=x,ne));Se[v]=z;var X=z}while(0);var X,V=Se[i],B=V+1|0;Se[i]=B;var H=Ae[V],K=Se[e],Y=Ur(H,n,l,K);if(0==(0|Y)){var p=0;break}Cr(b);var G=Se[i];if(Ae[G]<<24>>24==64){Se[t]=0|He.__str84254,Se[t+1]=0;var W=G+1|0;Se[i]=W}else{var Z=Pr(r,s,b,0);if(0==(0|Z)){var p=0;break}}if(0!=(4&Se[e]|0)&&(Se[t+1]=0,Se[t]=0),0==(0|a))var Q=P;else{var q=0|s,$=Se[q>>2],J=s+4|0,rr=Se[J>>2],ar=Dr(r,0|He.__str85255,(ne=Oe,Oe+=12,Se[ne>>2]=P,Se[ne+4>>2]=$,Se[ne+8>>2]=rr,ne));Se[J>>2]=0,Se[q>>2]=0;var Q=ar}var Q,er=r+44|0,ir=Se[er>>2],vr=Xr(r,b,1,40,41);if(0==(0|vr)){var p=0;break}if(0==(4096&Se[e]|0))var tr=vr,fr=X;else{Se[v]=0;var tr=0,fr=0}var fr,tr;Se[er>>2]=ir;var _r=Se[t],sr=Se[t+1];if(0==(0|_r))var nr=0;else var or=0!=(0|sr)?0:0|He.__str87257,nr=or;var nr,lr=Se[n>>2],br=0!=(0|lr)?0|He.__str87257:0,kr=Se[l>>2],ur=Dr(r,0|He.__str86256,(ne=Oe,Oe+=44,Se[ne>>2]=R,Se[ne+4>>2]=T,Se[ne+8>>2]=_r,Se[ne+12>>2]=nr,Se[ne+16>>2]=lr,Se[ne+20>>2]=br,Se[ne+24>>2]=kr,Se[ne+28>>2]=Q,Se[ne+32>>2]=tr,Se[ne+36>>2]=fr,Se[ne+40>>2]=sr,ne));Se[r+16>>2]=ur;var p=1}while(0);var p;return Oe=f,p}function Hr(r){var a,a=(r+12|0)>>2,e=Se[a];if(Ae[e]<<24>>24==36)var i=e;else{Xa(0|He.__str72242,1252,0|He.___func___handle_template,0|He.__str74244);var i=Se[a]}var i;Se[a]=i+1|0;var v=Kr(r),t=0==(0|v);do if(t)var f=0;else{var _=Xr(r,0,0,60,62);if(0==(0|_)){var f=0;break}var s=Dr(r,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=v,Se[ne+4>>2]=_,ne));Se[r+16>>2]=s;var f=1}while(0);var f;return f}function Kr(r){for(var a,a=(r+12|0)>>2,e=Me[a],i=e,v=Ae[e];;){var v,i;if(!((v-65&255&255)<26|(v-97&255&255)<26|(v-48&255&255)<10)&&v<<24>>24!=95&&v<<24>>24!=36){var t=0;break}var f=i+1|0;Se[a]=f;var _=ge[f];if(_<<24>>24==64){Se[a]=i+2|0;var s=f-e|0,n=r+20|0,o=Fr(r,e,s,n);if(0==(0|o)){var t=0;break}var l=Se[r+24>>2]-1-Se[n>>2]|0,b=Yr(n,l),t=b;break}var i=f,v=_}var t;return t}function Yr(r,a){0==(0|r)&&Xa(0|He.__str72242,263,0|He.___func___str_array_get_ref,0|He.__str75245);var e=Se[r>>2]+a|0;if(e>>>0<Me[r+8>>2]>>>0)var i=Se[Se[r+16>>2]+(e<<2)>>2];else var i=0;var i;return i}function Gr(r,a){var e,e=(r+44|0)>>2,i=Me[e];if(i>>>0>a>>>0){for(var v=r+56|0,t=a,f=0,_=Se[v>>2],s=i;;){var s,_,f,t,n=Me[_+(t<<2)>>2];if(0==(0|n)){Xa(0|He.__str72242,680,0|He.___func___get_class_string,0|He.__str106276);var o=Se[v>>2],l=o,b=Se[o+(t<<2)>>2],k=Se[e]}else var l=_,b=n,k=s;var k,b,l,u=Ca(b),c=u+(f+2)|0,h=t+1|0;if(h>>>0>=k>>>0)break;var t=h,f=c,_=l,s=k}var d=c-1|0}else var d=-1;var d,w=Wr(r,d);if(0==(0|w))var p=0;else{var E=Se[e]-1|0,A=(0|E)<(0|a);r:do if(A)var g=0;else for(var y=r+56|0,m=0,S=E;;){var S,m,M=Se[Se[y>>2]+(S<<2)>>2],C=Ca(M),R=w+m|0;Pa(R,M,C,1);var T=C+m|0;if((0|S)>(0|a)){var O=T+1|0;Ae[w+T|0]=58;var N=T+2|0;Ae[w+O|0]=58;var I=N}else var I=T;var I,P=S-1|0;if((0|P)<(0|a)){var g=I;break r}var m=I,S=P}while(0);var g;Ae[w+g|0]=0;var p=w}var p;return p}function Wr(r,a){var e,i=a>>>0>1020;do if(i){var v=Se[r+4>>2],t=a+4|0,f=pe[v](t);if(0==(0|f)){var _=0;break}var s=r+60|0,n=Se[s>>2],o=f;Se[o>>2]=n,Se[s>>2]=f,Se[r+64>>2]=0;var _=f+4|0}else{var e=(r+64|0)>>2,l=Me[e];if(l>>>0<a>>>0){var b=Se[r+4>>2],k=pe[b](1024);if(0==(0|k)){var _=0;break}var u=r+60|0,c=Se[u>>2],h=k;Se[h>>2]=c,Se[u>>2]=k,Se[e]=1020;var d=1020,w=k}else var d=l,w=Se[r+60>>2];var w,d;Se[e]=d-a|0;var _=w+(1024-d)|0}while(0);var _;return _}function Zr(r){var a=r<<24>>24;if(68==(0|a))var e=0|He.__str157327;else if(69==(0|a))var e=0|He.__str158328;else if(70==(0|a))var e=0|He.__str159329;else if(71==(0|a))var e=0|He.__str160330;else if(72==(0|a))var e=0|He.__str161331;else if(73==(0|a))var e=0|He.__str162332;else if(74==(0|a))var e=0|He.__str163333;else if(75==(0|a))var e=0|He.__str164334;else if(76==(0|a))var e=0|He.__str165335;else if(77==(0|a))var e=0|He.__str166336;else if(78==(0|a))var e=0|He.__str167337;else if(87==(0|a))var e=0|He.__str168338;else var e=0;var e;return e}function Qr(r){var a=r<<24>>24;if(67==(0|a))var e=0|He.__str145315;else if(68==(0|a))var e=0|He.__str146316;else if(69==(0|a))var e=0|He.__str147317;else if(70==(0|a))var e=0|He.__str148318;else if(71==(0|a))var e=0|He.__str149319;else if(72==(0|a))var e=0|He.__str150320;else if(73==(0|a))var e=0|He.__str151321;else if(74==(0|a))var e=0|He.__str152322;else if(75==(0|a))var e=0|He.__str153323;else if(77==(0|a))var e=0|He.__str154324;else if(78==(0|a))var e=0|He.__str155325;else if(79==(0|a))var e=0|He.__str156326;else if(88==(0|a))var e=0|He.__str84254;else if(90==(0|a))var e=0|He.__str110280;else var e=0;var e;return e}function qr(r){var a=r+44|0,e=Se[a>>2],i=zr(r);if(0==(0|i))var v=0;else var t=Gr(r,e),v=t;var v;return Se[a>>2]=e,v}function $r(r,a,e,i,v){var t,f,_,s=Oe;Oe+=16;var n,o=s,_=o>>2,l=s+4,b=s+8,f=b>>2;Se[l>>2]=0|ii;var t=(a+12|0)>>2,k=Se[t];if(Ae[k]<<24>>24==69){Se[l>>2]=0|He.__str134304;var u=k+1|0;Se[t]=u;var c=0|He.__str134304}else var c=0|ii;var c,h=i<<24>>24;do{if(65==(0|h)){var d=Dr(a,0|He.__str135305,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=d;n=10;break}if(66==(0|h)){var p=Dr(a,0|He.__str136306,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=p;n=10;break}if(80==(0|h)){var E=Dr(a,0|He.__str137307,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=E;n=10;break}if(81==(0|h)){var A=Dr(a,0|He.__str138308,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=A;n=10;break}if(82==(0|h)){var g=Dr(a,0|He.__str139309,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=g;n=10;break}if(83==(0|h)){var y=Dr(a,0|He.__str140310,(ne=Oe,Oe+=4,Se[ne>>2]=c,ne)),w=y;n=10;break}if(63==(0|h)){var w=0|ii;n=10}else n=31}while(0);r:do if(10==n){var w,m=xr(a,o,l);if(0==(0|m))break;var S=a+44|0,M=Se[S>>2],C=Se[t],R=Ae[C]<<24>>24==89;a:do if(R){var T=C+1|0;Se[t]=T;var O=Lr(a);if(0==(0|O))break r;var N=Ha(O),I=Ae[w]<<24>>24==32,P=Se[_],D=0==(0|P);do{if(I){if(!D){n=17;break}var L=w+1|0;n=18;break}if(D){var L=w;n=18;break}n=17;break}while(0);if(17==n){var F=Dr(a,0|He.__str141311,(ne=Oe,Oe+=8,Se[ne>>2]=P,Se[ne+4>>2]=w,ne));Se[_]=0;var X=F}else if(18==n)var L,j=Dr(a,0|He.__str142312,(ne=Oe,Oe+=4,Se[ne>>2]=L,ne)),X=j;var X;if(0==(0|N)){var U=X;break}for(var x=X,z=N;;){var z,x,V=z-1|0,B=Lr(a),H=Dr(a,0|He.__str143313,(ne=Oe,Oe+=8,Se[ne>>2]=x,Se[ne+4>>2]=B,ne));if(0==(0|V)){var U=H;break a}var x=H,z=V}}else var U=w;while(0);var U,K=Pr(a,b,e,0);if(0==(0|K))break;var Y=Se[_];if(0==(0|Y)){var G=0==(0|v);do if(G){if(Ae[U]<<24>>24==0){var W=U;break}var Z=U+1|0;if(Ae[Z]<<24>>24!=42){var W=U;break}var Q=Se[f],q=Ca(Q);if(Ae[Q+(q-1)|0]<<24>>24!=42){var W=U;break}var W=Z}else var W=U;while(0);var W,$=Se[f],J=Dr(a,0|He.__str170,(ne=Oe,Oe+=8,Se[ne>>2]=$,Se[ne+4>>2]=W,ne));Se[r>>2]=J}else{var rr=Se[f],ar=Dr(a,0|He.__str144314,(ne=Oe,Oe+=12,Se[ne>>2]=rr,Se[ne+4>>2]=Y,Se[ne+8>>2]=U,ne));Se[r>>2]=ar}var er=Se[f+1];Se[r+4>>2]=er,Se[S>>2]=M}while(0);Oe=s}function Jr(r){var a,e=r>>>0<245;do{if(e){if(r>>>0<11)var i=16;else var i=r+11&-8;var i,v=i>>>3,t=Me[vi>>2],f=t>>>(v>>>0);if(0!=(3&f|0)){var _=(1&f^1)+v|0,s=_<<1,n=(s<<2)+vi+40|0,o=(s+2<<2)+vi+40|0,l=Me[o>>2],b=l+8|0,k=Me[b>>2];if((0|n)==(0|k))Se[vi>>2]=t&(1<<_^-1);else{if(k>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[o>>2]=k,Se[k+12>>2]=n}var u=_<<3;Se[l+4>>2]=3|u;var c=l+(4|u)|0,h=1|Se[c>>2];Se[c>>2]=h;var d=b;a=38;break}if(i>>>0<=Me[vi+8>>2]>>>0){var w=i;a=30;break}if(0!=(0|f)){var p=2<<v,E=f<<v&(p|-p),A=(E&-E)-1|0,g=A>>>12&16,y=A>>>(g>>>0),m=y>>>5&8,S=y>>>(m>>>0),M=S>>>2&4,C=S>>>(M>>>0),R=C>>>1&2,T=C>>>(R>>>0),O=T>>>1&1,N=(m|g|M|R|O)+(T>>>(O>>>0))|0,I=N<<1,P=(I<<2)+vi+40|0,D=(I+2<<2)+vi+40|0,L=Me[D>>2],F=L+8|0,X=Me[F>>2];if((0|P)==(0|X))Se[vi>>2]=t&(1<<N^-1);else{if(X>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[D>>2]=X,Se[X+12>>2]=P}var j=N<<3,U=j-i|0;Se[L+4>>2]=3|i;var x=L,z=x+i|0;Se[x+(4|i)>>2]=1|U,Se[x+j>>2]=U;var V=Me[vi+8>>2];if(0!=(0|V)){var B=Se[vi+20>>2],H=V>>>2&1073741822,K=(H<<2)+vi+40|0,Y=Me[vi>>2],G=1<<(V>>>3),W=0==(Y&G|0);do{if(!W){var Z=(H+2<<2)+vi+40|0,Q=Me[Z>>2];if(Q>>>0>=Me[vi+16>>2]>>>0){var q=Q,$=Z;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Y|G;var q=K,$=(H+2<<2)+vi+40|0}while(0);var $,q;Se[$>>2]=B,Se[q+12>>2]=B;var J=B+8|0;Se[J>>2]=q;var rr=B+12|0;Se[rr>>2]=K}Se[vi+8>>2]=U,Se[vi+20>>2]=z;var d=F;a=38;break}if(0==(0|Se[vi+4>>2])){var w=i;a=30;break}var ar=ra(i);if(0==(0|ar)){var w=i;a=30;break}var d=ar;a=38;break}if(r>>>0>4294967231){var w=-1;a=30;break}var er=r+11&-8;if(0==(0|Se[vi+4>>2])){var w=er;a=30;break}var ir=ea(er);if(0==(0|ir)){var w=er;a=30;break}var d=ir;a=38;break}while(0);if(30==a){var w,vr=Me[vi+8>>2];if(w>>>0>vr>>>0){var tr=Me[vi+12>>2];if(w>>>0<tr>>>0){var fr=tr-w|0;Se[vi+12>>2]=fr;var _r=Me[vi+24>>2],sr=_r;Se[vi+24>>2]=sr+w|0,Se[w+(sr+4)>>2]=1|fr,Se[_r+4>>2]=3|w;var d=_r+8|0}else var nr=aa(w),d=nr}else{var or=vr-w|0,lr=Me[vi+20>>2];if(or>>>0>15){var br=lr;Se[vi+20>>2]=br+w|0,Se[vi+8>>2]=or,Se[w+(br+4)>>2]=1|or,Se[br+vr>>2]=or,Se[lr+4>>2]=3|w}else{Se[vi+8>>2]=0,Se[vi+20>>2]=0,Se[lr+4>>2]=3|vr;var kr=vr+(lr+4)|0,ur=1|Se[kr>>2];Se[kr>>2]=ur}var d=lr+8|0}}var d;return d}function ra(r){var a,e,i,v=Se[vi+4>>2],t=(v&-v)-1|0,f=t>>>12&16,_=t>>>(f>>>0),s=_>>>5&8,n=_>>>(s>>>0),o=n>>>2&4,l=n>>>(o>>>0),b=l>>>1&2,k=l>>>(b>>>0),u=k>>>1&1,c=Me[vi+((s|f|o|b|u)+(k>>>(u>>>0))<<2)+304>>2],h=c,e=h>>2,d=(Se[c+4>>2]&-8)-r|0;r:for(;;)for(var d,h,w=h;;){var w,p=Se[w+16>>2];if(0==(0|p)){var E=Se[w+20>>2];if(0==(0|E))break r;var A=E}else var A=p;var A,g=(Se[A+4>>2]&-8)-r|0;if(g>>>0<d>>>0){var h=A,e=h>>2,d=g;continue r}var w=A}var y=h,m=Me[vi+16>>2],S=y>>>0<m>>>0;do if(!S){var M=y+r|0,C=M;if(y>>>0>=M>>>0)break;var R=Me[e+6],T=Me[e+3],O=(0|T)==(0|h);do if(O){var N=h+20|0,I=Se[N>>2];if(0==(0|I)){var P=h+16|0,D=Se[P>>2];if(0==(0|D)){var L=0,a=L>>2;break}var F=P,X=D}else{var F=N,X=I;i=14}for(;;){var X,F,j=X+20|0,U=Se[j>>2];if(0==(0|U)){var x=X+16|0,z=Me[x>>2];if(0==(0|z))break;var F=x,X=z}else var F=j,X=U}if(F>>>0<m>>>0)throw Ka(),"Reached an unreachable!";Se[F>>2]=0;var L=X,a=L>>2}else{var V=Me[e+2];if(V>>>0<m>>>0)throw Ka(),"Reached an unreachable!";Se[V+12>>2]=T,Se[T+8>>2]=V;var L=T,a=L>>2}while(0);var L,B=0==(0|R);r:do if(!B){var H=h+28|0,K=(Se[H>>2]<<2)+vi+304|0,Y=(0|h)==(0|Se[K>>2]);do{if(Y){if(Se[K>>2]=L,0!=(0|L))break;var G=Se[vi+4>>2]&(1<<Se[H>>2]^-1);Se[vi+4>>2]=G;break r}if(R>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var W=R+16|0;if((0|Se[W>>2])==(0|h)?Se[W>>2]=L:Se[R+20>>2]=L,0==(0|L))break r}while(0);if(L>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=R;var Z=Me[e+4];if(0!=(0|Z)){if(Z>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=Z,Se[Z+24>>2]=L}var Q=Me[e+5];if(0==(0|Q))break;if(Q>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=Q,Se[Q+24>>2]=L}while(0);if(d>>>0<16){var q=d+r|0;Se[e+1]=3|q;var $=q+(y+4)|0,J=1|Se[$>>2];Se[$>>2]=J}else{Se[e+1]=3|r,Se[r+(y+4)>>2]=1|d,Se[y+d+r>>2]=d;var rr=Me[vi+8>>2];if(0!=(0|rr)){var ar=Me[vi+20>>2],er=rr>>>2&1073741822,ir=(er<<2)+vi+40|0,vr=Me[vi>>2],tr=1<<(rr>>>3),fr=0==(vr&tr|0);do{if(!fr){var _r=(er+2<<2)+vi+40|0,sr=Me[_r>>2];if(sr>>>0>=Me[vi+16>>2]>>>0){var nr=sr,or=_r;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=vr|tr;var nr=ir,or=(er+2<<2)+vi+40|0}while(0);var or,nr;Se[or>>2]=ar,Se[nr+12>>2]=ar,Se[ar+8>>2]=nr,Se[ar+12>>2]=ir}Se[vi+8>>2]=d,Se[vi+20>>2]=C}return h+8|0}while(0);throw Ka(),"Reached an unreachable!"}function aa(r){var a,e;0==(0|Se[ti>>2])&&ba();var i=0==(4&Se[vi+440>>2]|0);do{if(i){var v=Se[vi+24>>2],t=0==(0|v);do{if(!t){var f=v,_=ua(f);if(0==(0|_)){e=6;break}var s=Se[ti+8>>2],n=r+47-Se[vi+12>>2]+s&-s;if(n>>>0>=2147483647){e=14;break}var o=re(n);if((0|o)==(Se[_>>2]+Se[_+4>>2]|0)){var l=o,b=n,k=o;e=13;break}var u=o,c=n;e=15;break}e=6}while(0);do if(6==e){var h=re(0);if((0|h)==-1){e=14;break}var d=Se[ti+8>>2],w=d+(r+47)&-d,p=h,E=Se[ti+4>>2],A=E-1|0;if(0==(A&p|0))var g=w;else var g=w-p+(A+p&-E)|0;var g;if(g>>>0>=2147483647){e=14;break}var y=re(g);if((0|y)==(0|h)){var l=h,b=g,k=y;e=13;break}var u=y,c=g;e=15;break}while(0);if(13==e){var k,b,l;if((0|l)!=-1){var m=b,S=l;e=26;break}var u=k,c=b}else if(14==e){var M=4|Se[vi+440>>2];Se[vi+440>>2]=M,e=23;break}var c,u,C=0|-c,R=(0|u)!=-1&c>>>0<2147483647;do{if(R){if(c>>>0>=(r+48|0)>>>0){var T=c;e=21;break}var O=Se[ti+8>>2],N=r+47-c+O&-O;if(N>>>0>=2147483647){var T=c;e=21;break}var I=re(N);if((0|I)==-1){re(C);e=22;break}var T=N+c|0;e=21;break}var T=c;e=21}while(0);if(21==e){var T;if((0|u)!=-1){var m=T,S=u;e=26;break}}var P=4|Se[vi+440>>2];Se[vi+440>>2]=P,e=23;break}e=23}while(0);do if(23==e){var D=Se[ti+8>>2],L=D+(r+47)&-D;if(L>>>0>=2147483647){e=49;break}var F=re(L),X=re(0);if(!((0|X)!=-1&(0|F)!=-1&F>>>0<X>>>0)){e=49;break}var j=X-F|0;if(j>>>0<=(r+40|0)>>>0|(0|F)==-1){e=49;break}var m=j,S=F;e=26;break}while(0);r:do if(26==e){var S,m,U=Se[vi+432>>2]+m|0;Se[vi+432>>2]=U,U>>>0>Me[vi+436>>2]>>>0&&(Se[vi+436>>2]=U);var x=Me[vi+24>>2],z=0==(0|x);a:do if(z){var V=Me[vi+16>>2];0==(0|V)|S>>>0<V>>>0&&(Se[vi+16>>2]=S),Se[vi+444>>2]=S,Se[vi+448>>2]=m,Se[vi+456>>2]=0;var B=Se[ti>>2];Se[vi+36>>2]=B,Se[vi+32>>2]=-1,ha(),ca(S,m-40|0)}else{for(var H=vi+444|0,a=H>>2;;){var H;if(0==(0|H))break;var K=Me[a],Y=H+4|0,G=Me[Y>>2],W=K+G|0;if((0|S)==(0|W)){if(0!=(8&Se[a+3]|0))break;var Z=x;if(!(Z>>>0>=K>>>0&Z>>>0<W>>>0))break;Se[Y>>2]=G+m|0;var Q=Se[vi+24>>2],q=Se[vi+12>>2]+m|0;ca(Q,q);break a}var H=Se[a+2],a=H>>2}S>>>0<Me[vi+16>>2]>>>0&&(Se[vi+16>>2]=S);for(var $=S+m|0,J=vi+444|0;;){var J;if(0==(0|J))break;var rr=0|J,ar=Me[rr>>2];if((0|ar)==(0|$)){if(0!=(8&Se[J+12>>2]|0))break;Se[rr>>2]=S;var er=J+4|0,ir=Se[er>>2]+m|0;Se[er>>2]=ir;var vr=da(S,ar,r),tr=vr;e=50;break r}var J=Se[J+8>>2]}Ma(S,m)}while(0);var fr=Me[vi+12>>2];if(fr>>>0<=r>>>0){e=49;break}var _r=fr-r|0;Se[vi+12>>2]=_r;var sr=Me[vi+24>>2],nr=sr;Se[vi+24>>2]=nr+r|0,Se[r+(nr+4)>>2]=1|_r,Se[sr+4>>2]=3|r;var tr=sr+8|0;e=50;break}while(0);if(49==e){var or=Je();Se[or>>2]=12;var tr=0}var tr;return tr}function ea(r){var a,e,i,v,t,f,_=r>>2,s=0|-r,n=r>>>8,o=0==(0|n);do if(o)var l=0;else{if(r>>>0>16777215){var l=31;break}var b=(n+1048320|0)>>>16&8,k=n<<b,u=(k+520192|0)>>>16&4,c=k<<u,h=(c+245760|0)>>>16&2,d=14-(u|b|h)+(c<<h>>>15)|0,l=r>>>((d+7|0)>>>0)&1|d<<1}while(0);var l,w=Me[vi+(l<<2)+304>>2],p=0==(0|w);r:do if(p)var E=0,A=s,g=0;else{if(31==(0|l))var y=0;else var y=25-(l>>>1)|0;for(var y,m=0,S=s,M=w,t=M>>2,C=r<<y,R=0;;){var R,C,M,S,m,T=Se[t+1]&-8,O=T-r|0;if(O>>>0<S>>>0){if((0|T)==(0|r)){var E=M,A=O,g=M;break r}var N=M,I=O}else var N=m,I=S;var I,N,P=Me[t+5],D=Me[((C>>>31<<2)+16>>2)+t],L=0==(0|P)|(0|P)==(0|D)?R:P;if(0==(0|D)){var E=N,A=I,g=L;break r}var m=N,S=I,M=D,t=M>>2,C=C<<1,R=L}}while(0);var g,A,E,F=0==(0|g)&0==(0|E);do if(F){var X=2<<l,j=Se[vi+4>>2]&(X|-X);if(0==(0|j)){var U=g;break}var x=(j&-j)-1|0,z=x>>>12&16,V=x>>>(z>>>0),B=V>>>5&8,H=V>>>(B>>>0),K=H>>>2&4,Y=H>>>(K>>>0),G=Y>>>1&2,W=Y>>>(G>>>0),Z=W>>>1&1,U=Se[vi+((B|z|K|G|Z)+(W>>>(Z>>>0))<<2)+304>>2]}else var U=g;while(0);var U,Q=0==(0|U);r:do if(Q)var q=A,$=E,v=$>>2;else for(var J=U,i=J>>2,rr=A,ar=E;;){var ar,rr,J,er=(Se[i+1]&-8)-r|0,ir=er>>>0<rr>>>0,vr=ir?er:rr,tr=ir?J:ar,fr=Me[i+4];if(0==(0|fr)){var _r=Me[i+5];if(0==(0|_r)){var q=vr,$=tr,v=$>>2;break r}var J=_r,i=J>>2,rr=vr,ar=tr}else var J=fr,i=J>>2,rr=vr,ar=tr}while(0);var $,q,sr=0==(0|$);r:do{if(!sr){if(q>>>0>=(Se[vi+8>>2]-r|0)>>>0){var nr=0;break}var or=$,e=or>>2,lr=Me[vi+16>>2],br=or>>>0<lr>>>0;do if(!br){var kr=or+r|0,ur=kr;if(or>>>0>=kr>>>0)break;var cr=Me[v+6],hr=Me[v+3],dr=(0|hr)==(0|$);do if(dr){var wr=$+20|0,pr=Se[wr>>2];if(0==(0|pr)){var Er=$+16|0,Ar=Se[Er>>2];if(0==(0|Ar)){var gr=0,a=gr>>2;break}var yr=Er,mr=Ar}else{var yr=wr,mr=pr;f=28}for(;;){var mr,yr,Sr=mr+20|0,Mr=Se[Sr>>2];if(0==(0|Mr)){var Cr=mr+16|0,Rr=Me[Cr>>2];if(0==(0|Rr))break;var yr=Cr,mr=Rr}else var yr=Sr,mr=Mr}if(yr>>>0<lr>>>0)throw Ka(),"Reached an unreachable!";Se[yr>>2]=0;var gr=mr,a=gr>>2}else{var Tr=Me[v+2];if(Tr>>>0<lr>>>0)throw Ka(),"Reached an unreachable!";Se[Tr+12>>2]=hr,Se[hr+8>>2]=Tr;var gr=hr,a=gr>>2}while(0);var gr,Or=0==(0|cr);a:do if(!Or){var Nr=$+28|0,Ir=(Se[Nr>>2]<<2)+vi+304|0,Pr=(0|$)==(0|Se[Ir>>2]);do{if(Pr){if(Se[Ir>>2]=gr,0!=(0|gr))break;var Dr=Se[vi+4>>2]&(1<<Se[Nr>>2]^-1);Se[vi+4>>2]=Dr;break a}if(cr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var Lr=cr+16|0;if((0|Se[Lr>>2])==(0|$)?Se[Lr>>2]=gr:Se[cr+20>>2]=gr,0==(0|gr))break a}while(0);if(gr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=cr;var Fr=Me[v+4];if(0!=(0|Fr)){if(Fr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=Fr,Se[Fr+24>>2]=gr}var Xr=Me[v+5];if(0==(0|Xr))break;if(Xr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=Xr,Se[Xr+24>>2]=gr}while(0);var jr=q>>>0<16;a:do if(jr){var Ur=q+r|0;Se[v+1]=3|Ur;var xr=Ur+(or+4)|0,zr=1|Se[xr>>2];Se[xr>>2]=zr}else if(Se[v+1]=3|r,Se[_+(e+1)]=1|q,Se[(q>>2)+e+_]=q,q>>>0<256){var Vr=q>>>2&1073741822,Br=(Vr<<2)+vi+40|0,Hr=Me[vi>>2],Kr=1<<(q>>>3),Yr=0==(Hr&Kr|0);do{if(!Yr){var Gr=(Vr+2<<2)+vi+40|0,Wr=Me[Gr>>2];if(Wr>>>0>=Me[vi+16>>2]>>>0){var Zr=Wr,Qr=Gr;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Hr|Kr;var Zr=Br,Qr=(Vr+2<<2)+vi+40|0}while(0);var Qr,Zr;Se[Qr>>2]=ur,Se[Zr+12>>2]=ur,Se[_+(e+2)]=Zr,Se[_+(e+3)]=Br}else{var qr=kr,$r=q>>>8,Jr=0==(0|$r);do if(Jr)var ra=0;else{if(q>>>0>16777215){var ra=31;break}var aa=($r+1048320|0)>>>16&8,ea=$r<<aa,ia=(ea+520192|0)>>>16&4,va=ea<<ia,ta=(va+245760|0)>>>16&2,fa=14-(ia|aa|ta)+(va<<ta>>>15)|0,ra=q>>>((fa+7|0)>>>0)&1|fa<<1}while(0);var ra,_a=(ra<<2)+vi+304|0;Se[_+(e+7)]=ra;var sa=r+(or+16)|0;Se[_+(e+5)]=0,Se[sa>>2]=0;var na=Se[vi+4>>2],oa=1<<ra;if(0==(na&oa|0)){var la=na|oa;Se[vi+4>>2]=la,Se[_a>>2]=qr,Se[_+(e+6)]=_a,Se[_+(e+3)]=qr,Se[_+(e+2)]=qr}else{if(31==(0|ra))var ba=0;else var ba=25-(ra>>>1)|0;for(var ba,ka=q<<ba,ua=Se[_a>>2];;){var ua,ka;if((Se[ua+4>>2]&-8|0)==(0|q)){var ca=ua+8|0,ha=Me[ca>>2],da=Me[vi+16>>2],wa=ua>>>0<da>>>0;do if(!wa){if(ha>>>0<da>>>0)break;Se[ha+12>>2]=qr,Se[ca>>2]=qr,Se[_+(e+2)]=ha,Se[_+(e+3)]=ua,Se[_+(e+6)]=0;break a}while(0);throw Ka(),"Reached an unreachable!"}var pa=(ka>>>31<<2)+ua+16|0,Ea=Me[pa>>2];if(0==(0|Ea)){if(pa>>>0>=Me[vi+16>>2]>>>0){Se[pa>>2]=qr,Se[_+(e+6)]=ua,Se[_+(e+3)]=qr,Se[_+(e+2)]=qr;break a}throw Ka(),"Reached an unreachable!"}var ka=ka<<1,ua=Ea}}}while(0);var nr=$+8|0;break r}while(0);throw Ka(),"Reached an unreachable!"}var nr=0}while(0);var nr;return nr}function ia(r){var a;0==(0|Se[ti>>2])&&ba();var e=r>>>0<4294967232;r:do if(e){var i=Me[vi+24>>2];if(0==(0|i)){var v=0;break}var t=Me[vi+12>>2],f=t>>>0>(r+40|0)>>>0;do if(f){var _=Me[ti+8>>2],s=-40-r-1+t+_|0,n=Math.floor((s>>>0)/(_>>>0)),o=(n-1)*_|0,l=i,b=ua(l);if(0!=(8&Se[b+12>>2]|0))break;var k=re(0),a=(b+4|0)>>2;if((0|k)!=(Se[b>>2]+Se[a]|0))break;var u=o>>>0>2147483646?-2147483648-_|0:o,c=0|-u,h=re(c),d=re(0);if(!((0|h)!=-1&d>>>0<k>>>0))break;var w=k-d|0;if((0|k)==(0|d))break;var p=Se[a]-w|0;Se[a]=p;var E=Se[vi+432>>2]-w|0;Se[vi+432>>2]=E;var A=Se[vi+24>>2],g=Se[vi+12>>2]-w|0;ca(A,g);var v=(0|k)!=(0|d);break r}while(0);if(Me[vi+12>>2]>>>0<=Me[vi+28>>2]>>>0){var v=0;break}Se[vi+28>>2]=-1;var v=0}else var v=0;while(0);var v;return 1&v}function va(r){var a,e,i,v,t,f,_,s=r>>2,n=0==(0|r);r:do if(!n){var o=r-8|0,l=o,b=Me[vi+16>>2],k=o>>>0<b>>>0;a:do if(!k){var u=Me[r-4>>2],c=3&u;if(1==(0|c))break;var h=u&-8,f=h>>2,d=r+(h-8)|0,w=d,p=0==(1&u|0);e:do if(p){var E=Me[o>>2];if(0==(0|c))break r;var A=-8-E|0,t=A>>2,g=r+A|0,y=g,m=E+h|0;if(g>>>0<b>>>0)break a;if((0|y)==(0|Se[vi+20>>2])){var v=(r+(h-4)|0)>>2;if(3!=(3&Se[v]|0)){var S=y,i=S>>2,M=m;break}Se[vi+8>>2]=m;var C=Se[v]&-2;Se[v]=C,Se[t+(s+1)]=1|m,Se[d>>2]=m;break r}if(E>>>0<256){var R=Me[t+(s+2)],T=Me[t+(s+3)];if((0|R)!=(0|T)){var O=((E>>>2&1073741822)<<2)+vi+40|0,N=(0|R)!=(0|O)&R>>>0<b>>>0;do if(!N){if(!((0|T)==(0|O)|T>>>0>=b>>>0))break;Se[R+12>>2]=T,Se[T+8>>2]=R;var S=y,i=S>>2,M=m;break e}while(0);throw Ka(),"Reached an unreachable!"}var I=Se[vi>>2]&(1<<(E>>>3)^-1);Se[vi>>2]=I;var S=y,i=S>>2,M=m}else{var P=g,D=Me[t+(s+6)],L=Me[t+(s+3)],F=(0|L)==(0|P);do if(F){var X=A+(r+20)|0,j=Se[X>>2];if(0==(0|j)){var U=A+(r+16)|0,x=Se[U>>2];if(0==(0|x)){var z=0,e=z>>2;break}var V=U,B=x}else{var V=X,B=j;_=21}for(;;){var B,V,H=B+20|0,K=Se[H>>2];if(0==(0|K)){var Y=B+16|0,G=Me[Y>>2];if(0==(0|G))break;var V=Y,B=G}else var V=H,B=K}if(V>>>0<b>>>0)throw Ka(),"Reached an unreachable!";Se[V>>2]=0;var z=B,e=z>>2}else{var W=Me[t+(s+2)];if(W>>>0<b>>>0)throw Ka(),"Reached an unreachable!";Se[W+12>>2]=L,Se[L+8>>2]=W;var z=L,e=z>>2}while(0);var z;if(0==(0|D)){var S=y,i=S>>2,M=m;break}var Z=A+(r+28)|0,Q=(Se[Z>>2]<<2)+vi+304|0,q=(0|P)==(0|Se[Q>>2]);do{if(q){if(Se[Q>>2]=z,0!=(0|z))break;var $=Se[vi+4>>2]&(1<<Se[Z>>2]^-1);Se[vi+4>>2]=$;var S=y,i=S>>2,M=m;break e}if(D>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var J=D+16|0;if((0|Se[J>>2])==(0|P)?Se[J>>2]=z:Se[D+20>>2]=z,0==(0|z)){var S=y,i=S>>2,M=m;break e}}while(0);if(z>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+6]=D;var rr=Me[t+(s+4)];if(0!=(0|rr)){if(rr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+4]=rr,Se[rr+24>>2]=z}var ar=Me[t+(s+5)];if(0==(0|ar)){var S=y,i=S>>2,M=m;break}if(ar>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[e+5]=ar,Se[ar+24>>2]=z;var S=y,i=S>>2,M=m}}else var S=l,i=S>>2,M=h;while(0);var M,S,er=S;if(er>>>0>=d>>>0)break;var ir=r+(h-4)|0,vr=Me[ir>>2];if(0==(1&vr|0))break;var tr=0==(2&vr|0);do{if(tr){if((0|w)==(0|Se[vi+24>>2])){var fr=Se[vi+12>>2]+M|0;Se[vi+12>>2]=fr,Se[vi+24>>2]=S;var _r=1|fr;if(Se[i+1]=_r,(0|S)==(0|Se[vi+20>>2])&&(Se[vi+20>>2]=0,Se[vi+8>>2]=0),fr>>>0<=Me[vi+28>>2]>>>0)break r;ia(0);break r}if((0|w)==(0|Se[vi+20>>2])){var sr=Se[vi+8>>2]+M|0;Se[vi+8>>2]=sr,Se[vi+20>>2]=S;var nr=1|sr;Se[i+1]=nr;var or=er+sr|0;Se[or>>2]=sr;break r}var lr=(vr&-8)+M|0,br=vr>>>3,kr=vr>>>0<256;e:do if(kr){var ur=Me[s+f],cr=Me[((4|h)>>2)+s];if((0|ur)!=(0|cr)){var hr=((vr>>>2&1073741822)<<2)+vi+40|0,dr=(0|ur)==(0|hr);do{if(!dr){if(ur>>>0<Me[vi+16>>2]>>>0){_=66;break}_=63;break}_=63}while(0);do if(63==_){if((0|cr)!=(0|hr)&&cr>>>0<Me[vi+16>>2]>>>0)break;Se[ur+12>>2]=cr,Se[cr+8>>2]=ur;break e}while(0);throw Ka(),"Reached an unreachable!"}var wr=Se[vi>>2]&(1<<br^-1);Se[vi>>2]=wr}else{var pr=d,Er=Me[f+(s+4)],Ar=Me[((4|h)>>2)+s],gr=(0|Ar)==(0|pr);do if(gr){var yr=h+(r+12)|0,mr=Se[yr>>2];if(0==(0|mr)){var Sr=h+(r+8)|0,Mr=Se[Sr>>2];if(0==(0|Mr)){var Cr=0,a=Cr>>2;break}var Rr=Sr,Tr=Mr}else{var Rr=yr,Tr=mr;_=73}for(;;){var Tr,Rr,Or=Tr+20|0,Nr=Se[Or>>2];if(0==(0|Nr)){var Ir=Tr+16|0,Pr=Me[Ir>>2];if(0==(0|Pr))break;var Rr=Ir,Tr=Pr}else var Rr=Or,Tr=Nr}if(Rr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Rr>>2]=0;var Cr=Tr,a=Cr>>2}else{var Dr=Me[s+f];if(Dr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Dr+12>>2]=Ar,\\nSe[Ar+8>>2]=Dr;var Cr=Ar,a=Cr>>2}while(0);var Cr;if(0==(0|Er))break;var Lr=h+(r+20)|0,Fr=(Se[Lr>>2]<<2)+vi+304|0,Xr=(0|pr)==(0|Se[Fr>>2]);do{if(Xr){if(Se[Fr>>2]=Cr,0!=(0|Cr))break;var jr=Se[vi+4>>2]&(1<<Se[Lr>>2]^-1);Se[vi+4>>2]=jr;break e}if(Er>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var Ur=Er+16|0;if((0|Se[Ur>>2])==(0|pr)?Se[Ur>>2]=Cr:Se[Er+20>>2]=Cr,0==(0|Cr))break e}while(0);if(Cr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+6]=Er;var xr=Me[f+(s+2)];if(0!=(0|xr)){if(xr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+4]=xr,Se[xr+24>>2]=Cr}var zr=Me[f+(s+3)];if(0==(0|zr))break;if(zr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[a+5]=zr,Se[zr+24>>2]=Cr}while(0);if(Se[i+1]=1|lr,Se[er+lr>>2]=lr,(0|S)!=(0|Se[vi+20>>2])){var Vr=lr;break}Se[vi+8>>2]=lr;break r}Se[ir>>2]=vr&-2,Se[i+1]=1|M,Se[er+M>>2]=M;var Vr=M}while(0);var Vr;if(Vr>>>0<256){var Br=Vr>>>2&1073741822,Hr=(Br<<2)+vi+40|0,Kr=Me[vi>>2],Yr=1<<(Vr>>>3),Gr=0==(Kr&Yr|0);do{if(!Gr){var Wr=(Br+2<<2)+vi+40|0,Zr=Me[Wr>>2];if(Zr>>>0>=Me[vi+16>>2]>>>0){var Qr=Zr,qr=Wr;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=Kr|Yr;var Qr=Hr,qr=(Br+2<<2)+vi+40|0}while(0);var qr,Qr;Se[qr>>2]=S,Se[Qr+12>>2]=S,Se[i+2]=Qr,Se[i+3]=Hr;break r}var $r=S,Jr=Vr>>>8,ra=0==(0|Jr);do if(ra)var aa=0;else{if(Vr>>>0>16777215){var aa=31;break}var ea=(Jr+1048320|0)>>>16&8,va=Jr<<ea,fa=(va+520192|0)>>>16&4,_a=va<<fa,sa=(_a+245760|0)>>>16&2,na=14-(fa|ea|sa)+(_a<<sa>>>15)|0,aa=Vr>>>((na+7|0)>>>0)&1|na<<1}while(0);var aa,oa=(aa<<2)+vi+304|0;Se[i+7]=aa,Se[i+5]=0,Se[i+4]=0;var la=Se[vi+4>>2],ba=1<<aa,ka=0==(la&ba|0);e:do if(ka){var ua=la|ba;Se[vi+4>>2]=ua,Se[oa>>2]=$r,Se[i+6]=oa,Se[i+3]=S,Se[i+2]=S}else{if(31==(0|aa))var ca=0;else var ca=25-(aa>>>1)|0;for(var ca,ha=Vr<<ca,da=Se[oa>>2];;){var da,ha;if((Se[da+4>>2]&-8|0)==(0|Vr)){var wa=da+8|0,pa=Me[wa>>2],Ea=Me[vi+16>>2],Aa=da>>>0<Ea>>>0;do if(!Aa){if(pa>>>0<Ea>>>0)break;Se[pa+12>>2]=$r,Se[wa>>2]=$r,Se[i+2]=pa,Se[i+3]=da,Se[i+6]=0;break e}while(0);throw Ka(),"Reached an unreachable!"}var ga=(ha>>>31<<2)+da+16|0,ya=Me[ga>>2];if(0==(0|ya)){if(ga>>>0>=Me[vi+16>>2]>>>0){Se[ga>>2]=$r,Se[i+6]=da,Se[i+3]=S,Se[i+2]=S;break e}throw Ka(),"Reached an unreachable!"}var ha=ha<<1,da=ya}}while(0);var ma=Se[vi+32>>2]-1|0;if(Se[vi+32>>2]=ma,0!=(0|ma))break r;ta();break r}while(0);throw Ka(),"Reached an unreachable!"}while(0)}function ta(){var r=Se[vi+452>>2],a=0==(0|r);r:do if(!a)for(var e=r;;){var e,i=Se[e+8>>2];if(0==(0|i))break r;var e=i}while(0);Se[vi+32>>2]=-1}function fa(r,a){if(0==(0|r))var e=Jr(a),i=e;else var v=la(r,a),i=v;var i;return i}function _a(r,a){var e,i=r>>>0<9;do if(i)var v=Jr(a),t=v;else{var f=r>>>0<16?16:r,_=0==(f-1&f|0);r:do if(_)var s=f;else{if(f>>>0<=16){var s=16;break}for(var n=16;;){var n,o=n<<1;if(o>>>0>=f>>>0){var s=o;break r}var n=o}}while(0);var s;if((-64-s|0)>>>0>a>>>0){if(a>>>0<11)var l=16;else var l=a+11&-8;var l,b=Jr(l+(s+12)|0);if(0==(0|b)){var t=0;break}var k=b-8|0;if(0==((b>>>0)%(s>>>0)|0))var u=k,c=0;else{var h=b+(s-1)&-s,d=h-8|0,w=k;if((d-w|0)>>>0>15)var p=d;else var p=h+(s-8)|0;var p,E=p-w|0,e=(b-4|0)>>2,A=Se[e],g=(A&-8)-E|0;if(0==(3&A|0)){var y=Se[k>>2]+E|0;Se[p>>2]=y,Se[p+4>>2]=g;var u=p,c=0}else{var m=p+4|0,S=g|1&Se[m>>2]|2;Se[m>>2]=S;var M=g+(p+4)|0,C=1|Se[M>>2];Se[M>>2]=C;var R=E|1&Se[e]|2;Se[e]=R;var T=b+(E-4)|0,O=1|Se[T>>2];Se[T>>2]=O;var u=p,c=b}}var c,u,N=u+4|0,I=Me[N>>2],P=0==(3&I|0);do if(P)var D=0;else{var L=I&-8;if(L>>>0<=(l+16|0)>>>0){var D=0;break}var F=L-l|0;Se[N>>2]=l|1&I|2,Se[u+(4|l)>>2]=3|F;var X=u+(4|L)|0,j=1|Se[X>>2];Se[X>>2]=j;var D=l+(u+8)|0}while(0);var D;0!=(0|c)&&va(c),0!=(0|D)&&va(D);var t=u+8|0}else{var U=Je();Se[U>>2]=12;var t=0}}while(0);var t;return t}function sa(r,a,e,i){var v,t;0==(0|Se[ti>>2])&&ba();var f=0==(0|i),_=0==(0|r);do{if(f){if(_){var s=Jr(0),n=s;t=30;break}var o=r<<2;if(o>>>0<11){var l=0,b=16;t=9;break}var l=0,b=o+11&-8;t=9;break}if(_){var n=i;t=30;break}var l=i,b=0;t=9;break}while(0);do if(9==t){var b,l,k=0==(1&e|0);r:do if(k){if(_){var u=0,c=0;break}for(var h=0,d=0;;){var d,h,w=Me[a+(d<<2)>>2];if(w>>>0<11)var p=16;else var p=w+11&-8;var p,E=p+h|0,A=d+1|0;if((0|A)==(0|r)){var u=0,c=E;break r}var h=E,d=A}}else{var g=Me[a>>2];if(g>>>0<11)var y=16;else var y=g+11&-8;var y,u=y,c=y*r|0}while(0);var c,u,m=Jr(b-4+c|0);if(0==(0|m)){var n=0;break}var S=m-8|0,M=Se[m-4>>2]&-8;if(0!=(2&e|0)){var C=-4-b+M|0;Fa(m,0,C,1)}if(0==(0|l)){var R=m+c|0,T=M-c|3;Se[m+(c-4)>>2]=T;var O=R,v=O>>2,N=c}else var O=l,v=O>>2,N=M;var N,O;Se[v]=m;var I=r-1|0,P=0==(0|I);r:do if(P)var D=S,L=N;else if(0==(0|u))for(var F=S,X=N,j=0;;){var j,X,F,U=Me[a+(j<<2)>>2];if(U>>>0<11)var x=16;else var x=U+11&-8;var x,z=X-x|0;Se[F+4>>2]=3|x;var V=F+x|0,B=j+1|0;if(Se[(B<<2>>2)+v]=x+(F+8)|0,(0|B)==(0|I)){var D=V,L=z;break r}var F=V,X=z,j=B}else for(var H=3|u,K=u+8|0,Y=S,G=N,W=0;;){var W,G,Y,Z=G-u|0;Se[Y+4>>2]=H;var Q=Y+u|0,q=W+1|0;if(Se[(q<<2>>2)+v]=Y+K|0,(0|q)==(0|I)){var D=Q,L=Z;break r}var Y=Q,G=Z,W=q}while(0);var L,D;Se[D+4>>2]=3|L;var n=O}while(0);var n;return n}function na(r){var a=r>>2;0==(0|Se[ti>>2])&&ba();var e=Me[vi+24>>2];if(0==(0|e))var i=0,v=0,t=0,f=0,_=0,s=0,n=0;else{for(var o=Me[vi+12>>2],l=o+40|0,b=vi+444|0,k=l,u=l,c=1;;){var c,u,k,b,h=Me[b>>2],d=h+8|0;if(0==(7&d|0))var w=0;else var w=7&-d;for(var w,p=b+4|0,E=h+w|0,A=c,g=u,y=k;;){var y,g,A,E;if(E>>>0<h>>>0)break;if(E>>>0>=(h+Se[p>>2]|0)>>>0|(0|E)==(0|e))break;var m=Se[E+4>>2];if(7==(0|m))break;var S=m&-8,M=S+y|0;if(1==(3&m|0))var C=A+1|0,R=S+g|0;else var C=A,R=g;var R,C,E=E+S|0,A=C,g=R,y=M}var T=Me[b+8>>2];if(0==(0|T))break;var b=T,k=y,u=g,c=A}var O=Se[vi+432>>2],i=y,v=A,t=o,f=g,_=O-y|0,s=Se[vi+436>>2],n=O-g|0}var n,s,_,f,t,v,i;Se[a]=i,Se[a+1]=v,Se[a+2]=0,Se[a+3]=0,Se[a+4]=_,Se[a+5]=s,Se[a+6]=0,Se[a+7]=n,Se[a+8]=f,Se[a+9]=t}function oa(){0==(0|Se[ti>>2])&&ba();var r=Me[vi+24>>2],a=0==(0|r);r:do if(a)var e=0,i=0,v=0;else for(var t=Se[vi+436>>2],f=Me[vi+432>>2],_=vi+444|0,s=f-40-Se[vi+12>>2]|0;;){var s,_,n=Me[_>>2],o=n+8|0;if(0==(7&o|0))var l=0;else var l=7&-o;for(var l,b=_+4|0,k=n+l|0,u=s;;){var u,k;if(k>>>0<n>>>0)break;if(k>>>0>=(n+Se[b>>2]|0)>>>0|(0|k)==(0|r))break;var c=Se[k+4>>2];if(7==(0|c))break;var h=c&-8,d=1==(3&c|0)?h:0,w=u-d|0,k=k+h|0,u=w}var p=Me[_+8>>2];if(0==(0|p)){var e=t,i=f,v=u;break r}var _=p,s=u}while(0);var v,i,e,E=Se[Se[qe>>2]+12>>2],A=(Qa(E,0|He.__str339,(ne=Oe,Oe+=4,Se[ne>>2]=e,ne)),Se[Se[qe>>2]+12>>2]),g=(Qa(A,0|He.__str1340,(ne=Oe,Oe+=4,Se[ne>>2]=i,ne)),Se[Se[qe>>2]+12>>2]);Qa(g,0|He.__str2341,(ne=Oe,Oe+=4,Se[ne>>2]=v,ne))}function la(r,a){var e,i,v,t=a>>>0>4294967231;r:do{if(!t){var f=r-8|0,_=f,i=(r-4|0)>>2,s=Me[i],n=s&-8,o=n-8|0,l=r+o|0,b=f>>>0<Me[vi+16>>2]>>>0;do if(!b){var k=3&s;if(!(1!=(0|k)&(0|o)>-8))break;var e=(r+(n-4)|0)>>2;if(0==(1&Se[e]|0))break;if(a>>>0<11)var u=16;else var u=a+11&-8;var u,c=0==(0|k);do{if(c){var h=ka(_,u),d=0,w=h;v=17;break}if(n>>>0<u>>>0){if((0|l)!=(0|Se[vi+24>>2])){v=21;break}var p=Se[vi+12>>2]+n|0;if(p>>>0<=u>>>0){v=21;break}var E=p-u|0,A=r+(u-8)|0;Se[i]=u|1&s|2;var g=1|E;Se[r+(u-4)>>2]=g,Se[vi+24>>2]=A,Se[vi+12>>2]=E;var d=0,w=_;v=17;break}var y=n-u|0;if(y>>>0<=15){var d=0,w=_;v=17;break}Se[i]=u|1&s|2,Se[r+(u-4)>>2]=3|y;var m=1|Se[e];Se[e]=m;var d=r+u|0,w=_;v=17;break}while(0);do if(17==v){var w,d;if(0==(0|w))break;0!=(0|d)&&va(d);var S=w+8|0;break r}while(0);var M=Jr(a);if(0==(0|M)){var S=0;break r}var C=0==(3&Se[i]|0)?8:4,R=n-C|0,T=R>>>0<a>>>0?R:a;Pa(M,r,T,1),va(r);var S=M;break r}while(0);throw Ka(),"Reached an unreachable!"}var O=Je();Se[O>>2]=12;var S=0}while(0);var S;return S}function ba(){if(0==(0|Se[ti>>2])){var r=qa(8);if(0!=(r-1&r|0))throw Ka(),"Reached an unreachable!";Se[ti+8>>2]=r,Se[ti+4>>2]=r,Se[ti+12>>2]=-1,Se[ti+16>>2]=2097152,Se[ti+20>>2]=0,Se[vi+440>>2]=0;var a=$a(0);Se[ti>>2]=a&-16^1431655768}}function ka(r,a){var e=Se[r+4>>2]&-8,i=a>>>0<256;do if(i)var v=0;else{if(e>>>0>=(a+4|0)>>>0&&(e-a|0)>>>0<=Se[ti+8>>2]<<1>>>0){var v=r;break}var v=0}while(0);var v;return v}function ua(r){for(var a,e=vi+444|0,a=e>>2;;){var e,i=Me[a];if(i>>>0<=r>>>0&&(i+Se[a+1]|0)>>>0>r>>>0){var v=e;break}var t=Me[a+2];if(0==(0|t)){var v=0;break}var e=t,a=e>>2}var v;return v}function ca(r,a){var e=r,i=r+8|0;if(0==(7&i|0))var v=0;else var v=7&-i;var v,t=a-v|0;Se[vi+24>>2]=e+v|0,Se[vi+12>>2]=t,Se[v+(e+4)>>2]=1|t,Se[a+(e+4)>>2]=40;var f=Se[ti+16>>2];Se[vi+28>>2]=f}function ha(){for(var r=0;;){var r,a=r<<1,e=(a<<2)+vi+40|0;Se[vi+(a+3<<2)+40>>2]=e,Se[vi+(a+2<<2)+40>>2]=e;var i=r+1|0;if(32==(0|i))break;var r=i}}function da(r,a,e){var i,v,t,f,_=a>>2,s=r>>2,n=r+8|0;if(0==(7&n|0))var o=0;else var o=7&-n;var o,l=a+8|0;if(0==(7&l|0))var b=0,t=b>>2;else var b=7&-l,t=b>>2;var b,k=a+b|0,u=k,c=o+e|0,v=c>>2,h=r+c|0,d=h,w=k-(r+o)-e|0;Se[(o+4>>2)+s]=3|e;var p=(0|u)==(0|Se[vi+24>>2]);r:do if(p){var E=Se[vi+12>>2]+w|0;Se[vi+12>>2]=E,Se[vi+24>>2]=d;var A=1|E;Se[v+(s+1)]=A}else if((0|u)==(0|Se[vi+20>>2])){var g=Se[vi+8>>2]+w|0;Se[vi+8>>2]=g,Se[vi+20>>2]=d;var y=1|g;Se[v+(s+1)]=y;var m=r+g+c|0;Se[m>>2]=g}else{var S=Me[t+(_+1)];if(1==(3&S|0)){var M=S&-8,C=S>>>3,R=S>>>0<256;a:do if(R){var T=Me[((8|b)>>2)+_],O=Me[t+(_+3)];if((0|T)!=(0|O)){var N=((S>>>2&1073741822)<<2)+vi+40|0,I=(0|T)==(0|N);do{if(!I){if(T>>>0<Me[vi+16>>2]>>>0){f=18;break}f=15;break}f=15}while(0);do if(15==f){if((0|O)!=(0|N)&&O>>>0<Me[vi+16>>2]>>>0)break;Se[T+12>>2]=O,Se[O+8>>2]=T;break a}while(0);throw Ka(),"Reached an unreachable!"}var P=Se[vi>>2]&(1<<C^-1);Se[vi>>2]=P}else{var D=k,L=Me[((24|b)>>2)+_],F=Me[t+(_+3)],X=(0|F)==(0|D);do if(X){var j=16|b,U=j+(a+4)|0,x=Se[U>>2];if(0==(0|x)){var z=a+j|0,V=Se[z>>2];if(0==(0|V)){var B=0,i=B>>2;break}var H=z,K=V}else{var H=U,K=x;f=25}for(;;){var K,H,Y=K+20|0,G=Se[Y>>2];if(0==(0|G)){var W=K+16|0,Z=Me[W>>2];if(0==(0|Z))break;var H=W,K=Z}else var H=Y,K=G}if(H>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[H>>2]=0;var B=K,i=B>>2}else{var Q=Me[((8|b)>>2)+_];if(Q>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[Q+12>>2]=F,Se[F+8>>2]=Q;var B=F,i=B>>2}while(0);var B;if(0==(0|L))break;var q=b+(a+28)|0,$=(Se[q>>2]<<2)+vi+304|0,J=(0|D)==(0|Se[$>>2]);do{if(J){if(Se[$>>2]=B,0!=(0|B))break;var rr=Se[vi+4>>2]&(1<<Se[q>>2]^-1);Se[vi+4>>2]=rr;break a}if(L>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";var ar=L+16|0;if((0|Se[ar>>2])==(0|D)?Se[ar>>2]=B:Se[L+20>>2]=B,0==(0|B))break a}while(0);if(B>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+6]=L;var er=16|b,ir=Me[(er>>2)+_];if(0!=(0|ir)){if(ir>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+4]=ir,Se[ir+24>>2]=B}var vr=Me[(er+4>>2)+_];if(0==(0|vr))break;if(vr>>>0<Me[vi+16>>2]>>>0)throw Ka(),"Reached an unreachable!";Se[i+5]=vr,Se[vr+24>>2]=B}while(0);var tr=a+(M|b)|0,fr=M+w|0}else var tr=u,fr=w;var fr,tr,_r=tr+4|0,sr=Se[_r>>2]&-2;if(Se[_r>>2]=sr,Se[v+(s+1)]=1|fr,Se[(fr>>2)+s+v]=fr,fr>>>0<256){var nr=fr>>>2&1073741822,or=(nr<<2)+vi+40|0,lr=Me[vi>>2],br=1<<(fr>>>3),kr=0==(lr&br|0);do{if(!kr){var ur=(nr+2<<2)+vi+40|0,cr=Me[ur>>2];if(cr>>>0>=Me[vi+16>>2]>>>0){var hr=cr,dr=ur;break}throw Ka(),"Reached an unreachable!"}Se[vi>>2]=lr|br;var hr=or,dr=(nr+2<<2)+vi+40|0}while(0);var dr,hr;Se[dr>>2]=d,Se[hr+12>>2]=d,Se[v+(s+2)]=hr,Se[v+(s+3)]=or}else{var wr=h,pr=fr>>>8,Er=0==(0|pr);do if(Er)var Ar=0;else{if(fr>>>0>16777215){var Ar=31;break}var gr=(pr+1048320|0)>>>16&8,yr=pr<<gr,mr=(yr+520192|0)>>>16&4,Sr=yr<<mr,Mr=(Sr+245760|0)>>>16&2,Cr=14-(mr|gr|Mr)+(Sr<<Mr>>>15)|0,Ar=fr>>>((Cr+7|0)>>>0)&1|Cr<<1}while(0);var Ar,Rr=(Ar<<2)+vi+304|0;Se[v+(s+7)]=Ar;var Tr=c+(r+16)|0;Se[v+(s+5)]=0,Se[Tr>>2]=0;var Or=Se[vi+4>>2],Nr=1<<Ar;if(0==(Or&Nr|0)){var Ir=Or|Nr;Se[vi+4>>2]=Ir,Se[Rr>>2]=wr,Se[v+(s+6)]=Rr,Se[v+(s+3)]=wr,Se[v+(s+2)]=wr}else{if(31==(0|Ar))var Pr=0;else var Pr=25-(Ar>>>1)|0;for(var Pr,Dr=fr<<Pr,Lr=Se[Rr>>2];;){var Lr,Dr;if((Se[Lr+4>>2]&-8|0)==(0|fr)){var Fr=Lr+8|0,Xr=Me[Fr>>2],jr=Me[vi+16>>2],Ur=Lr>>>0<jr>>>0;do if(!Ur){if(Xr>>>0<jr>>>0)break;Se[Xr+12>>2]=wr,Se[Fr>>2]=wr,Se[v+(s+2)]=Xr,Se[v+(s+3)]=Lr,Se[v+(s+6)]=0;break r}while(0);throw Ka(),"Reached an unreachable!"}var xr=(Dr>>>31<<2)+Lr+16|0,zr=Me[xr>>2];if(0==(0|zr)){if(xr>>>0>=Me[vi+16>>2]>>>0){Se[xr>>2]=wr,Se[v+(s+6)]=Lr,Se[v+(s+3)]=wr,Se[v+(s+2)]=wr;break r}throw Ka(),"Reached an unreachable!"}var Dr=Dr<<1,Lr=zr}}}}while(0);return r+(8|o)|0}function wa(r){return 0|He.__str3342}function pa(r){return 0|He.__str14343}function Ea(r){Se[r>>2]=si+8|0}function Aa(r){0!=(0|r)&&va(r)}function ga(r){ya(r);var a=r;Aa(a)}function ya(r){var a=0|r;Ye(a)}function ma(r){var a=0|r;Ea(a),Se[r>>2]=ni+8|0}function Sa(r){var a=0|r;ya(a);var e=r;Aa(e)}function Ma(r,a){var e,i,v=Me[vi+24>>2],i=v>>2,t=v,f=ua(t),_=Se[f>>2],s=Se[f+4>>2],n=_+s|0,o=_+(s-39)|0;if(0==(7&o|0))var l=0;else var l=7&-o;var l,b=_+(s-47)+l|0,k=b>>>0<(v+16|0)>>>0?t:b,u=k+8|0,e=u>>2,c=u,h=r,d=a-40|0;ca(h,d);var w=k+4|0;Se[w>>2]=27,Se[e]=Se[vi+444>>2],Se[e+1]=Se[vi+448>>2],Se[e+2]=Se[vi+452>>2],Se[e+3]=Se[vi+456>>2],Se[vi+444>>2]=r,Se[vi+448>>2]=a,Se[vi+456>>2]=0,Se[vi+452>>2]=c;var p=k+28|0;Se[p>>2]=7;var E=(k+32|0)>>>0<n>>>0;r:do if(E)for(var A=p;;){var A,g=A+4|0;if(Se[g>>2]=7,(A+8|0)>>>0>=n>>>0)break r;var A=g}while(0);var y=(0|k)==(0|t);r:do if(!y){var m=k-v|0,S=t+m|0,M=m+(t+4)|0,C=Se[M>>2]&-2;Se[M>>2]=C;var R=1|m;Se[i+1]=R;var T=S;if(Se[T>>2]=m,m>>>0<256){var O=m>>>2&1073741822,N=(O<<2)+vi+40|0,I=Me[vi>>2],P=1<<(m>>>3),D=0==(I&P|0);do{if(!D){var L=(O+2<<2)+vi+40|0,F=Me[L>>2];if(F>>>0>=Me[vi+16>>2]>>>0){var X=F,j=L;break}throw Ka(),"Reached an unreachable!"}var U=I|P;Se[vi>>2]=U;var X=N,j=(O+2<<2)+vi+40|0}while(0);var j,X;Se[j>>2]=v,Se[X+12>>2]=v,Se[i+2]=X,Se[i+3]=N}else{var x=v,z=m>>>8,V=0==(0|z);do if(V)var B=0;else{if(m>>>0>16777215){var B=31;break}var H=(z+1048320|0)>>>16&8,K=z<<H,Y=(K+520192|0)>>>16&4,G=K<<Y,W=(G+245760|0)>>>16&2,Z=14-(Y|H|W)+(G<<W>>>15)|0,B=m>>>((Z+7|0)>>>0)&1|Z<<1}while(0);var B,Q=(B<<2)+vi+304|0;Se[i+7]=B,Se[i+5]=0,Se[i+4]=0;var q=Se[vi+4>>2],$=1<<B;if(0==(q&$|0)){var J=q|$;Se[vi+4>>2]=J,Se[Q>>2]=x,Se[i+6]=Q,Se[i+3]=v,Se[i+2]=v}else{if(31==(0|B))var rr=0;else var rr=25-(B>>>1)|0;for(var rr,ar=m<<rr,er=Se[Q>>2];;){var er,ar;if((Se[er+4>>2]&-8|0)==(0|m)){var ir=er+8|0,vr=Me[ir>>2],tr=Me[vi+16>>2],fr=er>>>0<tr>>>0;do if(!fr){if(vr>>>0<tr>>>0)break;Se[vr+12>>2]=x,Se[ir>>2]=x,Se[i+2]=vr,Se[i+3]=er,Se[i+6]=0;break r}while(0);throw Ka(),"Reached an unreachable!"}var _r=(ar>>>31<<2)+er+16|0,sr=Me[_r>>2];if(0==(0|sr)){if(_r>>>0>=Me[vi+16>>2]>>>0){Se[_r>>2]=x,Se[i+6]=er,Se[i+3]=v,Se[i+2]=v;break r}throw Ka(),"Reached an unreachable!"}var ar=ar<<1,er=sr}}}}while(0)}function Ca(r){return d(r)}function Ra(r,a){var e=0;do Ae[r+e]=Ae[a+e],e++;while(0!=Ae[a+e-1]);return r}function Ta(){var r=Ta;return r.LLVM_SAVEDSTACKS||(r.LLVM_SAVEDSTACKS=[]),r.LLVM_SAVEDSTACKS.push(le.stackSave()),r.LLVM_SAVEDSTACKS.length-1}function Oa(r){var a=Ta,e=a.LLVM_SAVEDSTACKS[r];a.LLVM_SAVEDSTACKS.splice(r,1),le.stackRestore(e)}function Na(r,a,e){for(var i=0;i<e;){var v=Ae[r+i],t=Ae[a+i];if(v==t&&0==v)return 0;if(0==v)return-1;if(0==t)return 1;if(v!=t)return v>t?1:-1;i++}return 0}function Ia(r,a){var e=Ca(r),i=0;do Ae[r+e+i]=Ae[a+i],i++;while(0!=Ae[a+i-1]);return r}function Pa(r,a,e,i){if(e>=20&&a%2==r%2)if(a%4==r%4){for(var v=a+e;a%4;)Ae[r++]=Ae[a++];for(var t=a>>2,f=r>>2,_=v>>2;t<_;)Se[f++]=Se[t++];for(a=t<<2,r=f<<2;a<v;)Ae[r++]=Ae[a++]}else{var v=a+e;a%2&&(Ae[r++]=Ae[a++]);for(var s=a>>1,n=r>>1,o=v>>1;s<o;)ye[n++]=ye[s++];a=s<<1,r=n<<1,a<v&&(Ae[r++]=Ae[a++])}else for(;e--;)Ae[r++]=Ae[a++]}function Da(r,a){return Na(r,a,Le)}function La(r,a,e){for(var i=0;i<e;i++){var v=Ae[r+i],t=Ae[a+i];if(v!=t)return v>t?1:-1}return 0}function Fa(r,a,e,i){if(e>=20){for(var v=r+e;r%4;)Ae[r++]=a;a<0&&(a+=256);for(var t=r>>2,f=v>>2,_=a|a<<8|a<<16|a<<24;t<f;)Se[t++]=_;for(r=t<<2;r<v;)Ae[r++]=a}else for(;e--;)Ae[r++]=a}function Xa(r,a,e,i){throw"Assertion failed: "+s(i)+", at: "+[s(r),a,s(e)]}function ja(r){var a=d(r),e=Jr(a+1);return Pa(e,r,a,1),Ae[e+a]=0,e}function Ua(r,a){function e(r){var e;return"double"===r?(xe[0]=Se[a+_>>2],xe[1]=Se[a+_+4>>2],e=ze[0]):"i64"==r?e=[Se[a+_>>2],Se[a+_+4>>2]]:(r="i32",e=Se[a+_>>2]),_+=le.getNativeFieldSize(r),e}for(var i,v,t,f=r,_=0,s=[];;){var n=f;if(i=Ae[f],0===i)break;if(v=Ae[f+1],i=="%".charCodeAt(0)){var o=!1,l=!1,b=!1,k=!1;r:for(;;){switch(v){case"+".charCodeAt(0):o=!0;break;case"-".charCodeAt(0):l=!0;break;case"#".charCodeAt(0):b=!0;break;case"0".charCodeAt(0):if(k)break r;k=!0;break;default:break r}f++,v=Ae[f+1]}var u=0;if(v=="*".charCodeAt(0))u=e("i32"),f++,v=Ae[f+1];else for(;v>="0".charCodeAt(0)&&v<="9".charCodeAt(0);)u=10*u+(v-"0".charCodeAt(0)),f++,v=Ae[f+1];var c=!1;if(v==".".charCodeAt(0)){var h=0;if(c=!0,f++,v=Ae[f+1],v=="*".charCodeAt(0))h=e("i32"),f++;else for(;;){var d=Ae[f+1];if(d<"0".charCodeAt(0)||d>"9".charCodeAt(0))break;h=10*h+(d-"0".charCodeAt(0)),f++}v=Ae[f+1]}else var h=6;var E;switch(String.fromCharCode(v)){case"h":var A=Ae[f+2];A=="h".charCodeAt(0)?(f++,E=1):E=2;break;case"l":var A=Ae[f+2];A=="l".charCodeAt(0)?(f++,E=8):E=4;break;case"L":case"q":case"j":E=8;break;case"z":case"t":case"I":E=4;break;default:E=null}if(E&&f++,v=Ae[f+1],["d","i","u","o","x","X","p"].indexOf(String.fromCharCode(v))!=-1){var m=v=="d".charCodeAt(0)||v=="i".charCodeAt(0);E=E||4;var t=e("i"+8*E);if(8==E&&(t=le.makeBigInt(t[0],t[1],v=="u".charCodeAt(0))),E<=4){var S=Math.pow(256,E)-1;t=(m?y:g)(t&S,8*E)}var M,C=Math.abs(t),R="";if(v=="d".charCodeAt(0)||v=="i".charCodeAt(0))M=y(t,8*E,1).toString(10);else if(v=="u".charCodeAt(0))M=g(t,8*E,1).toString(10),t=Math.abs(t);else if(v=="o".charCodeAt(0))M=(b?"0":"")+C.toString(8);else if(v=="x".charCodeAt(0)||v=="X".charCodeAt(0)){if(R=b?"0x":"",t<0){t=-t,M=(C-1).toString(16);for(var T=[],O=0;O<M.length;O++)T.push((15-parseInt(M[O],16)).toString(16));for(M=T.join("");M.length<2*E;)M="f"+M}else M=C.toString(16);v=="X".charCodeAt(0)&&(R=R.toUpperCase(),M=M.toUpperCase())}else v=="p".charCodeAt(0)&&(0===C?M="(nil)":(R="0x",M=C.toString(16)));if(c)for(;M.length<h;)M="0"+M;for(o&&(R=t<0?"-"+R:"+"+R);R.length+M.length<u;)l?M+=" ":k?M="0"+M:R=" "+R;M=R+M,M.split("").forEach(function(r){s.push(r.charCodeAt(0))})}else if(["f","F","e","E","g","G"].indexOf(String.fromCharCode(v))!=-1){var M,t=e("double");if(isNaN(t))M="nan",k=!1;else if(isFinite(t)){var N=!1,I=Math.min(h,20);if(v=="g".charCodeAt(0)||v=="G".charCodeAt(0)){N=!0,h=h||1;var P=parseInt(t.toExponential(I).split("e")[1],10);h>P&&P>=-4?(v=(v=="g".charCodeAt(0)?"f":"F").charCodeAt(0),h-=P+1):(v=(v=="g".charCodeAt(0)?"e":"E").charCodeAt(0),h--),I=Math.min(h,20)}v=="e".charCodeAt(0)||v=="E".charCodeAt(0)?(M=t.toExponential(I),/[eE][-+]\\\\d$/.test(M)&&(M=M.slice(0,-1)+"0"+M.slice(-1))):v!="f".charCodeAt(0)&&v!="F".charCodeAt(0)||(M=t.toFixed(I));var D=M.split("e");if(N&&!b)for(;D[0].length>1&&D[0].indexOf(".")!=-1&&("0"==D[0].slice(-1)||"."==D[0].slice(-1));)D[0]=D[0].slice(0,-1);else for(b&&M.indexOf(".")==-1&&(D[0]+=".");h>I++;)D[0]+="0";M=D[0]+(D.length>1?"e"+D[1]:""),v=="E".charCodeAt(0)&&(M=M.toUpperCase()),o&&t>=0&&(M="+"+M)}else M=(t<0?"-":"")+"inf",k=!1;for(;M.length<u;)l?M+=" ":M=!k||"-"!=M[0]&&"+"!=M[0]?(k?"0":" ")+M:M[0]+"0"+M.slice(1);v<"a".charCodeAt(0)&&(M=M.toUpperCase()),M.split("").forEach(function(r){s.push(r.charCodeAt(0))})}else if(v=="s".charCodeAt(0)){var L,F=e("i8*");if(F?(L=w(F),c&&L.length>h&&(L=L.slice(0,h))):L=p("(null)",!0),!l)for(;L.length<u--;)s.push(" ".charCodeAt(0));if(s=s.concat(L),l)for(;L.length<u--;)s.push(" ".charCodeAt(0))}else if(v=="c".charCodeAt(0)){for(l&&s.push(e("i8"));--u>0;)s.push(" ".charCodeAt(0));l||s.push(e("i8"))}else if(v=="n".charCodeAt(0)){var X=e("i32*");Se[X>>2]=s.length}else if(v=="%".charCodeAt(0))s.push(i);else for(var O=n;O<f+2;O++)s.push(Ae[O]);f+=2}else s.push(i),f+=1}return s}function xa(r,a,e,i){for(var v=Ua(e,i),t=void 0===a?v.length:Math.min(v.length,a-1),f=0;f<t;f++)Ae[r+f]=v[f];return Ae[r+f]=0,v.length}function za(r,a,e){return xa(r,void 0,a,e)}function Va(r){return r in{32:0,9:0,10:0,11:0,12:0,13:0}}function Ba(r){return r>="0".charCodeAt(0)&&r<="9".charCodeAt(0)}function Ha(r){for(var a;(a=Ae[r])&&Va(a);)r++;if(!a||!Ba(a))return 0;for(var e=r;(a=Ae[e])&&Ba(a);)e++;return Math.floor(Number(s(r).substr(0,e-r)))}function Ka(r){throw ke=!0,"ABORT: "+r+", at "+(new Error).stack}function Ya(r){return Ya.ret||(Ya.ret=_([0],"i32",we)),Se[Ya.ret>>2]=r,r}function Ga(r,a,e,i){var v=$e.streams[r];if(!v||v.object.isDevice)return Ya(Ge.EBADF),-1;if(v.isWrite){if(v.object.isFolder)return Ya(Ge.EISDIR),-1;if(e<0||i<0)return Ya(Ge.EINVAL),-1;for(var t=v.object.contents;t.length<i;)t.push(0);for(var f=0;f<e;f++)t[i+f]=ge[a+f];return v.object.timestamp=Date.now(),f}return Ya(Ge.EACCES),-1}function Wa(r,a,e){var i=$e.streams[r];if(i){if(i.isWrite){if(e<0)return Ya(Ge.EINVAL),-1;if(i.object.isDevice){if(i.object.output){for(var v=0;v<e;v++)try{i.object.output(Ae[a+v])}catch(r){return Ya(Ge.EIO),-1}return i.object.timestamp=Date.now(),v}return Ya(Ge.ENXIO),-1}var t=Ga(r,a,e,i.position);return t!=-1&&(i.position+=t),t}return Ya(Ge.EACCES),-1}return Ya(Ge.EBADF),-1}function Za(r,a,e,i){var v=e*a;if(0==v)return 0;var t=Wa(i,r,v);return t==-1?($e.streams[i]&&($e.streams[i].error=!0),-1):Math.floor(t/a)}function Qa(r,a,e){var i=Ua(a,e),v=le.stackSave(),t=Za(_(i,"i8",de),1,i.length,r);return le.stackRestore(v),t}function qa(r){switch(r){case 8:return Pe;case 54:case 56:case 21:case 61:case 63:case 22:case 67:case 23:case 24:case 25:case 26:case 27:case 69:case 28:case 101:case 70:case 71:case 29:case 30:case 199:case 75:case 76:case 32:case 43:case 44:case 80:case 46:case 47:case 45:case 48:case 49:case 42:case 82:case 33:case 7:case 108:case 109:case 107:case 112:case 119:case 121:return 200809;case 13:case 104:case 94:case 95:case 34:case 35:case 77:case 81:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 91:case 94:case 95:case 110:case 111:case 113:case 114:case 115:case 116:case 117:case 118:case 120:case 40:case 16:case 79:case 19:return-1;case 92:case 93:case 5:case 72:case 6:case 74:case 92:case 93:case 96:case 97:case 98:case 99:case 102:case 103:case 105:return 1;case 38:case 66:case 50:case 51:case 4:return 1024;case 15:case 64:case 41:return 32;case 55:case 37:case 17:return 2147483647;case 18:case 1:return 47839;case 59:case 57:return 99;case 68:case 58:return 2048;case 0:return 2097152;case 3:return 65536;case 14:return 32768;case 73:return 32767;case 39:return 16384;case 60:return 1e3;case 106:return 700;case 52:return 256;case 62:return 255;case 2:return 100;case 65:return 64;case 36:return 20;case 100:return 16;case 20:return 6;case 53:return 4}return Ya(Ge.EINVAL),-1}function $a(r){var a=Math.floor(Date.now()/1e3);return r&&(Se[r>>2]=a),a}function Ja(){return Ya.ret}function re(r){var a=re;a.called||(Ie=o(Ie),a.called=!0);var e=Ie;return 0!=r&&le.staticAlloc(r),e}function ae(){return Se[ae.buf>>2]}function ee(r){r=r||Module.arguments,k();var a=null;return Module._main&&(a=Module.callMain(r),Module.noExitRuntime||u()),a}var ie=[],ve=false,te="object"==typeof window,fe="function"==typeof importScripts,_e=!te&&!ve&&!fe;if(ve){print=function(r){process.stdout.write(r+"\\\\n")},printErr=function(r){process.stderr.write(r+"\\\\n")};var se=require("fs");read=function(r){var a=se.readFileSync(r).toString();return a||"/"==r[0]||(r=__dirname.split("/").slice(0,-1).join("/")+"/src/"+r,a=se.readFileSync(r).toString()),a},load=function(a){r(read(a))},ie=process.argv.slice(2)}else if(_e)this.read||(this.read=function(r){snarf(r)}),"undefined"!=typeof scriptArgs?ie=scriptArgs:"undefined"!=typeof arguments&&(ie=arguments);else if(te)this.print=printErr=function(r){console.log(r)},this.read=function(r){var a=new XMLHttpRequest;return a.open("GET",r,!1),a.send(null),a.responseText},this.arguments&&(ie=arguments);else{if(!fe)throw"Unknown runtime environment. Where are we?";this.load=importScripts}"undefined"==typeof load&&"undefined"!=typeof read&&(this.load=function(a){r(read(a))}),"undefined"==typeof printErr&&(this.printErr=function(){}),"undefined"==typeof print&&(this.print=printErr);try{this.Module=Module}catch(r){this.Module=Module={}}Module.arguments||(Module.arguments=ie),Module.print&&(print=Module.print);var ne,oe,le={stackSave:function(){return Oe},stackRestore:function(r){Oe=r},forceAlign:function(r,a){if(a=a||4,1==a)return r;if(isNumber(r)&&isNumber(a))return Math.ceil(r/a)*a;if(isNumber(a)&&isPowerOfTwo(a)){var e=log2(a);return"(((("+r+")+"+(a-1)+")>>"+e+")<<"+e+")"}return"Math.ceil(("+r+")/"+a+")*"+a},isNumberType:function(r){return r in le.INT_TYPES||r in le.FLOAT_TYPES},isPointerType:function(r){return"*"==r[r.length-1]},isStructType:function(r){return!isPointerType(r)&&(!!/^\\\\[\\\\d+\\\\ x\\\\ (.*)\\\\]/.test(r)||(!!/<?{ [^}]* }>?/.test(r)||"%"==r[0]))},INT_TYPES:{i1:0,i8:0,i16:0,i32:0,i64:0},FLOAT_TYPES:{float:0,double:0},bitshift64:function(r,e,i,v){var t=Math.pow(2,v)-1;if(v<32)switch(i){case"shl":return[r<<v,e<<v|(r&t<<32-v)>>>32-v];case"ashr":return[(r>>>v|(e&t)<<32-v)>>0>>>0,e>>v>>>0];case"lshr":return[(r>>>v|(e&t)<<32-v)>>>0,e>>>v]}else if(32==v)switch(i){case"shl":return[0,r];case"ashr":return[e,(0|e)<0?t:0];case"lshr":return[e,0]}else switch(i){case"shl":return[0,r<<v-32];case"ashr":return[e>>v-32>>>0,(0|e)<0?t:0];case"lshr":return[e>>>v-32,0]}a("unknown bitshift64 op: "+[value,i,v])},or64:function(r,a){var e=0|r|(0|a),i=4294967296*(Math.round(r/4294967296)|Math.round(a/4294967296));return e+i},and64:function(r,a){var e=(0|r)&(0|a),i=4294967296*(Math.round(r/4294967296)&Math.round(a/4294967296));return e+i},xor64:function(r,a){var e=(0|r)^(0|a),i=4294967296*(Math.round(r/4294967296)^Math.round(a/4294967296));return e+i},getNativeTypeSize:function(r,a){if(1==le.QUANTUM_SIZE)return 1;var i={"%i1":1,"%i8":1,"%i16":2,"%i32":4,"%i64":8,"%float":4,"%double":8}["%"+r];if(!i)if("*"==r[r.length-1])i=le.QUANTUM_SIZE;else if("i"==r[0]){var v=parseInt(r.substr(1));e(v%8==0),i=v/8}return i},getNativeFieldSize:function(r){return Math.max(le.getNativeTypeSize(r),le.QUANTUM_SIZE)},dedup:function(r,a){var e={};return a?r.filter(function(r){return!e[r[a]]&&(e[r[a]]=!0,!0)}):r.filter(function(r){return!e[r]&&(e[r]=!0,!0)})},set:function(){for(var r="object"==typeof arguments[0]?arguments[0]:arguments,a={},e=0;e<r.length;e++)a[r[e]]=0;return a},calculateStructAlignment:function(r){r.flatSize=0,r.alignSize=0;var a=[],e=-1;return r.flatIndexes=r.fields.map(function(i){var v,t;if(le.isNumberType(i)||le.isPointerType(i))v=le.getNativeTypeSize(i),t=v;else{if(!le.isStructType(i))throw"Unclear type in struct: "+i+", in "+r.name_+" :: "+dump(Types.types[r.name_]);v=Types.types[i].flatSize,t=Types.types[i].alignSize}t=r.packed?1:Math.min(t,le.QUANTUM_SIZE),r.alignSize=Math.max(r.alignSize,t);var f=le.alignMemory(r.flatSize,t);return r.flatSize=f+v,e>=0&&a.push(f-e),e=f,f}),r.flatSize=le.alignMemory(r.flatSize,r.alignSize),0==a.length?r.flatFactor=r.flatSize:1==le.dedup(a).length&&(r.flatFactor=a[0]),r.needsFlattening=1!=r.flatFactor,r.flatIndexes},generateStructInfo:function(r,a,i){var v,t;if(a){if(i=i||0,v=("undefined"==typeof Types?le.typeInfo:Types.types)[a],!v)return null;e(v.fields.length===r.length,"Number of named fields must match the type for "+a),t=v.flatIndexes}else{var v={fields:r.map(function(r){return r[0]})};t=le.calculateStructAlignment(v)}var f={__size__:v.flatSize};return a?r.forEach(function(r,a){if("string"==typeof r)f[r]=t[a]+i;else{var e;for(var _ in r)e=_;f[e]=le.generateStructInfo(r[e],v.fields[a],t[a])}}):r.forEach(function(r,a){f[r[1]]=t[a]}),f},stackAlloc:function(r){var a=Oe;return Oe+=r,Oe=Oe+3>>2<<2,a},staticAlloc:function(r){var a=Ie;return Ie+=r,Ie=Ie+3>>2<<2,Ie>=Le&&l(),a},alignMemory:function(r,a){var e=r=Math.ceil(r/(a?a:4))*(a?a:4);return e},makeBigInt:function(r,a,e){var i=e?(r>>>0)+4294967296*(a>>>0):(r>>>0)+4294967296*(0|a);return i},QUANTUM_SIZE:4,__dummy__:0},be={MAX_ALLOWED:0,corrections:0,sigs:{},note:function(r,e,i){e||(this.corrections++,this.corrections>=this.MAX_ALLOWED&&a("\\\\n\\\\nToo many corrections!"))},print:function(){}},ke=!1,ue=0,ce=this;Module.ccall=i,Module.setValue=t,Module.getValue=f;var he=0,de=1,we=2;Module.ALLOC_NORMAL=he,Module.ALLOC_STACK=de,Module.ALLOC_STATIC=we,Module.allocate=_,Module.Pointer_stringify=s,Module.Array_stringify=n;var pe,Ee,Ae,ge,ye,me,Se,Me,Ce,Re,Te,Oe,Ne,Ie,Pe=4096,De=Module.TOTAL_STACK||5242880,Le=Module.TOTAL_MEMORY||10485760;Module.FAST_MEMORY||2097152;e(!!(Int32Array&&Float64Array&&new Int32Array(1).subarray&&new Int32Array(1).set),"Cannot fallback to non-typed array case: Code is too specialized");var Fe=new ArrayBuffer(Le);Ae=new Int8Array(Fe),ye=new Int16Array(Fe),Se=new Int32Array(Fe),ge=new Uint8Array(Fe),me=new Uint16Array(Fe),Me=new Uint32Array(Fe),Ce=new Float32Array(Fe),Re=new Float64Array(Fe),Se[0]=255,e(255===ge[0]&&0===ge[3],"Typed arrays 2 must be run on a little-endian system");var Xe=p("(null)");Ie=Xe.length;for(var je=0;je<Xe.length;je++)Ae[je]=Xe[je];Module.HEAP=Ee,Module.HEAP8=Ae,Module.HEAP16=ye,Module.HEAP32=Se,Module.HEAPU8=ge,Module.HEAPU16=me,Module.HEAPU32=Me,Module.HEAPF32=Ce,Module.HEAPF64=Re,Te=Oe=le.alignMemory(Ie),Ne=Te+De;var Ue=le.alignMemory(Ne,8),xe=(Ae.subarray(Ue),Se.subarray(Ue>>2)),ze=(Ce.subarray(Ue>>2),Re.subarray(Ue>>3));Ne=Ue+8,Ie=o(Ne);var Ve=[],Be=[];Module.Array_copy=c,Module.TypedArray_copy=h,Module.String_len=d,Module.String_copy=w,Module.intArrayFromString=p,Module.intArrayToString=E,Module.writeStringToMemory=A;var He=[],Ke=0;O.X=1,N.X=1,V.X=1,H.X=1,G.X=1,W.X=1,q.X=1,$.X=1,rr.X=1,ar.X=1,er.X=1,vr.X=1,nr.X=1,or.X=1,kr.X=1,hr.X=1,Ar.X=1,Sr.X=1,Tr.X=1,Ir.X=1,Pr.X=1,Dr.X=1,Lr.X=1,Fr.X=1,Xr.X=1,zr.X=1,Vr.X=1,Br.X=1,Gr.X=1,$r.X=1,Module._malloc=Jr,Jr.X=1,ra.X=1,aa.X=1,ea.X=1,ia.X=1,Module._free=va,va.X=1,_a.X=1,sa.X=1,na.X=1,oa.X=1,la.X=1,da.X=1,Ma.X=1;var Ye,Ge={E2BIG:7,EACCES:13,EADDRINUSE:98,EADDRNOTAVAIL:99,EAFNOSUPPORT:97,EAGAIN:11,EALREADY:114,EBADF:9,EBADMSG:74,EBUSY:16,ECANCELED:125,ECHILD:10,ECONNABORTED:103,ECONNREFUSED:111,ECONNRESET:104,EDEADLK:35,EDESTADDRREQ:89,EDOM:33,EDQUOT:122,EEXIST:17,EFAULT:14,EFBIG:27,EHOSTUNREACH:113,EIDRM:43,EILSEQ:84,EINPROGRESS:115,EINTR:4,EINVAL:22,EIO:5,EISCONN:106,EISDIR:21,ELOOP:40,EMFILE:24,EMLINK:31,EMSGSIZE:90,EMULTIHOP:72,ENAMETOOLONG:36,ENETDOWN:100,ENETRESET:102,ENETUNREACH:101,ENFILE:23,ENOBUFS:105,ENODATA:61,ENODEV:19,ENOENT:2,ENOEXEC:8,ENOLCK:37,ENOLINK:67,ENOMEM:12,ENOMSG:42,ENOPROTOOPT:92,ENOSPC:28,ENOSR:63,ENOSTR:60,ENOSYS:38,ENOTCONN:107,ENOTDIR:20,ENOTEMPTY:39,ENOTRECOVERABLE:131,ENOTSOCK:88,ENOTSUP:95,ENOTTY:25,ENXIO:6,EOVERFLOW:75,EOWNERDEAD:130,EPERM:1,EPIPE:32,EPROTO:71,EPROTONOSUPPORT:93,EPROTOTYPE:91,ERANGE:34,EROFS:30,ESPIPE:29,ESRCH:3,ESTALE:116,ETIME:62,ETIMEDOUT:110,ETXTBSY:26,EWOULDBLOCK:11,EXDEV:18},We=0,Ze=0,Qe=0,qe=0,$e={currentPath:"/",nextInode:2,streams:[null],ignorePermissions:!0,absolutePath:function(r,a){if("string"!=typeof r)return null;void 0===a&&(a=$e.currentPath),r&&"/"==r[0]&&(a="");for(var e=a+"/"+r,i=e.split("/").reverse(),v=[""];i.length;){var t=i.pop();""==t||"."==t||(".."==t?v.length>1&&v.pop():v.push(t))}return 1==v.length?"/":v.join("/")},analyzePath:function(r,a,e){var i={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};if(r=$e.absolutePath(r),"/"==r)i.isRoot=!0,i.exists=i.parentExists=!0,i.name="/",i.path=i.parentPath="/",i.object=i.parentObject=$e.root;else if(null!==r){e=e||0,r=r.slice(1).split("/");for(var v=$e.root,t=[""];r.length;){1==r.length&&v.isFolder&&(i.parentExists=!0,i.parentPath=1==t.length?"/":t.join("/"),i.parentObject=v,i.name=r[0]);var f=r.shift();if(!v.isFolder){i.error=Ge.ENOTDIR;break}if(!v.read){i.error=Ge.EACCES;break}if(!v.contents.hasOwnProperty(f)){i.error=Ge.ENOENT;break}if(v=v.contents[f],v.link&&(!a||0!=r.length)){if(e>40){i.error=Ge.ELOOP;break}var _=$e.absolutePath(v.link,t.join("/"));return $e.analyzePath([_].concat(r).join("/"),a,e+1)}t.push(f),0==r.length&&(i.exists=!0,i.path=t.join("/"),i.object=v)}return i}return i},findObject:function(r,a){$e.ensureRoot();var e=$e.analyzePath(r,a);return e.exists?e.object:(Ya(e.error),null)},createObject:function(r,a,e,i,v){if(r||(r="/"),"string"==typeof r&&(r=$e.findObject(r)),!r)throw Ya(Ge.EACCES),new Error("Parent path must exist.");if(!r.isFolder)throw Ya(Ge.ENOTDIR),\\nnew Error("Parent must be a folder.");if(!r.write&&!$e.ignorePermissions)throw Ya(Ge.EACCES),new Error("Parent folder must be writeable.");if(!a||"."==a||".."==a)throw Ya(Ge.ENOENT),new Error("Name must not be empty.");if(r.contents.hasOwnProperty(a))throw Ya(Ge.EEXIST),new Error("Can\\\'t overwrite object.");r.contents[a]={read:void 0===i||i,write:void 0!==v&&v,timestamp:Date.now(),inodeNumber:$e.nextInode++};for(var t in e)e.hasOwnProperty(t)&&(r.contents[a][t]=e[t]);return r.contents[a]},createFolder:function(r,a,e,i){var v={isFolder:!0,isDevice:!1,contents:{}};return $e.createObject(r,a,v,e,i)},createPath:function(r,a,e,i){var v=$e.findObject(r);if(null===v)throw new Error("Invalid parent.");for(a=a.split("/").reverse();a.length;){var t=a.pop();t&&(v.contents.hasOwnProperty(t)||$e.createFolder(v,t,e,i),v=v.contents[t])}return v},createFile:function(r,a,e,i,v){return e.isFolder=!1,$e.createObject(r,a,e,i,v)},createDataFile:function(r,a,e,i,v){if("string"==typeof e){for(var t=new Array(e.length),f=0,_=e.length;f<_;++f)t[f]=e.charCodeAt(f);e=t}var s={isDevice:!1,contents:e};return $e.createFile(r,a,s,i,v)},createLazyFile:function(r,a,e,i,v){var t={isDevice:!1,url:e};return $e.createFile(r,a,t,i,v)},createLink:function(r,a,e,i,v){var t={isDevice:!1,link:e};return $e.createFile(r,a,t,i,v)},createDevice:function(r,a,e,i){if(!e&&!i)throw new Error("A device must have at least one callback defined.");var v={isDevice:!0,input:e,output:i};return $e.createFile(r,a,v,Boolean(e),Boolean(i))},forceLoadFile:function(r){if(r.isDevice||r.isFolder||r.link||r.contents)return!0;var a=!0;if("undefined"!=typeof XMLHttpRequest)e("Cannot do synchronous binary XHRs in modern browsers. Use --embed-file or --preload-file in emcc");else{if("undefined"==typeof read)throw new Error("Cannot load without read() or XMLHttpRequest.");try{r.contents=p(read(r.url),!0)}catch(r){a=!1}}return a||Ya(Ge.EIO),a},ensureRoot:function(){$e.root||($e.root={read:!0,write:!0,isFolder:!0,isDevice:!1,timestamp:Date.now(),inodeNumber:1,contents:{}})},init:function(r,a,i){function v(r){null===r||r==="\\\\n".charCodeAt(0)?(a.printer(a.buffer.join("")),a.buffer=[]):a.buffer.push(String.fromCharCode(r))}e(!$e.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),$e.init.initialized=!0,$e.ensureRoot(),r=r||Module.stdin,a=a||Module.stdout,i=i||Module.stderr;var t=!0,f=!0,s=!0;r||(t=!1,r=function(){if(!r.cache||!r.cache.length){var a;"undefined"!=typeof window&&"function"==typeof window.prompt?a=window.prompt("Input: "):"function"==typeof readline&&(a=readline()),a||(a=""),r.cache=p(a+"\\\\n",!0)}return r.cache.shift()}),a||(f=!1,a=v),a.printer||(a.printer=print),a.buffer||(a.buffer=[]),i||(s=!1,i=v),i.printer||(i.printer=print),i.buffer||(i.buffer=[]),$e.createFolder("/","tmp",!0,!0);var n=$e.createFolder("/","dev",!0,!0),o=$e.createDevice(n,"stdin",r),l=$e.createDevice(n,"stdout",null,a),b=$e.createDevice(n,"stderr",null,i);$e.createDevice(n,"tty",r,a),$e.streams[1]={path:"/dev/stdin",object:o,position:0,isRead:!0,isWrite:!1,isAppend:!1,isTerminal:!t,error:!1,eof:!1,ungotten:[]},$e.streams[2]={path:"/dev/stdout",object:l,position:0,isRead:!1,isWrite:!0,isAppend:!1,isTerminal:!f,error:!1,eof:!1,ungotten:[]},$e.streams[3]={path:"/dev/stderr",object:b,position:0,isRead:!1,isWrite:!0,isAppend:!1,isTerminal:!s,error:!1,eof:!1,ungotten:[]},We=_([1],"void*",we),Ze=_([2],"void*",we),Qe=_([3],"void*",we),$e.createPath("/","dev/shm/tmp",!0,!0),$e.streams[We]=$e.streams[1],$e.streams[Ze]=$e.streams[2],$e.streams[Qe]=$e.streams[3],qe=_([_([0,0,0,0,We,0,0,0,Ze,0,0,0,Qe,0,0,0],"void*",we)],"void*",we)},quit:function(){$e.init.initialized&&($e.streams[2]&&$e.streams[2].object.output.buffer.length>0&&$e.streams[2].object.output("\\\\n".charCodeAt(0)),$e.streams[3]&&$e.streams[3].object.output.buffer.length>0&&$e.streams[3].object.output("\\\\n".charCodeAt(0)))}},Je=Ja;Ve.unshift({func:function(){$e.ignorePermissions=!1,$e.init.initialized||$e.init()}}),Be.push({func:function(){$e.quit()}}),Ya(0),ae.buf=_(12,"void*",we),Module.callMain=function(r){function a(){for(var r=0;r<3;r++)i.push(0)}var e=r.length+1,i=[_(p("/bin/this.program"),"i8",we)];a();for(var v=0;v<e-1;v+=1)i.push(_(p(r[v]),"i8",we)),a();return i.push(0),i=_(i,"i32",we),_main(e,i,0)};var ri,ai,ei,ii,vi,ti,qe,fi,_i,si,ni,oi,li,bi,ki,ui,ci,hi,di,wi;if(He.__str=_([97,78,0],"i8",we),He.__str1=_([38,61,0],"i8",we),He.__str2=_([97,83,0],"i8",we),He.__str3=_([61,0],"i8",we),He.__str4=_([97,97,0],"i8",we),He.__str5=_([38,38,0],"i8",we),He.__str6=_([97,100,0],"i8",we),He.__str7=_([38,0],"i8",we),He.__str8=_([97,110,0],"i8",we),He.__str9=_([99,108,0],"i8",we),He.__str10=_([40,41,0],"i8",we),He.__str11=_([99,109,0],"i8",we),He.__str12=_([44,0],"i8",we),He.__str13=_([99,111,0],"i8",we),He.__str14=_([126,0],"i8",we),He.__str15=_([100,86,0],"i8",we),He.__str16=_([47,61,0],"i8",we),He.__str17=_([100,97,0],"i8",we),He.__str18=_([100,101,108,101,116,101,91,93,0],"i8",we),He.__str19=_([100,101,0],"i8",we),He.__str20=_([42,0],"i8",we),He.__str21=_([100,108,0],"i8",we),He.__str22=_([100,101,108,101,116,101,0],"i8",we),He.__str23=_([100,118,0],"i8",we),He.__str24=_([47,0],"i8",we),He.__str25=_([101,79,0],"i8",we),He.__str26=_([94,61,0],"i8",we),He.__str27=_([101,111,0],"i8",we),He.__str28=_([94,0],"i8",we),He.__str29=_([101,113,0],"i8",we),He.__str30=_([61,61,0],"i8",we),He.__str31=_([103,101,0],"i8",we),He.__str32=_([62,61,0],"i8",we),He.__str33=_([103,116,0],"i8",we),He.__str34=_([62,0],"i8",we),He.__str35=_([105,120,0],"i8",we),He.__str36=_([91,93,0],"i8",we),He.__str37=_([108,83,0],"i8",we),He.__str38=_([60,60,61,0],"i8",we),He.__str39=_([108,101,0],"i8",we),He.__str40=_([60,61,0],"i8",we),He.__str41=_([108,115,0],"i8",we),He.__str42=_([60,60,0],"i8",we),He.__str43=_([108,116,0],"i8",we),He.__str44=_([60,0],"i8",we),He.__str45=_([109,73,0],"i8",we),He.__str46=_([45,61,0],"i8",we),He.__str47=_([109,76,0],"i8",we),He.__str48=_([42,61,0],"i8",we),He.__str49=_([109,105,0],"i8",we),He.__str51=_([109,108,0],"i8",we),He.__str52=_([109,109,0],"i8",we),He.__str53=_([45,45,0],"i8",we),He.__str54=_([110,97,0],"i8",we),He.__str55=_([110,101,119,91,93,0],"i8",we),He.__str56=_([110,101,0],"i8",we),He.__str57=_([33,61,0],"i8",we),He.__str58=_([110,103,0],"i8",we),He.__str59=_([110,116,0],"i8",we),He.__str60=_([33,0],"i8",we),He.__str61=_([110,119,0],"i8",we),He.__str62=_([110,101,119,0],"i8",we),He.__str63=_([111,82,0],"i8",we),He.__str64=_([124,61,0],"i8",we),He.__str65=_([111,111,0],"i8",we),He.__str66=_([124,124,0],"i8",we),He.__str67=_([111,114,0],"i8",we),He.__str68=_([124,0],"i8",we),He.__str69=_([112,76,0],"i8",we),He.__str70=_([43,61,0],"i8",we),He.__str71=_([112,108,0],"i8",we),He.__str72=_([43,0],"i8",we),He.__str73=_([112,109,0],"i8",we),He.__str74=_([45,62,42,0],"i8",we),He.__str75=_([112,112,0],"i8",we),He.__str76=_([43,43,0],"i8",we),He.__str77=_([112,115,0],"i8",we),He.__str78=_([112,116,0],"i8",we),He.__str79=_([45,62,0],"i8",we),He.__str80=_([113,117,0],"i8",we),He.__str81=_([63,0],"i8",we),He.__str82=_([114,77,0],"i8",we),He.__str83=_([37,61,0],"i8",we),He.__str84=_([114,83,0],"i8",we),He.__str85=_([62,62,61,0],"i8",we),He.__str86=_([114,109,0],"i8",we),He.__str87=_([37,0],"i8",we),He.__str88=_([114,115,0],"i8",we),He.__str89=_([62,62,0],"i8",we),He.__str90=_([115,116,0],"i8",we),He.__str91=_([115,105,122,101,111,102,32,0],"i8",we),He.__str92=_([115,122,0],"i8",we),ri=_([0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,8,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],["*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0],we),He.__str95=_([98,111,111,108,101,97,110,0],"i8",we),He.__str97=_([98,121,116,101,0],"i8",we),He.__str101=_([95,95,102,108,111,97,116,49,50,56,0],"i8",we),He.__str105=_([117,110,115,105,103,110,101,100,0],"i8",we),He.__str114=_([108,111,110,103,32,108,111,110,103,0],"i8",we),He.__str115=_([117,110,115,105,103,110,101,100,32,108,111,110,103,32,108,111,110,103,0],"i8",we),ai=_([0,0,0,0,11,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,7,0,0,0,7,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0,0,0,6,0,0,0,8,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,11,0,0,0,8,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,5,0,0,0,8,0,0,0,0,0,0,0,10,0,0,0,0,0,0,0,10,0,0,0,8,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,1,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,8,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,3,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,13,0,0,0,4,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,4,0,0,0,9,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,9,0,0,0,0,0,0,0,4,0,0,0,5,0,0,0,0,0,0,0,18,0,0,0,0,0,0,0,18,0,0,0,6,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0],["*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0],we),He.__str117=_([95,71,76,79,66,65,76,95,0],"i8",we),He.__str118=_([103,108,111,98,97,108,32,99,111,110,115,116,114,117,99,116,111,114,115,32,107,101,121,101,100,32,116,111,32,0],"i8",we),He.__str119=_([103,108,111,98,97,108,32,100,101,115,116,114,117,99,116,111,114,115,32,107,101,121,101,100,32,116,111,32,0],"i8",we),He.__str120=_([58,58,0],"i8",we),He.__str121=_([118,116,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str122=_([86,84,84,32,102,111,114,32,0],"i8",we),He.__str123=_([99,111,110,115,116,114,117,99,116,105,111,110,32,118,116,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str124=_([45,105,110,45,0],"i8",we),He.__str125=_([116,121,112,101,105,110,102,111,32,102,111,114,32,0],"i8",we),He.__str126=_([116,121,112,101,105,110,102,111,32,110,97,109,101,32,102,111,114,32,0],"i8",we),He.__str127=_([116,121,112,101,105,110,102,111,32,102,110,32,102,111,114,32,0],"i8",we),He.__str128=_([110,111,110,45,118,105,114,116,117,97,108,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str129=_([118,105,114,116,117,97,108,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str130=_([99,111,118,97,114,105,97,110,116,32,114,101,116,117,114,110,32,116,104,117,110,107,32,116,111,32,0],"i8",we),He.__str131=_([106,97,118,97,32,67,108,97,115,115,32,102,111,114,32,0],"i8",we),He.__str132=_([103,117,97,114,100,32,118,97,114,105,97,98,108,101,32,102,111,114,32,0],"i8",we),He.__str133=_([114,101,102,101,114,101,110,99,101,32,116,101,109,112,111,114,97,114,121,32,102,111,114,32,0],"i8",we),He.__str134=_([104,105,100,100,101,110,32,97,108,105,97,115,32,102,111,114,32,0],"i8",we),He.__str135=_([58,58,42,0],"i8",we),He.__str136=_([44,32,0],"i8",we),He.__str137=_([111,112,101,114,97,116,111,114,0],"i8",we),He.__str139=_([41,32,0],"i8",we),He.__str140=_([32,40,0],"i8",we),He.__str141=_([41,32,58,32,40,0],"i8",we),He.__str142=_([117,108,0],"i8",we),He.__str143=_([108,108,0],"i8",we),He.__str144=_([117,108,108,0],"i8",we),He.__str145=_([102,97,108,115,101,0],"i8",we),He.__str146=_([116,114,117,101,0],"i8",we),He.__str147=_([32,114,101,115,116,114,105,99,116,0],"i8",we),He.__str148=_([32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str149=_([32,99,111,110,115,116,0],"i8",we),He.__str150=_([99,111,109,112,108,101,120,32,0],"i8",we),He.__str151=_([105,109,97,103,105,110,97,114,121,32,0],"i8",we),ei=_([116,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,3,0,0,0,0,0,0,0,0,0,0,0,97,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,14,0,0,0,0,0,0,0,9,0,0,0,98,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,12,0,0,0,115,0,0,0,0,0,0,0,11,0,0,0,0,0,0,0,70,0,0,0,0,0,0,0,12,0,0,0,105,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,13,0,0,0,111,0,0,0,0,0,0,0,12,0,0,0,0,0,0,0,49,0,0,0,0,0,0,0,13,0,0,0,100,0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,50,0,0,0,0,0,0,0,14,0,0,0],["i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"i8",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0],we),He.__str152=_([115,116,100,0],"i8",we),He.__str153=_([115,116,100,58,58,97,108,108,111,99,97,116,111,114,0],"i8",we),He.__str154=_([97,108,108,111,99,97,116,111,114,0],"i8",we),He.__str155=_([115,116,100,58,58,98,97,115,105,99,95,115,116,114,105,110,103,0],"i8",we),He.__str156=_([98,97,115,105,99,95,115,116,114,105,110,103,0],"i8",we),He.__str157=_([115,116,100,58,58,115,116,114,105,110,103,0],"i8",we),He.__str158=_([115,116,100,58,58,98,97,115,105,99,95,115,116,114,105,110,103,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,44,32,115,116,100,58,58,97,108,108,111,99,97,116,111,114,60,99,104,97,114,62,32,62,0],"i8",we),He.__str159=_([115,116,100,58,58,105,115,116,114,101,97,109,0],"i8",we),He.__str160=_([115,116,100,58,58,98,97,115,105,99,95,105,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str161=_([98,97,115,105,99,95,105,115,116,114,101,97,109,0],"i8",we),He.__str162=_([115,116,100,58,58,111,115,116,114,101,97,109,0],"i8",we),He.__str163=_([115,116,100,58,58,98,97,115,105,99,95,111,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str164=_([98,97,115,105,99,95,111,115,116,114,101,97,109,0],"i8",we),He.__str165=_([115,116,100,58,58,105,111,115,116,114,101,97,109,0],"i8",we),He.__str166=_([115,116,100,58,58,98,97,115,105,99,95,105,111,115,116,114,101,97,109,60,99,104,97,114,44,32,115,116,100,58,58,99,104,97,114,95,116,114,97,105,116,115,60,99,104,97,114,62,32,62,0],"i8",we),He.__str167=_([98,97,115,105,99,95,105,111,115,116,114,101,97,109,0],"i8",we),He.__str168=_([115,116,114,105,110,103,32,108,105,116,101,114,97,108,0],"i8",we),He.__str169=_([40,97,110,111,110,121,109,111,117,115,32,110,97,109,101,115,112,97,99,101,41,0],"i8",we),He._symbol_demangle_dashed_null=_([45,45,110,117,108,108,45,45,0],"i8",we),He.__str170=_([37,115,37,115,0],"i8",we),He.__str1171=_([111,112,101,114,97,116,111,114,32,110,101,119,0],"i8",we),He.__str2172=_([111,112,101,114,97,116,111,114,32,100,101,108,101,116,101,0],"i8",we),He.__str3173=_([111,112,101,114,97,116,111,114,61,0],"i8",we),He.__str4174=_([111,112,101,114,97,116,111,114,62,62,0],"i8",we),He.__str5175=_([111,112,101,114,97,116,111,114,60,60,0],"i8",we),He.__str6176=_([111,112,101,114,97,116,111,114,33,0],"i8",we),He.__str7177=_([111,112,101,114,97,116,111,114,61,61,0],"i8",we),He.__str8178=_([111,112,101,114,97,116,111,114,33,61,0],"i8",we),He.__str9179=_([111,112,101,114,97,116,111,114,91,93,0],"i8",we),He.__str10180=_([111,112,101,114,97,116,111,114,32,0],"i8",we),He.__str11181=_([111,112,101,114,97,116,111,114,45,62,0],"i8",we),He.__str12182=_([111,112,101,114,97,116,111,114,42,0],"i8",we),He.__str13183=_([111,112,101,114,97,116,111,114,43,43,0],"i8",we),He.__str14184=_([111,112,101,114,97,116,111,114,45,45,0],"i8",we),He.__str15185=_([111,112,101,114,97,116,111,114,45,0],"i8",we),He.__str16186=_([111,112,101,114,97,116,111,114,43,0],"i8",we),He.__str17187=_([111,112,101,114,97,116,111,114,38,0],"i8",we),He.__str18188=_([111,112,101,114,97,116,111,114,45,62,42,0],"i8",we),He.__str19189=_([111,112,101,114,97,116,111,114,47,0],"i8",we),He.__str20190=_([111,112,101,114,97,116,111,114,37,0],"i8",we),He.__str21191=_([111,112,101,114,97,116,111,114,60,0],"i8",we),He.__str22192=_([111,112,101,114,97,116,111,114,60,61,0],"i8",we),He.__str23193=_([111,112,101,114,97,116,111,114,62,0],"i8",we),He.__str24194=_([111,112,101,114,97,116,111,114,62,61,0],"i8",we),He.__str25195=_([111,112,101,114,97,116,111,114,44,0],"i8",we),He.__str26196=_([111,112,101,114,97,116,111,114,40,41,0],"i8",we),He.__str27197=_([111,112,101,114,97,116,111,114,126,0],"i8",we),He.__str28198=_([111,112,101,114,97,116,111,114,94,0],"i8",we),He.__str29199=_([111,112,101,114,97,116,111,114,124,0],"i8",we),He.__str30200=_([111,112,101,114,97,116,111,114,38,38,0],"i8",we),He.__str31201=_([111,112,101,114,97,116,111,114,124,124,0],"i8",we),He.__str32202=_([111,112,101,114,97,116,111,114,42,61,0],"i8",we),He.__str33203=_([111,112,101,114,97,116,111,114,43,61,0],"i8",we),He.__str34204=_([111,112,101,114,97,116,111,114,45,61,0],"i8",we),He.__str35205=_([111,112,101,114,97,116,111,114,47,61,0],"i8",we),He.__str36206=_([111,112,101,114,97,116,111,114,37,61,0],"i8",we),He.__str37207=_([111,112,101,114,97,116,111,114,62,62,61,0],"i8",we),He.__str38208=_([111,112,101,114,97,116,111,114,60,60,61,0],"i8",we),He.__str39209=_([111,112,101,114,97,116,111,114,38,61,0],"i8",we),He.__str40210=_([111,112,101,114,97,116,111,114,124,61,0],"i8",we),He.__str41211=_([111,112,101,114,97,116,111,114,94,61,0],"i8",we),He.__str42212=_([96,118,102,116,97,98,108,101,39,0],"i8",we),He.__str43213=_([96,118,98,116,97,98,108,101,39,0],"i8",we),He.__str44214=_([96,118,99,97,108,108,39,0],"i8",we),He.__str45215=_([96,116,121,112,101,111,102,39,0],"i8",we),He.__str46216=_([96,108,111,99,97,108,32,115,116,97,116,105,99,32,103,117,97,114,100,39,0],"i8",we),He.__str47217=_([96,115,116,114,105,110,103,39,0],"i8",we),He.__str48218=_([96,118,98,97,115,101,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str49219=_([96,118,101,99,116,111,114,32,100,101,108,101,116,105,110,103,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str50220=_([96,100,101,102,97,117,108,116,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str51221=_([96,115,99,97,108,97,114,32,100,101,108,101,116,105,110,103,32,100,101,115,116,114,117,99,116,111,114,39,0],"i8",we),He.__str52222=_([96,118,101,99,116,111,114,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str53223=_([96,118,101,99,116,111,114,32,100,101,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str54224=_([96,118,101,99,116,111,114,32,118,98,97,115,101,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str55225=_([96,118,105,114,116,117,97,108,32,100,105,115,112,108,97,99,101,109,101,110,116,32,109,97,112,39,0],"i8",we),He.__str56226=_([96,101,104,32,118,101,99,116,111,114,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str57227=_([96,101,104,32,118,101,99,116,111,114,32,100,101,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str58228=_([96,101,104,32,118,101,99,116,111,114,32,118,98,97,115,101,32,99,111,110,115,116,114,117,99,116,111,114,32,105,116,101,114,97,116,111,114,39,0],"i8",we),He.__str59229=_([96,99,111,112,121,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str60230=_([37,115,37,115,32,96,82,84,84,73,32,84,121,112,101,32,68,101,115,99,114,105,112,116,111,114,39,0],"i8",we),He.__str61231=_([96,82,84,84,73,32,66,97,115,101,32,67,108,97,115,115,32,68,101,115,99,114,105,112,116,111,114,32,97,116,32,40,37,115,44,37,115,44,37,115,44,37,115,41,39,0],"i8",we),He.__str62232=_([96,82,84,84,73,32,66,97,115,101,32,67,108,97,115,115,32,65,114,114,97,121,39,0],"i8",we),He.__str63233=_([96,82,84,84,73,32,67,108,97,115,115,32,72,105,101,114,97,114,99,104,121,32,68,101,115,99,114,105,112,116,111,114,39,0],"i8",we),He.__str64234=_([96,82,84,84,73,32,67,111,109,112,108,101,116,101,32,79,98,106,101,99,116,32,76,111,99,97,116,111,114,39,0],"i8",we),He.__str65235=_([96,108,111,99,97,108,32,118,102,116,97,98,108,101,39,0],"i8",we),He.__str66236=_([96,108,111,99,97,108,32,118,102,116,97,98,108,101,32,99,111,110,115,116,114,117,99,116,111,114,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str67237=_([111,112,101,114,97,116,111,114,32,110,101,119,91,93,0],"i8",we),He.__str68238=_([111,112,101,114,97,116,111,114,32,100,101,108,101,116,101,91,93,0],"i8",we),He.__str69239=_([96,112,108,97,99,101,109,101,110,116,32,100,101,108,101,116,101,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str70240=_([96,112,108,97,99,101,109,101,110,116,32,100,101,108,101,116,101,91,93,32,99,108,111,115,117,114,101,39,0],"i8",we),He.__str71241=_([126,37,115,0],"i8",we),He.__str72242=_([117,110,100,110,97,109,101,46,99,0],"i8",we),He.___func___symbol_demangle=_([115,121,109,98,111,108,95,100,101,109,97,110,103,108,101,0],"i8",we),He.__str73243=_([115,121,109,45,62,114,101,115,117,108,116,0],"i8",we),He.___func___handle_template=_([104,97,110,100,108,101,95,116,101,109,112,108,97,116,101,0],"i8",we),He.__str74244=_([42,115,121,109,45,62,99,117,114,114,101,110,116,32,61,61,32,39,36,39,0],"i8",we),He.___func___str_array_get_ref=_([115,116,114,95,97,114,114,97,121,95,103,101,116,95,114,101,102,0],"i8",we),He.__str75245=_([99,114,101,102,0],"i8",we),He.__str76246=_([112,114,105,118,97,116,101,58,32,0],"i8",we),He.__str77247=_([112,114,111,116,101,99,116,101,100,58,32,0],"i8",we),He.__str78248=_([112,117,98,108,105,99,58,32,0],"i8",we),He.__str79249=_([115,116,97,116,105,99,32,0],"i8",we),He.__str80250=_([118,105,114,116,117,97,108,32,0],"i8",we),He.__str81251=_([91,116,104,117,110,107,93,58,37,115,0],"i8",we),He.__str82252=_([37,115,96,97,100,106,117,115,116,111,114,123,37,115,125,39,32,0],"i8",we),He.__str83253=_([37,115,32,37,115,0],"i8",we),He.__str84254=_([118,111,105,100,0],"i8",we),He.__str85255=_([37,115,37,115,37,115,0],"i8",we),He.__str86256=_([37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,0],"i8",we),He.__str87257=_([32,0],"i8",we),He.__str88258=_([100,108,108,95,101,120,112,111,114,116,32,0],"i8",we),He.__str89259=_([99,100,101,99,108,0],"i8",we),He.__str90260=_([112,97,115,99,97,108,0],"i8",we),He.__str91261=_([116,104,105,115,99,97,108,108,0],"i8",we),He.__str92262=_([115,116,100,99,97,108,108,0],"i8",we),He.__str93263=_([102,97,115,116,99,97,108,108,0],"i8",we),He.__str94264=_([99,108,114,99,97,108,108,0],"i8",we),He.__str95265=_([95,95,100,108,108,95,101,120,112,111,114,116,32,0],"i8",we),He.__str96266=_([95,95,99,100,101,99,108,0],"i8",we),He.__str97267=_([95,95,112,97,115,99,97,108,0],"i8",we),He.__str98268=_([95,95,116,104,105,115,99,97,108,108,0],"i8",we),He.__str99269=_([95,95,115,116,100,99,97,108,108,0],"i8",we),He.__str100270=_([95,95,102,97,115,116,99,97,108,108,0],"i8",we),He.__str101271=_([95,95,99,108,114,99,97,108,108,0],"i8",we),He.__str102272=_([95,95,112,116,114,54,52,0],"i8",we),He.__str103273=_([99,111,110,115,116,0],"i8",we),He.__str104274=_([118,111,108,97,116,105,108,101,0],"i8",we),He.__str105275=_([99,111,110,115,116,32,118,111,108,97,116,105,108,101,0],"i8",we),He.___func___get_class_string=_([103,101,116,95,99,108,97,115,115,95,115,116,114,105,110,103,0],"i8",we),He.__str106276=_([97,45,62,101,108,116,115,91,105,93,0],"i8",we),He.__str107277=_([123,102,111,114,32,96,37,115,39,125,0],"i8",we),He.__str108278=_([37,115,37,115,37,115,37,115,37,115,37,115,37,115,37,115,0],"i8",we),He.__str109279=_([96,37,115,39,0],"i8",we),He.__str110280=_([46,46,46,0],"i8",we),He.__str111281=_([37,99,118,111,105,100,37,99,0],"i8",we),He.__str112282=_([37,115,44,37,115,0],"i8",we),He.__str113283=_([37,99,37,115,37,115,32,37,99,0],"i8",we),He.__str114284=_([37,99,37,115,37,115,37,99,0],"i8",we),He.___func___str_array_push=_([115,116,114,95,97,114,114,97,121,95,112,117,115,104,0],"i8",we),He.__str115285=_([112,116,114,0],"i8",we),He.__str116286=_([97,0],"i8",we),He.__str117287=_([97,45,62,101,108,116,115,91,97,45,62,110,117,109,93,0],"i8",we),He.__str118288=_([37,115,37,100,0],"i8",we),He.__str119289=_([45,0],"i8",we),ii=_(1,"i8",we),He.___func___demangle_datatype=_([100,101,109,97,110,103,108,101,95,100,97,116,97,116,121,112,101,0],"i8",we),He.__str121291=_([99,116,0],"i8",we),He.__str122292=_([117,110,105,111,110,32,0],"i8",we),He.__str123293=_([115,116,114,117,99,116,32,0],"i8",we),He.__str124294=_([99,108,97,115,115,32,0],"i8",we),He.__str125295=_([99,111,105,110,116,101,114,102,97,99,101,32,0],"i8",we),He.__str126296=_([96,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,45,37,115,39,0],"i8",we),He.__str127297=_([37,115,37,115,32,40,37,115,42,0],"i8",we),He.__str128298=_([41,37,115,0],"i8",we),He.__str129299=_([101,110,117,109,32,37,115,0],"i8",we),He.__str130300=_([96,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,37,115,39,0],"i8",we),He.__str131301=_([123,37,115,44,37,115,125,0],"i8",we),He.__str132302=_([123,37,115,44,37,115,44,37,115,125,0],"i8",we),He.__str133303=_([96,110,111,110,45,116,121,112,101,45,116,101,109,112,108,97,116,101,45,112,97,114,97,109,101,116,101,114,37,115,39,0],"i8",we),He.__str134304=_([32,95,95,112,116,114,54,52,0],"i8",we),He.__str135305=_([32,38,37,115,0],"i8",we),He.__str136306=_([32,38,37,115,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str137307=_([32,42,37,115,0],"i8",we),He.__str138308=_([32,42,37,115,32,99,111,110,115,116,0],"i8",we),He.__str139309=_([32,42,37,115,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str140310=_([32,42,37,115,32,99,111,110,115,116,32,118,111,108,97,116,105,108,101,0],"i8",we),He.__str141311=_([32,40,37,115,37,115,41,0],"i8",we),He.__str142312=_([32,40,37,115,41,0],"i8",we),He.__str143313=_([37,115,91,37,115,93,0],"i8",we),He.__str144314=_([37,115,32,37,115,37,115,0],"i8",we),He.__str145315=_([115,105,103,110,101,100,32,99,104,97,114,0],"i8",we),He.__str146316=_([99,104,97,114,0],"i8",we),He.__str147317=_([117,110,115,105,103,110,101,100,32,99,104,97,114,0],"i8",we),He.__str148318=_([115,104,111,114,116,0],"i8",we),He.__str149319=_([117,110,115,105,103,110,101,100,32,115,104,111,114,116,0],"i8",we),He.__str150320=_([105,110,116,0],"i8",we),He.__str151321=_([117,110,115,105,103,110,101,100,32,105,110,116,0],"i8",we),He.__str152322=_([108,111,110,103,0],"i8",we),He.__str153323=_([117,110,115,105,103,110,101,100,32,108,111,110,103,0],"i8",we),He.__str154324=_([102,108,111,97,116,0],"i8",we),He.__str155325=_([100,111,117,98,108,101,0],"i8",we),He.__str156326=_([108,111,110,103,32,100,111,117,98,108,101,0],"i8",we),He.__str157327=_([95,95,105,110,116,56,0],"i8",we),He.__str158328=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,56,0],"i8",we),He.__str159329=_([95,95,105,110,116,49,54,0],"i8",we),He.__str160330=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,49,54,0],"i8",we),He.__str161331=_([95,95,105,110,116,51,50,0],"i8",we),He.__str162332=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,51,50,0],"i8",we),He.__str163333=_([95,95,105,110,116,54,52,0],"i8",we),He.__str164334=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,54,52,0],"i8",we),\\nHe.__str165335=_([95,95,105,110,116,49,50,56,0],"i8",we),He.__str166336=_([117,110,115,105,103,110,101,100,32,95,95,105,110,116,49,50,56,0],"i8",we),He.__str167337=_([98,111,111,108,0],"i8",we),He.__str168338=_([119,99,104,97,114,95,116,0],"i8",we),vi=_(468,["i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"i32",0,0,0,"i32",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0,"*",0,0,0,"i32",0,0,0],we),ti=_(24,"i32",we),He.__str339=_([109,97,120,32,115,121,115,116,101,109,32,98,121,116,101,115,32,61,32,37,49,48,108,117,10,0],"i8",we),He.__str1340=_([115,121,115,116,101,109,32,98,121,116,101,115,32,32,32,32,32,61,32,37,49,48,108,117,10,0],"i8",we),He.__str2341=_([105,110,32,117,115,101,32,98,121,116,101,115,32,32,32,32,32,61,32,37,49,48,108,117,10,0],"i8",we),fi=_([ue],"i8",we),_i=_(1,"void ()*",we),si=_([0,0,0,0,0,0,0,0,6,0,0,0,8,0,0,0,10,0,0,0],["*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0],we),_(1,"void*",we),He.__str3342=_([115,116,100,58,58,98,97,100,95,97,108,108,111,99,0],"i8",we),ni=_([0,0,0,0,0,0,0,0,6,0,0,0,12,0,0,0,14,0,0,0],["*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0,"*",0,0,0],we),_(1,"void*",we),He.__str14343=_([98,97,100,95,97,114,114,97,121,95,110,101,119,95,108,101,110,103,116,104,0],"i8",we),He.__ZTSSt9bad_alloc=_([83,116,57,98,97,100,95,97,108,108,111,99,0],"i8",we),bi=_(12,"*",we),He.__ZTSSt20bad_array_new_length=_([83,116,50,48,98,97,100,95,97,114,114,97,121,95,110,101,119,95,108,101,110,103,116,104,0],"i8",we),ki=_(12,"*",we),Se[ri>>2]=0|He.__str,Se[ri+4>>2]=0|He.__str1,Se[ri+16>>2]=0|He.__str2,Se[ri+20>>2]=0|He.__str3,Se[ri+32>>2]=0|He.__str4,Se[ri+36>>2]=0|He.__str5,Se[ri+48>>2]=0|He.__str6,Se[ri+52>>2]=0|He.__str7,Se[ri+64>>2]=0|He.__str8,Se[ri+68>>2]=0|He.__str7,Se[ri+80>>2]=0|He.__str9,Se[ri+84>>2]=0|He.__str10,Se[ri+96>>2]=0|He.__str11,Se[ri+100>>2]=0|He.__str12,Se[ri+112>>2]=0|He.__str13,Se[ri+116>>2]=0|He.__str14,Se[ri+128>>2]=0|He.__str15,Se[ri+132>>2]=0|He.__str16,Se[ri+144>>2]=0|He.__str17,Se[ri+148>>2]=0|He.__str18,Se[ri+160>>2]=0|He.__str19,Se[ri+164>>2]=0|He.__str20,Se[ri+176>>2]=0|He.__str21,Se[ri+180>>2]=0|He.__str22,Se[ri+192>>2]=0|He.__str23,Se[ri+196>>2]=0|He.__str24,Se[ri+208>>2]=0|He.__str25,Se[ri+212>>2]=0|He.__str26,Se[ri+224>>2]=0|He.__str27,Se[ri+228>>2]=0|He.__str28,Se[ri+240>>2]=0|He.__str29,Se[ri+244>>2]=0|He.__str30,Se[ri+256>>2]=0|He.__str31,Se[ri+260>>2]=0|He.__str32,Se[ri+272>>2]=0|He.__str33,Se[ri+276>>2]=0|He.__str34,Se[ri+288>>2]=0|He.__str35,Se[ri+292>>2]=0|He.__str36,Se[ri+304>>2]=0|He.__str37,Se[ri+308>>2]=0|He.__str38,Se[ri+320>>2]=0|He.__str39,Se[ri+324>>2]=0|He.__str40,Se[ri+336>>2]=0|He.__str41,Se[ri+340>>2]=0|He.__str42,Se[ri+352>>2]=0|He.__str43,Se[ri+356>>2]=0|He.__str44,Se[ri+368>>2]=0|He.__str45,Se[ri+372>>2]=0|He.__str46,Se[ri+384>>2]=0|He.__str47,Se[ri+388>>2]=0|He.__str48,Se[ri+400>>2]=0|He.__str49,Se[ri+404>>2]=0|He.__str119289,Se[ri+416>>2]=0|He.__str51,Se[ri+420>>2]=0|He.__str20,Se[ri+432>>2]=0|He.__str52,Se[ri+436>>2]=0|He.__str53,Se[ri+448>>2]=0|He.__str54,Se[ri+452>>2]=0|He.__str55,Se[ri+464>>2]=0|He.__str56,Se[ri+468>>2]=0|He.__str57,Se[ri+480>>2]=0|He.__str58,Se[ri+484>>2]=0|He.__str119289,Se[ri+496>>2]=0|He.__str59,Se[ri+500>>2]=0|He.__str60,Se[ri+512>>2]=0|He.__str61,Se[ri+516>>2]=0|He.__str62,Se[ri+528>>2]=0|He.__str63,Se[ri+532>>2]=0|He.__str64,Se[ri+544>>2]=0|He.__str65,Se[ri+548>>2]=0|He.__str66,Se[ri+560>>2]=0|He.__str67,Se[ri+564>>2]=0|He.__str68,Se[ri+576>>2]=0|He.__str69,Se[ri+580>>2]=0|He.__str70,Se[ri+592>>2]=0|He.__str71,Se[ri+596>>2]=0|He.__str72,Se[ri+608>>2]=0|He.__str73,Se[ri+612>>2]=0|He.__str74,Se[ri+624>>2]=0|He.__str75,Se[ri+628>>2]=0|He.__str76,Se[ri+640>>2]=0|He.__str77,Se[ri+644>>2]=0|He.__str72,Se[ri+656>>2]=0|He.__str78,Se[ri+660>>2]=0|He.__str79,Se[ri+672>>2]=0|He.__str80,Se[ri+676>>2]=0|He.__str81,Se[ri+688>>2]=0|He.__str82,Se[ri+692>>2]=0|He.__str83,Se[ri+704>>2]=0|He.__str84,Se[ri+708>>2]=0|He.__str85,Se[ri+720>>2]=0|He.__str86,Se[ri+724>>2]=0|He.__str87,Se[ri+736>>2]=0|He.__str88,Se[ri+740>>2]=0|He.__str89,Se[ri+752>>2]=0|He.__str90,Se[ri+756>>2]=0|He.__str91,Se[ri+768>>2]=0|He.__str92,Se[ri+772>>2]=0|He.__str91,Se[ai>>2]=0|He.__str145315,Se[ai+8>>2]=0|He.__str145315,Se[ai+20>>2]=0|He.__str167337,Se[ai+28>>2]=0|He.__str95,Se[ai+40>>2]=0|He.__str146316,Se[ai+48>>2]=0|He.__str97,Se[ai+60>>2]=0|He.__str155325,Se[ai+68>>2]=0|He.__str155325,Se[ai+80>>2]=0|He.__str156326,Se[ai+88>>2]=0|He.__str156326,Se[ai+100>>2]=0|He.__str154324,Se[ai+108>>2]=0|He.__str154324,Se[ai+120>>2]=0|He.__str101,Se[ai+128>>2]=0|He.__str101,Se[ai+140>>2]=0|He.__str147317,Se[ai+148>>2]=0|He.__str147317,Se[ai+160>>2]=0|He.__str150320,Se[ai+168>>2]=0|He.__str150320,Se[ai+180>>2]=0|He.__str151321,Se[ai+188>>2]=0|He.__str105,Se[ai+220>>2]=0|He.__str152322,Se[ai+228>>2]=0|He.__str152322,Se[ai+240>>2]=0|He.__str153323,Se[ai+248>>2]=0|He.__str153323,Se[ai+260>>2]=0|He.__str165335,Se[ai+268>>2]=0|He.__str165335,Se[ai+280>>2]=0|He.__str166336,Se[ai+288>>2]=0|He.__str166336,Se[ai+360>>2]=0|He.__str148318,Se[ai+368>>2]=0|He.__str148318,Se[ai+380>>2]=0|He.__str149319,Se[ai+388>>2]=0|He.__str149319,Se[ai+420>>2]=0|He.__str84254,Se[ai+428>>2]=0|He.__str84254,Se[ai+440>>2]=0|He.__str168338,Se[ai+448>>2]=0|He.__str146316,Se[ai+460>>2]=0|He.__str114,Se[ai+468>>2]=0|He.__str152322,Se[ai+480>>2]=0|He.__str115,Se[ai+488>>2]=0|He.__str115,Se[ai+500>>2]=0|He.__str110280,Se[ai+508>>2]=0|He.__str110280,Se[ei+4>>2]=0|He.__str152,Se[ei+12>>2]=0|He.__str152,Se[ei+32>>2]=0|He.__str153,Se[ei+40>>2]=0|He.__str153,Se[ei+48>>2]=0|He.__str154,Se[ei+60>>2]=0|He.__str155,Se[ei+68>>2]=0|He.__str155,Se[ei+76>>2]=0|He.__str156,Se[ei+88>>2]=0|He.__str157,Se[ei+96>>2]=0|He.__str158,Se[ei+104>>2]=0|He.__str156,Se[ei+116>>2]=0|He.__str159,Se[ei+124>>2]=0|He.__str160,Se[ei+132>>2]=0|He.__str161,Se[ei+144>>2]=0|He.__str162,Se[ei+152>>2]=0|He.__str163,Se[ei+160>>2]=0|He.__str164,Se[ei+172>>2]=0|He.__str165,Se[ei+180>>2]=0|He.__str166,Se[ei+188>>2]=0|He.__str167,Se[si+4>>2]=bi,Se[ni+4>>2]=ki,oi=_([2,0,0,0,0],["i8*",0,0,0,0],we),Se[bi>>2]=oi+8|0,Se[bi+4>>2]=0|He.__ZTSSt9bad_alloc,Se[bi+8>>2]=li,Se[ki>>2]=oi+8|0,Se[ki+4>>2]=0|He.__ZTSSt20bad_array_new_length,Se[ki+8>>2]=bi,ui=16,ci=6,hi=18,di=6,wi=6,pe=[0,0,Jr,0,va,0,ya,0,ga,0,wa,0,Sa,0,pa,0,Ea,0,ma,0],Module.FUNCTION_TABLE=pe,Module.run=ee,Module.preRun&&Module.preRun(),0==Ke){ee()}Module.postRun&&Module.postRun(),Module.___cxa_demangle=G;var pi=v("__cxa_demangle","string",["string","string","number","number"]);return function(r){return pi(r,"",1,0)}}();\\n\'},121:(e,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Flamechart=void 0;const t=a(844),i=a(293);r.Flamechart=class{constructor(e){this.source=e,this.layers=[],this.totalWeight=0,this.minFrameWidth=1;const r=[];this.minFrameWidth=1/0,this.totalWeight=e.getTotalWeight(),e.forEachCall(((e,a)=>{const i=t.lastOf(r),n={node:e,parent:i,children:[],start:a,end:a};i&&i.children.push(n),r.push(n)}),((e,a)=>{console.assert(r.length>0);const t=r.pop();if(t.end=a,t.end-t.start==0)return;const i=r.length;for(;this.layers.length<=i;)this.layers.push([]);this.layers[i].push(t),this.minFrameWidth=Math.min(this.minFrameWidth,t.end-t.start)})),isFinite(this.minFrameWidth)||(this.minFrameWidth=1)}getTotalWeight(){return this.totalWeight}getLayers(){return this.layers}getColorBucketForFrame(e){return this.source.getColorBucketForFrame(e)}getMinFrameWidth(){return this.minFrameWidth}formatValue(e){return this.source.formatValue(e)}getClampedViewportWidth(e){const r=this.getTotalWeight(),a=Math.pow(2,40),t=i.clamp(3*this.getMinFrameWidth(),r/a,r);return i.clamp(e,t,r)}getClampedConfigSpaceViewportRect({configSpaceViewportRect:e,renderInverted:r}){const a=new i.Vec2(this.getTotalWeight(),this.getLayers().length),t=this.getClampedViewportWidth(e.size.x),n=e.size.withX(t),s=i.Vec2.clamp(e.origin,new i.Vec2(0,r?0:-1),i.Vec2.max(i.Vec2.zero,a.minus(n).plus(new i.Vec2(0,1))));return new i.Rect(s,e.size.withX(t))}}},293:(e,r)=>{"use strict";function a(e,r,a){return e<r?r:e>a?a:e}Object.defineProperty(r,"__esModule",{value:!0}),r.Rect=r.AffineTransform=r.Vec2=r.clamp=void 0,r.clamp=a;let t=(()=>{class e{constructor(e,r){this.x=e,this.y=r}withX(r){return new e(r,this.y)}withY(r){return new e(this.x,r)}plus(r){return new e(this.x+r.x,this.y+r.y)}minus(r){return new e(this.x-r.x,this.y-r.y)}times(r){return new e(this.x*r,this.y*r)}timesPointwise(r){return new e(this.x*r.x,this.y*r.y)}dividedByPointwise(r){return new e(this.x/r.x,this.y/r.y)}dot(e){return this.x*e.x+this.y*e.y}equals(e){return this.x===e.x&&this.y===e.y}approxEquals(e,r=1e-9){return Math.abs(this.x-e.x)<r&&Math.abs(this.y-e.y)<r}length2(){return this.dot(this)}length(){return Math.sqrt(this.length2())}abs(){return new e(Math.abs(this.x),Math.abs(this.y))}static min(r,a){return new e(Math.min(r.x,a.x),Math.min(r.y,a.y))}static max(r,a){return new e(Math.max(r.x,a.x),Math.max(r.y,a.y))}static clamp(r,t,i){return new e(a(r.x,t.x,i.x),a(r.y,t.y,i.y))}flatten(){return[this.x,this.y]}}return e.zero=new e(0,0),e.unit=new e(1,1),e})();r.Vec2=t;class i{constructor(e=1,r=0,a=0,t=0,i=1,n=0){this.m00=e,this.m01=r,this.m02=a,this.m10=t,this.m11=i,this.m12=n}withScale(e){let{m00:r,m01:a,m02:t,m10:n,m11:s,m12:v}=this;return r=e.x,s=e.y,new i(r,a,t,n,s,v)}static withScale(e){return(new i).withScale(e)}scaledBy(e){return i.withScale(e).times(this)}getScale(){return new t(this.m00,this.m11)}withTranslation(e){let{m00:r,m01:a,m02:t,m10:n,m11:s,m12:v}=this;return t=e.x,v=e.y,new i(r,a,t,n,s,v)}static withTranslation(e){return(new i).withTranslation(e)}getTranslation(){return new t(this.m02,this.m12)}translatedBy(e){return i.withTranslation(e).times(this)}static betweenRects(e,r){return i.withTranslation(e.origin.times(-1)).scaledBy(new t(r.size.x/e.size.x,r.size.y/e.size.y)).translatedBy(r.origin)}times(e){const r=this.m00*e.m00+this.m01*e.m10,a=this.m00*e.m01+this.m01*e.m11,t=this.m00*e.m02+this.m01*e.m12+this.m02,n=this.m10*e.m00+this.m11*e.m10,s=this.m10*e.m01+this.m11*e.m11,v=this.m10*e.m02+this.m11*e.m12+this.m12;return new i(r,a,t,n,s,v)}equals(e){return this.m00==e.m00&&this.m01==e.m01&&this.m02==e.m02&&this.m10==e.m10&&this.m11==e.m11&&this.m12==e.m12}approxEquals(e,r=1e-9){return Math.abs(this.m00-e.m00)<r&&Math.abs(this.m01-e.m01)<r&&Math.abs(this.m02-e.m02)<r&&Math.abs(this.m10-e.m10)<r&&Math.abs(this.m11-e.m11)<r&&Math.abs(this.m12-e.m12)<r}timesScalar(e){const{m00:r,m01:a,m02:t,m10:n,m11:s,m12:v}=this;return new i(e*r,e*a,e*t,e*n,e*s,e*v)}det(){const{m00:e,m01:r,m02:a,m10:t,m11:i,m12:n}=this;return e*(1*i-0*n)-r*(1*t-0*n)+a*(0*t-0*i)}adj(){const{m00:e,m01:r,m02:a,m10:t,m11:n,m12:s}=this;return new i(+(1*n-0*s),-(1*r-0*a),+(r*s-a*n),-(1*t-0*s),+(1*e-0*a),-(e*s-a*t))}inverted(){const e=this.det();return 0===e?null:this.adj().timesScalar(1/e)}transformVector(e){return new t(e.x*this.m00+e.y*this.m01,e.x*this.m10+e.y*this.m11)}inverseTransformVector(e){const r=this.inverted();return r?r.transformVector(e):null}transformPosition(e){return new t(e.x*this.m00+e.y*this.m01+this.m02,e.x*this.m10+e.y*this.m11+this.m12)}inverseTransformPosition(e){const r=this.inverted();return r?r.transformPosition(e):null}transformRect(e){const r=this.transformVector(e.size),a=this.transformPosition(e.origin);return r.x<0&&r.y<0?new n(a.plus(r),r.abs()):r.x<0?new n(a.withX(a.x+r.x),r.abs()):r.y<0?new n(a.withY(a.y+r.y),r.abs()):new n(a,r)}inverseTransformRect(e){const r=this.inverted();return r?r.transformRect(e):null}flatten(){return[this.m00,this.m10,0,this.m01,this.m11,0,this.m02,this.m12,1]}}r.AffineTransform=i;let n=(()=>{class e{constructor(e,r){this.origin=e,this.size=r}isEmpty(){return 0==this.width()||0==this.height()}width(){return this.size.x}height(){return this.size.y}left(){return this.origin.x}right(){return this.left()+this.width()}top(){return this.origin.y}bottom(){return this.top()+this.height()}topLeft(){return this.origin}topRight(){return this.origin.plus(new t(this.width(),0))}bottomRight(){return this.origin.plus(this.size)}bottomLeft(){return this.origin.plus(new t(0,this.height()))}withOrigin(r){return new e(r,this.size)}withSize(r){return new e(this.origin,r)}closestPointTo(e){return new t(a(e.x,this.left(),this.right()),a(e.y,this.top(),this.bottom()))}distanceFrom(e){return e.minus(this.closestPointTo(e)).length()}contains(e){return 0===this.distanceFrom(e)}hasIntersectionWith(e){const r=Math.max(this.top(),e.top());if(Math.max(r,Math.min(this.bottom(),e.bottom()))-r==0)return!1;const a=Math.max(this.left(),e.left());return Math.max(a,Math.min(this.right(),e.right()))-a!=0}intersectWith(r){const a=t.max(this.topLeft(),r.topLeft()),i=t.max(a,t.min(this.bottomRight(),r.bottomRight()));return new e(a,i.minus(a))}equals(e){return this.origin.equals(e.origin)&&this.size.equals(e.size)}approxEquals(e){return this.origin.approxEquals(e.origin)&&this.size.approxEquals(e.size)}area(){return this.size.x*this.size.y}}return e.empty=new e(t.zero,t.zero),e.unit=new e(t.zero,t.unit),e.NDC=new e(new t(-1,-1),new t(2,2)),e})();r.Rect=n},211:function(e,r,a){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,a,t){void 0===t&&(t=a),Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[a]}})}:function(e,r,a,t){void 0===t&&(t=a),e[t]=r[a]}),i=this&&this.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(null!=e)for(var a in e)Object.hasOwnProperty.call(e,a)&&t(r,e,a);return i(r,e),r},s=this&&this.__awaiter||function(e,r,a,t){return new(a||(a=Promise))((function(i,n){function s(e){try{o(t.next(e))}catch(e){n(e)}}function v(e){try{o(t.throw(e))}catch(e){n(e)}}function o(e){var r;e.done?i(e.value):(r=e.value,r instanceof a?r:new a((function(e){e(r)}))).then(s,v)}o((t=t.apply(e,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:!0}),r.CallTreeProfileBuilder=r.StackListProfileBuilder=r.Profile=r.CallTreeNode=r.Frame=r.HasWeights=void 0;const v=a(844),o=a(218),f=Promise.resolve().then((()=>n(a(765))));f.then((()=>{}));class l{constructor(){this.selfWeight=0,this.totalWeight=0}getSelfWeight(){return this.selfWeight}getTotalWeight(){return this.totalWeight}addToTotalWeight(e){this.totalWeight+=e}addToSelfWeight(e){this.selfWeight+=e}overwriteWeightWith(e){this.selfWeight=e.selfWeight,this.totalWeight=e.totalWeight}}r.HasWeights=l;let _=(()=>{class e extends l{constructor(e){super(),this.key=e.key,this.name=e.name,this.file=e.file,this.line=e.line,this.col=e.col}static getOrInsert(r,a){return r.getOrInsert(new e(a))}}return e.root=new e({key:"(speedscope root)",name:"(speedscope root)"}),e})();r.Frame=_;class S extends l{constructor(e,r){super(),this.frame=e,this.parent=r,this.children=[],this.frozen=!1}isRoot(){return this.frame===_.root}isFrozen(){return this.frozen}freeze(){this.frozen=!0}}r.CallTreeNode=S;class u{constructor(e=0){this.name="",this.frames=new v.KeyedSet,this.appendOrderCalltreeRoot=new S(_.root,null),this.groupedCalltreeRoot=new S(_.root,null),this.samples=[],this.weights=[],this.valueFormatter=new o.RawValueFormatter,this.totalNonIdleWeight=null,this.totalWeight=e}getAppendOrderCalltreeRoot(){return this.appendOrderCalltreeRoot}getGroupedCalltreeRoot(){return this.groupedCalltreeRoot}formatValue(e){return this.valueFormatter.format(e)}setValueFormatter(e){this.valueFormatter=e}getWeightUnit(){return this.valueFormatter.unit}getName(){return this.name}setName(e){this.name=e}getTotalWeight(){return this.totalWeight}getTotalNonIdleWeight(){return null===this.totalNonIdleWeight&&(this.totalNonIdleWeight=this.groupedCalltreeRoot.children.reduce(((e,r)=>e+r.getTotalWeight()),0)),this.totalNonIdleWeight}sortGroupedCallTree(){!function e(r){r.children.sort(((e,r)=>-(e.getTotalWeight()-r.getTotalWeight()))),r.children.forEach(e)}(this.groupedCalltreeRoot)}forEachCallGrouped(e,r){!function a(t,i){t.frame!==_.root&&e(t,i);let n=0;t.children.forEach((function(e){a(e,i+n),n+=e.getTotalWeight()})),t.frame!==_.root&&r(t,i+t.getTotalWeight())}(this.groupedCalltreeRoot,0)}forEachCall(e,r){let a=[],t=0,i=0;for(let n of this.samples){let s=null;for(s=n;s&&s.frame!=_.root&&-1===a.indexOf(s);s=s.parent);for(;a.length>0&&v.lastOf(a)!=s;)r(a.pop(),t);const o=[];for(let e=n;e&&e.frame!=_.root&&e!=s;e=e.parent)o.push(e);o.reverse();for(let r of o)e(r,t);a=a.concat(o),t+=this.weights[i++]}for(let e=a.length-1;e>=0;e--)r(a[e],t)}forEachFrame(e){this.frames.forEach(e)}getProfileWithRecursionFlattened(){const e=new h,r=[],a=new Set;this.forEachCall((function(t,i){a.has(t.frame)?r.push(null):(a.add(t.frame),r.push(t),e.enterFrame(t.frame,i))}),(function(t,i){const n=r.pop();n&&(a.delete(n.frame),e.leaveFrame(n.frame,i))}));const t=e.build();return t.name=this.name,t.valueFormatter=this.valueFormatter,this.forEachFrame((e=>{t.frames.getOrInsert(e).overwriteWeightWith(e)})),t}getInvertedProfileForCallersOf(e){const r=_.getOrInsert(this.frames,e),a=new c,t=[];!function e(a){if(a.frame===r)t.push(a);else for(let r of a.children)e(r)}(this.appendOrderCalltreeRoot);for(let e of t){const r=[];for(let a=e;null!=a&&a.frame!==_.root;a=a.parent)r.push(a.frame);a.appendSampleWithWeight(r,e.getTotalWeight())}const i=a.build();return i.name=this.name,i.valueFormatter=this.valueFormatter,i}getProfileForCalleesOf(e){const r=_.getOrInsert(this.frames,e),a=new c;!function e(t){if(t.frame===r)!function(e){const r=[];!function e(t){r.push(t.frame),a.appendSampleWithWeight(r,t.getSelfWeight());for(let r of t.children)e(r);r.pop()}(e)}(t);else for(let r of t.children)e(r)}(this.appendOrderCalltreeRoot);const t=a.build();return t.name=this.name,t.valueFormatter=this.valueFormatter,t}demangle(){return s(this,void 0,void 0,(function*(){let e=null;for(let r of this.frames)r.name.startsWith("__Z")&&(e||(e=(yield f).demangleCpp),r.name=e(r.name))}))}remapNames(e){for(let r of this.frames)r.name=e(r.name)}}r.Profile=u;class c extends u{constructor(){super(...arguments),this.pendingSample=null}_appendSample(e,r,a){if(isNaN(r))throw new Error("invalid weight");let t=a?this.appendOrderCalltreeRoot:this.groupedCalltreeRoot,i=new Set;for(let n of e){const e=_.getOrInsert(this.frames,n),s=a?v.lastOf(t.children):t.children.find((r=>r.frame===e));if(s&&!s.isFrozen()&&s.frame==e)t=s;else{const r=t;t=new S(e,t),r.children.push(t)}t.addToTotalWeight(r),i.add(t.frame)}if(t.addToSelfWeight(r),a)for(let e of t.children)e.freeze();if(a){t.frame.addToSelfWeight(r);for(let e of i)e.addToTotalWeight(r);t===v.lastOf(this.samples)?this.weights[this.weights.length-1]+=r:(this.samples.push(t),this.weights.push(r))}}appendSampleWithWeight(e,r){if(0!==r){if(r<0)throw new Error("Samples must have positive weights");this._appendSample(e,r,!0),this._appendSample(e,r,!1)}}appendSampleWithTimestamp(e,r){if(this.pendingSample){if(r<this.pendingSample.centralTimestamp)throw new Error("Timestamps received out of order");const a=(r+this.pendingSample.centralTimestamp)/2;this.appendSampleWithWeight(this.pendingSample.stack,a-this.pendingSample.startTimestamp),this.pendingSample={stack:e,startTimestamp:a,centralTimestamp:r}}else this.pendingSample={stack:e,startTimestamp:r,centralTimestamp:r}}build(){return this.pendingSample&&(this.samples.length>0?this.appendSampleWithWeight(this.pendingSample.stack,this.pendingSample.centralTimestamp-this.pendingSample.startTimestamp):(this.appendSampleWithWeight(this.pendingSample.stack,1),this.setValueFormatter(new o.RawValueFormatter))),this.totalWeight=Math.max(this.totalWeight,this.weights.reduce(((e,r)=>e+r),0)),this.sortGroupedCallTree(),this}}r.StackListProfileBuilder=c;class h extends u{constructor(){super(...arguments),this.appendOrderStack=[this.appendOrderCalltreeRoot],this.groupedOrderStack=[this.groupedCalltreeRoot],this.framesInStack=new Map,this.stack=[],this.lastValue=0}addWeightsToFrames(e){const r=e-this.lastValue;for(let e of this.framesInStack.keys())e.addToTotalWeight(r);const a=v.lastOf(this.stack);a&&a.addToSelfWeight(r)}addWeightsToNodes(e,r){const a=e-this.lastValue;for(let e of r)e.addToTotalWeight(a);const t=v.lastOf(r);t&&t.addToSelfWeight(a)}_enterFrame(e,r,a){let t=a?this.appendOrderStack:this.groupedOrderStack;this.addWeightsToNodes(r,t);let i=v.lastOf(t);if(i){if(a){const e=r-this.lastValue;if(e>0)this.samples.push(i),this.weights.push(r-this.lastValue);else if(e<0)throw new Error(`Samples must be provided in increasing order of cumulative value. Last sample was ${this.lastValue}, this sample was ${r}`)}const n=a?v.lastOf(i.children):i.children.find((r=>r.frame===e));let s;n&&!n.isFrozen()&&n.frame==e?s=n:(s=new S(e,i),i.children.push(s)),t.push(s)}}enterFrame(e,r){const a=_.getOrInsert(this.frames,e);this.addWeightsToFrames(r),this._enterFrame(a,r,!0),this._enterFrame(a,r,!1),this.stack.push(a);const t=this.framesInStack.get(a)||0;this.framesInStack.set(a,t+1),this.lastValue=r}_leaveFrame(e,r,a){let t=a?this.appendOrderStack:this.groupedOrderStack;if(this.addWeightsToNodes(r,t),a){const a=this.appendOrderStack.pop();if(null==a)throw new Error(`Trying to leave ${e.key} when stack is empty`);if(null==this.lastValue)throw new Error(`Trying to leave a ${e.key} before any have been entered`);if(a.freeze(),a.frame.key!==e.key)throw new Error(`Tried to leave frame "${e.name}" while frame "${a.frame.name}" was at the top at ${r}`);const t=r-this.lastValue;if(t>0)this.samples.push(a),this.weights.push(r-this.lastValue);else if(t<0)throw new Error(`Samples must be provided in increasing order of cumulative value. Last sample was ${this.lastValue}, this sample was ${r}`)}else this.groupedOrderStack.pop()}leaveFrame(e,r){const a=_.getOrInsert(this.frames,e);this.addWeightsToFrames(r),this._leaveFrame(a,r,!0),this._leaveFrame(a,r,!1),this.stack.pop();const t=this.framesInStack.get(a);null!=t&&(1===t?this.framesInStack.delete(a):this.framesInStack.set(a,t-1),this.lastValue=r,this.totalWeight=Math.max(this.totalWeight,this.lastValue))}build(){if(this.appendOrderStack.length>1||this.groupedOrderStack.length>1)throw new Error("Tried to complete profile construction with a non-empty stack");return this.sortGroupedCallTree(),this}}r.CallTreeProfileBuilder=h},844:(e,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.decodeBase64=r.lazyStatic=r.memoizeByReference=r.memoizeByShallowEquality=r.objectsHaveShallowEquality=r.noop=r.binarySearch=r.triangle=r.fract=r.formatPercent=r.zeroPad=r.itReduce=r.itForEach=r.itMap=r.KeyedSet=r.getOrThrow=r.getOrElse=r.getOrInsert=r.sortBy=r.lastOf=void 0,r.lastOf=function(e){return e[e.length-1]||null},r.sortBy=function(e,r){e.sort((function(e,a){const t=r(e),i=r(a);return t<i?-1:t>i?1:0}))},r.getOrInsert=function(e,r,a){return e.has(r)||e.set(r,a(r)),e.get(r)},r.getOrElse=function(e,r,a){return e.has(r)?e.get(r):a(r)},r.getOrThrow=function(e,r){if(!e.has(r))throw new Error(`Expected key ${r}`);return e.get(r)};class a{constructor(){this.map=new Map}getOrInsert(e){const r=e.key;return this.map.get(r)||(this.map.set(r,e),e)}forEach(e){this.map.forEach(e)}[Symbol.iterator](){return this.map.values()}}function t(e){return e-Math.floor(e)}function i(e,r){for(let a in e)if(e[a]!==r[a])return!1;for(let a in r)if(e[a]!==r[a])return!1;return!0}function n(e){let r=null;return()=>(null==r&&(r={result:e()}),r.result)}r.KeyedSet=a,r.itMap=function*(e,r){for(let a of e)yield r(a)},r.itForEach=function(e,r){for(let a of e)r(a)},r.itReduce=function(e,r,a){let t=a;for(let a of e)t=r(t,a);return t},r.zeroPad=function(e,r){return new Array(Math.max(r-e.length,0)+1).join("0")+e},r.formatPercent=function(e){let r=`${e.toFixed(0)}%`;return 100===e?r="100%":e>99?r=">99%":e<.01?r="<0.01%":e<1?r=`${e.toFixed(2)}%`:e<10&&(r=`${e.toFixed(1)}%`),r},r.fract=t,r.triangle=function(e){return 2*Math.abs(t(e)-.5)-1},r.binarySearch=function(e,r,a,t,i=1){for(console.assert(!isNaN(i)&&!isNaN(t));;){if(r-e<=i)return[e,r];const n=(r+e)/2;a(n)<t?e=n:r=n}},r.noop=function(...e){},r.objectsHaveShallowEquality=i,r.memoizeByShallowEquality=function(e){let r=null;return a=>{let t;return null==r?(t=e(a),r={args:a,result:t},t):(i(r.args,a)||(r.args=a,r.result=e(a)),r.result)}},r.memoizeByReference=function(e){let r=null;return a=>{let t;return null==r?(t=e(a),r={args:a,result:t},t):(r.args===a||(r.args=a,r.result=e(a)),r.result)}},r.lazyStatic=n;const s=n((()=>{const e=new Map;for(let r=0;r<64;r++)e.set("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(r),r);return e.set("=",-1),e}));r.decodeBase64=function(e){const r=s();if(e.length%4!=0)throw new Error(`Invalid length for base64 encoded string. Expected length % 4 = 0, got length = ${e.length}`);const a=e.length/4;let t;t=e.length>=4&&"="===e.charAt(e.length-1)?"="===e.charAt(e.length-2)?3*a-2:3*a-1:3*a;const i=new Uint8Array(t);let n=0;for(let t=0;t<a;t++){const a=e.charAt(4*t+0),s=e.charAt(4*t+1),v=e.charAt(4*t+2),o=e.charAt(4*t+3),f=r.get(a),l=r.get(s),_=r.get(v),S=r.get(o);if(null==f||null==l||null==_||null==S)throw new Error(`Invalid quartet at indices ${4*t} .. ${4*t+3}: ${e.substring(4*t,4*t+3)}`);i[n++]=f<<2|l>>4,"="!==v&&(i[n++]=(15&l)<<4|_>>2),"="!==o&&(i[n++]=(7&_)<<6|S)}if(n!==t)throw new Error(`Expected to decode ${t} bytes, but only decoded ${n})`);return i}},218:(e,r,a)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ByteFormatter=r.TimeFormatter=r.RawValueFormatter=void 0;const t=a(844);r.RawValueFormatter=class{constructor(){this.unit="none"}format(e){return e.toLocaleString()}},r.TimeFormatter=class{constructor(e){this.unit=e,this.multiplier="nanoseconds"===e?1e-9:"microseconds"===e?1e-6:"milliseconds"===e?.001:1}formatUnsigned(e){const r=e*this.multiplier;if(r/60>=1){const e=Math.floor(r/60),a=Math.floor(r-60*e).toString();return`${e}:${t.zeroPad(a,2)}`}return r/1>=1?`${r.toFixed(2)}s`:r/.001>=1?`${(r/.001).toFixed(2)}ms`:r/1e-6>=1?`${(r/1e-6).toFixed(2)}µs`:`${(r/1e-9).toFixed(2)}ns`}format(e){return`${e<0?"-":""}${this.formatUnsigned(Math.abs(e))}`}},r.ByteFormatter=class{constructor(){this.unit="bytes"}format(e){return e<1024?`${e.toFixed(0)} B`:(e/=1024)<1024?`${e.toFixed(2)} KB`:(e/=1024)<1024?`${e.toFixed(2)} MB`:`${(e/=1024).toFixed(2)} GB`}}},41:function(e,r,a){"use strict";var t=this&&this.__createBinding||(Object.create?function(e,r,a,t){void 0===t&&(t=a),Object.defineProperty(e,t,{enumerable:!0,get:function(){return r[a]}})}:function(e,r,a,t){void 0===t&&(t=a),e[t]=r[a]}),i=this&&this.__exportStar||function(e,r){for(var a in e)"default"===a||r.hasOwnProperty(a)||t(r,e,a)};Object.defineProperty(r,"__esModule",{value:!0}),i(a(496),r),i(a(121),r)},715:function(e,r,a){var t,i,n;!function(s,v){"use strict";i=[a(356)],void 0===(n="function"==typeof(t=function(e){var r=/(^|@)\\S+:\\d+/,a=/^\\s*at .*(\\S+:\\d+|\\(native\\))/m,t=/^(eval@)?(\\[native code])?$/;return{parse:function(e){if(void 0!==e.stacktrace||void 0!==e["opera#sourceloc"])return this.parseOpera(e);if(e.stack&&e.stack.match(a))return this.parseV8OrIE(e);if(e.stack)return this.parseFFOrSafari(e);throw new Error("Cannot parse given Error object")},extractLocation:function(e){if(-1===e.indexOf(":"))return[e];var r=/(.+?)(?::(\\d+))?(?::(\\d+))?$/.exec(e.replace(/[()]/g,""));return[r[1],r[2]||void 0,r[3]||void 0]},parseV8OrIE:function(r){return r.stack.split("\\n").filter((function(e){return!!e.match(a)}),this).map((function(r){r.indexOf("(eval ")>-1&&(r=r.replace(/eval code/g,"eval").replace(/(\\(eval at [^()]*)|(\\),.*$)/g,""));var a=r.replace(/^\\s+/,"").replace(/\\(eval code/g,"("),t=a.match(/ (\\((.+):(\\d+):(\\d+)\\)$)/),i=(a=t?a.replace(t[0],""):a).split(/\\s+/).slice(1),n=this.extractLocation(t?t[1]:i.pop()),s=i.join(" ")||void 0,v=["eval","<anonymous>"].indexOf(n[0])>-1?void 0:n[0];return new e({functionName:s,fileName:v,lineNumber:n[1],columnNumber:n[2],source:r})}),this)},parseFFOrSafari:function(r){return r.stack.split("\\n").filter((function(e){return!e.match(t)}),this).map((function(r){if(r.indexOf(" > eval")>-1&&(r=r.replace(/ line (\\d+)(?: > eval line \\d+)* > eval:\\d+:\\d+/g,":$1")),-1===r.indexOf("@")&&-1===r.indexOf(":"))return new e({functionName:r});var a=/((.*".+"[^@]*)?[^@]*)(?:@)/,t=r.match(a),i=t&&t[1]?t[1]:void 0,n=this.extractLocation(r.replace(a,""));return new e({functionName:i,fileName:n[0],lineNumber:n[1],columnNumber:n[2],source:r})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\\n")>-1&&e.message.split("\\n").length>e.stacktrace.split("\\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(r){for(var a=/Line (\\d+).*script (?:in )?(\\S+)/i,t=r.message.split("\\n"),i=[],n=2,s=t.length;n<s;n+=2){var v=a.exec(t[n]);v&&i.push(new e({fileName:v[2],lineNumber:v[1],source:t[n]}))}return i},parseOpera10:function(r){for(var a=/Line (\\d+).*script (?:in )?(\\S+)(?:: In function (\\S+))?$/i,t=r.stacktrace.split("\\n"),i=[],n=0,s=t.length;n<s;n+=2){var v=a.exec(t[n]);v&&i.push(new e({functionName:v[3]||void 0,fileName:v[2],lineNumber:v[1],source:t[n]}))}return i},parseOpera11:function(a){return a.stack.split("\\n").filter((function(e){return!!e.match(r)&&!e.match(/^Error created at/)}),this).map((function(r){var a,t=r.split("@"),i=this.extractLocation(t.pop()),n=t.shift()||"",s=n.replace(/<anonymous function(: (\\w+))?>/,"$2").replace(/\\([^)]*\\)/g,"")||void 0;n.match(/\\(([^)]*)\\)/)&&(a=n.replace(/^[^(]+\\(([^)]*)\\)$/,"$1"));var v=void 0===a||"[arguments not available]"===a?void 0:a.split(",");return new e({functionName:s,args:v,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:r})}),this)}}})?t.apply(r,i):t)||(e.exports=n)}()},69:e=>{"use strict";function r(e,r){if(null!=e)return e;var a=new Error(void 0!==r?r:"Got unexpected "+e);throw a.framesToPop=1,a}e.exports=r,e.exports.default=r,Object.defineProperty(e.exports,"__esModule",{value:!0})},356:function(e,r){var a,t,i;!function(n,s){"use strict";t=[],void 0===(i="function"==typeof(a=function(){function e(e){return e.charAt(0).toUpperCase()+e.substring(1)}function r(e){return function(){return this[e]}}var a=["isConstructor","isEval","isNative","isToplevel"],t=["columnNumber","lineNumber"],i=["fileName","functionName","source"],n=a.concat(t,i,["args"]);function s(r){if(r)for(var a=0;a<n.length;a++)void 0!==r[n[a]]&&this["set"+e(n[a])](r[n[a]])}s.prototype={getArgs:function(){return this.args},setArgs:function(e){if("[object Array]"!==Object.prototype.toString.call(e))throw new TypeError("Args must be an Array");this.args=e},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(e){if(e instanceof s)this.evalOrigin=e;else{if(!(e instanceof Object))throw new TypeError("Eval Origin must be an Object or StackFrame");this.evalOrigin=new s(e)}},toString:function(){var e=this.getFileName()||"",r=this.getLineNumber()||"",a=this.getColumnNumber()||"",t=this.getFunctionName()||"";return this.getIsEval()?e?"[eval] ("+e+":"+r+":"+a+")":"[eval]:"+r+":"+a:t?t+" ("+e+":"+r+":"+a+")":e+":"+r+":"+a}},s.fromString=function(e){var r=e.indexOf("("),a=e.lastIndexOf(")"),t=e.substring(0,r),i=e.substring(r+1,a).split(","),n=e.substring(a+1);if(0===n.indexOf("@"))var v=/@(.+?)(?::(\\d+))?(?::(\\d+))?$/.exec(n,""),o=v[1],f=v[2],l=v[3];return new s({functionName:t,args:i||void 0,fileName:o,lineNumber:f||void 0,columnNumber:l||void 0})};for(var v=0;v<a.length;v++)s.prototype["get"+e(a[v])]=r(a[v]),s.prototype["set"+e(a[v])]=function(e){return function(r){this[e]=Boolean(r)}}(a[v]);for(var o=0;o<t.length;o++)s.prototype["get"+e(t[o])]=r(t[o]),s.prototype["set"+e(t[o])]=function(e){return function(r){if(a=r,isNaN(parseFloat(a))||!isFinite(a))throw new TypeError(e+" must be a Number");var a;this[e]=Number(r)}}(t[o]);for(var f=0;f<i.length;f++)s.prototype["get"+e(i[f])]=r(i[f]),s.prototype["set"+e(i[f])]=function(e){return function(r){this[e]=String(r)}}(i[f]);return s})?a.apply(r,t):a)||(e.exports=i)}()},853:e=>{var r=function(e){"use strict";var r,a=Object.prototype,t=a.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},n=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",v=i.toStringTag||"@@toStringTag";function o(e,r,a){return Object.defineProperty(e,r,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{o({},"")}catch(e){o=function(e,r,a){return e[r]=a}}function f(e,r,a,t){var i=r&&r.prototype instanceof d?r:d,n=Object.create(i.prototype),s=new O(t||[]);return n._invoke=function(e,r,a){var t=_;return function(i,n){if(t===u)throw new Error("Generator is already running");if(t===c){if("throw"===i)throw n;return T()}for(a.method=i,a.arg=n;;){var s=a.delegate;if(s){var v=A(s,a);if(v){if(v===h)continue;return v}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(t===_)throw t=c,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);t=u;var o=l(e,r,a);if("normal"===o.type){if(t=a.done?c:S,o.arg===h)continue;return{value:o.arg,done:a.done}}"throw"===o.type&&(t=c,a.method="throw",a.arg=o.arg)}}}(e,a,s),n}function l(e,r,a){try{return{type:"normal",arg:e.call(r,a)}}catch(e){return{type:"throw",arg:e}}}e.wrap=f;var _="suspendedStart",S="suspendedYield",u="executing",c="completed",h={};function d(){}function b(){}function p(){}var m={};m[n]=function(){return this};var k=Object.getPrototypeOf,w=k&&k(k(C([])));w&&w!==a&&t.call(w,n)&&(m=w);var g=p.prototype=d.prototype=Object.create(m);function H(e){["next","throw","return"].forEach((function(r){o(e,r,(function(e){return this._invoke(r,e)}))}))}function M(e,r){function a(i,n,s,v){var o=l(e[i],e,n);if("throw"!==o.type){var f=o.arg,_=f.value;return _&&"object"==typeof _&&t.call(_,"__await")?r.resolve(_.__await).then((function(e){a("next",e,s,v)}),(function(e){a("throw",e,s,v)})):r.resolve(_).then((function(e){f.value=e,s(f)}),(function(e){return a("throw",e,s,v)}))}v(o.arg)}var i;this._invoke=function(e,t){function n(){return new r((function(r,i){a(e,t,r,i)}))}return i=i?i.then(n,n):n()}}function A(e,a){var t=e.iterator[a.method];if(t===r){if(a.delegate=null,"throw"===a.method){if(e.iterator.return&&(a.method="return",a.arg=r,A(e,a),"throw"===a.method))return h;a.method="throw",a.arg=new TypeError("The iterator does not provide a \'throw\' method")}return h}var i=l(t,e.iterator,a.arg);if("throw"===i.type)return a.method="throw",a.arg=i.arg,a.delegate=null,h;var n=i.arg;return n?n.done?(a[e.resultName]=n.value,a.next=e.nextLoc,"return"!==a.method&&(a.method="next",a.arg=r),a.delegate=null,h):n:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,h)}function y(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function E(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(y,this),this.reset(!0)}function C(e){if(e){var a=e[n];if(a)return a.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,s=function a(){for(;++i<e.length;)if(t.call(e,i))return a.value=e[i],a.done=!1,a;return a.value=r,a.done=!0,a};return s.next=s}}return{next:T}}function T(){return{value:r,done:!0}}return b.prototype=g.constructor=p,p.constructor=b,b.displayName=o(p,v,"GeneratorFunction"),e.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===b||"GeneratorFunction"===(r.displayName||r.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,o(e,v,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},H(M.prototype),M.prototype[s]=function(){return this},e.AsyncIterator=M,e.async=function(r,a,t,i,n){void 0===n&&(n=Promise);var s=new M(f(r,a,t,i),n);return e.isGeneratorFunction(a)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},H(g),o(g,v,"Generator"),g[n]=function(){return this},g.toString=function(){return"[object Generator]"},e.keys=function(e){var r=[];for(var a in e)r.push(a);return r.reverse(),function a(){for(;r.length;){var t=r.pop();if(t in e)return a.value=t,a.done=!1,a}return a.done=!0,a}},e.values=C,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(E),!e)for(var a in this)"t"===a.charAt(0)&&t.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=r)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var a=this;function i(t,i){return v.type="throw",v.arg=e,a.next=t,i&&(a.method="next",a.arg=r),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var s=this.tryEntries[n],v=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var o=t.call(s,"catchLoc"),f=t.call(s,"finallyLoc");if(o&&f){if(this.prev<s.catchLoc)return i(s.catchLoc,!0);if(this.prev<s.finallyLoc)return i(s.finallyLoc)}else if(o){if(this.prev<s.catchLoc)return i(s.catchLoc,!0)}else{if(!f)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return i(s.finallyLoc)}}}},abrupt:function(e,r){for(var a=this.tryEntries.length-1;a>=0;--a){var i=this.tryEntries[a];if(i.tryLoc<=this.prev&&t.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var n=i;break}}n&&("break"===e||"continue"===e)&&n.tryLoc<=r&&r<=n.finallyLoc&&(n=null);var s=n?n.completion:{};return s.type=e,s.arg=r,n?(this.method="next",this.next=n.finallyLoc,h):this.complete(s)},complete:function(e,r){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&r&&(this.next=r),h},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),E(a),h}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc===e){var t=a.completion;if("throw"===t.type){var i=t.arg;E(a)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,a,t){return this.delegate={iterator:C(e),resultName:a,nextLoc:t},"next"===this.method&&(this.arg=r),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}}},r={};function a(t){var i=r[t];if(void 0!==i)return i.exports;var n=r[t]={exports:{}};return e[t].call(n.exports,n,n.exports,a),n.exports}a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var t={};(()=>{"use strict";a.d(t,{importFile:()=>g}),a(853);var e=a(41);const r=(parseInt("22px",10),parseInt("18px",10),31),i=1;class n extends Error{}function s(e,r){if(e.length!==r.length)return!1;for(var a=0;a<e.length;a++)if(e[a]!==r[a])return!1;return!0}const v=function(e,r){var a;void 0===r&&(r=s);var t,i=[],n=!1;return function(){for(var s=[],v=0;v<arguments.length;v++)s[v]=arguments[v];return n&&a===this&&r(s,i)||(t=e.apply(this,s),n=!0,a=this,i=s),t}}((function(e,r,a=0){const t=r.batchUIDToMeasuresMap.get(e);if(null==t||0===t.length)throw Error(`Could not find measures with batch UID "${e}"`);const i=t[t.length-1],n=i.timestamp+i.duration;if(n<a)return[0,0];let s=a;for(let e=0;e<t.length;e++){const r=t[e];if(r.timestamp>=a){s=r.timestamp;break}}return[s,n]}));var o=a(715),f=a.n(o);const l="An event handler scheduled a big update with React. Consider using the Transition API to defer some of this work.",_="A component suspended during an update which caused a fallback to be shown. Consider using the Transition API to avoid hiding components after they\'ve been mounted.";function S(e){const a=parseInt(e,10);if(a<0)return[];const t=[];let i=0;for(;i<=r;)1<<i&a&&t.push(i),i++;return t}let u=null;function c(e,r,a,t,i){const{batchUID:n,measureStack:s}=i,v=function(e){if(e.length>0){const{depth:r,type:a}=e[e.length-1];return"render-idle"===a?r:r+1}return 0}(s),o={type:e,batchUID:n,depth:v,lanes:a,timestamp:r,duration:0};i.measureStack.push({depth:v,measure:o,startTime:r,type:e});const f=t.batchUIDToMeasuresMap.get(n);null!=f?f.push(o):t.batchUIDToMeasuresMap.set(i.batchUID,[o]),a.forEach((e=>{t.laneToReactMeasureMap.get(e).push(o)}))}function h(e,r,a,t){if(0===t.length)return void console.error(\'Unexpected type "%s" completed at %sms while stack is empty.\',e,r);const i=t[t.length-1];i.type!==e&&console.error(\'Unexpected type "%s" completed at %sms before "%s" completed.\',e,r,i.type);const{measure:n,startTime:s}=t.pop();n||console.error(\'Could not find matching measure for type "%s".\',e),n.duration=r-s}function d(e){null!==e.currentReactComponentMeasure&&console.error("Component measure started while another measure in progress:",e.currentReactComponentMeasure)}function b(e,r){null===e.currentReactComponentMeasure?console.error(`Component measure type "${r}" stopped while no measure was in progress`):e.currentReactComponentMeasure.type!==r&&console.error(`Component measure type "${r}" stopped while type ${e.currentReactComponentMeasure.type} in progress`)}function p(e){const r=new Error;r.stack=e;const a=f().parse(r);return 1===a.length?a[0]:null}async function m(a){const t=function(r){let a;try{a=(0,e.importFromChromeTimeline)(r,"react-devtools")}catch(e){const r=new n(e.message);throw r.stack=e.stack,r}const t=a.profiles[0];return new e.Flamechart({getTotalWeight:t.getTotalWeight.bind(t),forEachCall:t.forEachCall.bind(t),formatValue:t.formatValue.bind(t),getColorBucketForFrame:()=>0}).getLayers().map((e=>e.map((({start:e,end:r,node:{frame:{name:a,file:t,line:i,col:n}}})=>({name:a,timestamp:e/1e3,duration:(r-e)/1e3,scriptUrl:t,locationLine:i,locationColumn:n})))))}(a),s=new Map;for(let e=0;e<r;e++)s.set(e,[]);const o={batchUIDToMeasuresMap:new Map,componentMeasures:[],duration:0,flamechart:t,internalModuleSourceToRanges:new Map,laneToLabelMap:new Map,laneToReactMeasureMap:s,nativeEvents:[],networkMeasures:[],otherUserTimingMarks:[],reactVersion:null,schedulingEvents:[],snapshots:[],snapshotHeight:0,startTime:0,suspenseEvents:[],thrownErrors:[]},f=(a=a.filter(Boolean).sort(((e,r)=>e.ts>r.ts?1:-1))).findIndex((e=>"Profile"===e.name));if(-1===f)return o;o.startTime=a[f].args.data.startTime,o.duration=(a[a.length-1].ts-o.startTime)/1e3;const m={asyncProcessingPromises:[],batchUID:0,currentReactComponentMeasure:null,internalModuleCurrentStackFrame:null,internalModuleStackStringSet:new Set,measureStack:[],nativeEventStack:[],nextRenderShouldGenerateNewBatchID:!0,potentialLongEvents:[],potentialLongNestedUpdate:null,potentialLongNestedUpdates:[],potentialSuspenseEventsOutsideOfTransition:[],requestIdToNetworkMeasureMap:new Map,uidCounter:0,unresolvedSuspenseEvents:new Map};if(a.forEach((e=>function(e,r,a){const{cat:t,name:s,ts:v,ph:o}=e,f=(v-r.startTime)/1e3;switch(t){case"disabled-by-default-devtools.screenshot":!function(e,r,a,t){const i={height:0,image:null,imageSource:`data:image/png;base64,${e.args.snapshot}`,timestamp:r,width:0};let n=null;t.asyncProcessingPromises.push(new Promise((e=>{n=e}))),fetch(i.imageSource).then((e=>e.blob())).then((e=>{createImageBitmap(e).then((e=>{i.height=e.height,i.width=e.width,n()}))})),a.snapshots.push(i)}(e,f,r,a);break;case"devtools.timeline":switch(s){case"EventDispatch":!function(e,r,a,t){const i=e.args.data,n=i.type;if(n.startsWith("react-")){const e=i.stackTrace;if(e&&e[e.length-1].url.includes("/react-dom."))return}if("blur"===n||"click"===n||"input"===n||n.startsWith("focus")||n.startsWith("key")||n.startsWith("mouse")||n.startsWith("pointer")){const i=e.dur/1e3;let s=0;for(;t.nativeEventStack.length>0;){const e=t.nativeEventStack[t.nativeEventStack.length-1];if(r<e.timestamp+e.duration){s=e.depth+1;break}t.nativeEventStack.pop()}const v={depth:s,duration:i,timestamp:r,type:n,warning:null};a.nativeEvents.push(v),t.nativeEventStack.push(v)}}(e,f,r,a);break;case"ResourceFinish":!function(e,r,a,t){const i=e.args.data.requestId,n=t.requestIdToNetworkMeasureMap.get(i);null!=n&&(n.finishTimestamp=r,0===n.firstReceivedDataTimestamp&&(n.firstReceivedDataTimestamp=r),0===n.lastReceivedDataTimestamp&&(n.lastReceivedDataTimestamp=r),t.requestIdToNetworkMeasureMap.delete(e.args.data.requestId))}(e,f,0,a);break;case"ResourceReceivedData":!function(e,r,a,t){const i=e.args.data.requestId,n=t.requestIdToNetworkMeasureMap.get(i);null!=n&&(0===n.firstReceivedDataTimestamp&&(n.firstReceivedDataTimestamp=r),n.lastReceivedDataTimestamp=r,n.finishTimestamp=r)}(e,f,0,a);break;case"ResourceReceiveResponse":!function(e,r,a,t){const i=e.args.data.requestId,n=t.requestIdToNetworkMeasureMap.get(i);null!=n&&(n.receiveResponseTimestamp=r)}(e,f,0,a);break;case"ResourceSendRequest":!function(e,r,a,t){const i=e.args.data,n=i.requestId,s=new Array(t.requestIdToNetworkMeasureMap.size+1).fill(!0);t.requestIdToNetworkMeasureMap.forEach((({depth:e})=>{s[e]=!1}));let v=0;for(let e=0;e<s.length;e++)if(s[e]){v=e;break}const o={depth:v,finishTimestamp:0,firstReceivedDataTimestamp:0,lastReceivedDataTimestamp:0,requestId:n,requestMethod:i.requestMethod,priority:i.priority,sendRequestTimestamp:r,receiveResponseTimestamp:0,url:i.url};t.requestIdToNetworkMeasureMap.set(n,o),a.networkMeasures.push(o),o.sendRequestTimestamp=r}(e,f,r,a)}break;case"blink.user_timing":if(s.startsWith("--react-version-")){const[e]=s.slice(16).split("-");r.reactVersion=e}else if(s.startsWith("--profiler-version-")){const[e]=s.slice(19).split("-");if(u=parseInt(e,10),u!==i)throw new n(`This version of profiling data (${e}) is not supported by the current profiler.`)}else if(s.startsWith("--react-lane-labels-")){const[e]=s.slice(20).split("-");!function(e,r){if(0===e.laneToLabelMap.size){const a=r.split(",");for(let r=0;r<a.length;r++)e.laneToLabelMap.set(r,a[r])}}(r,e)}else if(s.startsWith("--component-"))!function(e,r,a,t){if(e.startsWith("--component-render-start-")){const[a]=e.slice(25).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"render",warning:null}}else if("--component-render-stop"===e){if(b(t,"render"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-layout-effect-mount-start-")){const[a]=e.slice(38).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"layout-effect-mount",warning:null}}else if("--component-layout-effect-mount-stop"===e){if(b(t,"layout-effect-mount"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-layout-effect-unmount-start-")){const[a]=e.slice(40).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"layout-effect-unmount",warning:null}}else if("--component-layout-effect-unmount-stop"===e){if(b(t,"layout-effect-unmount"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-passive-effect-mount-start-")){const[a]=e.slice(39).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"passive-effect-mount",warning:null}}else if("--component-passive-effect-mount-stop"===e){if(b(t,"passive-effect-mount"),null!==t.currentReactComponentMeasure){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}else if(e.startsWith("--component-passive-effect-unmount-start-")){const[a]=e.slice(41).split("-");d(t),t.currentReactComponentMeasure={componentName:a,timestamp:r,duration:0,type:"passive-effect-unmount",warning:null}}else if("--component-passive-effect-unmount-stop"===e&&(b(t,"passive-effect-unmount"),null!==t.currentReactComponentMeasure)){const e=t.currentReactComponentMeasure;e.duration=r-e.timestamp,t.currentReactComponentMeasure=null,a.componentMeasures.push(e)}}(s,f,r,a);else if(s.startsWith("--schedule-render-")){const[e]=s.slice(18).split("-");r.schedulingEvents.push({type:"schedule-render",lanes:S(e),timestamp:f,warning:null})}else if(s.startsWith("--schedule-forced-update-")){const[e,t]=s.slice(25).split("-"),i={type:"schedule-force-update",lanes:S(e),componentName:t,timestamp:f,warning:null};a.measureStack.find((({type:e})=>"commit"===e))&&(a.potentialLongNestedUpdate=i),r.schedulingEvents.push(i)}else if(s.startsWith("--schedule-state-update-")){const[e,t]=s.slice(24).split("-"),i={type:"schedule-state-update",lanes:S(e),componentName:t,timestamp:f,warning:null};a.measureStack.find((({type:e})=>"commit"===e))&&(a.potentialLongNestedUpdate=i),r.schedulingEvents.push(i)}else if(s.startsWith("--error-")){const[e,a,t]=s.slice(8).split("-");r.thrownErrors.push({componentName:e,message:t,phase:a,timestamp:f,type:"thrown-error"})}else if(s.startsWith("--suspense-suspend-")){const[e,t,i,n,v]=s.slice(19).split("-"),o=S(n),l=new Array(a.unresolvedSuspenseEvents.size+1).fill(!0);a.unresolvedSuspenseEvents.forEach((({depth:e})=>{l[e]=!1}));let _=0;for(let e=0;e<l.length;e++)if(l[e]){_=e;break}const u={componentName:t,depth:_,duration:null,id:e,phase:i,promiseName:v||null,resolution:"unresolved",timestamp:f,type:"suspense",warning:null};"update"===i&&a.potentialSuspenseEventsOutsideOfTransition.push([u,o]),r.suspenseEvents.push(u),a.unresolvedSuspenseEvents.set(e,u)}else if(s.startsWith("--suspense-resolved-")){const[e]=s.slice(20).split("-"),r=a.unresolvedSuspenseEvents.get(e);null!=r&&(a.unresolvedSuspenseEvents.delete(e),r.duration=f-r.timestamp,r.resolution="resolved")}else if(s.startsWith("--suspense-rejected-")){const[e]=s.slice(20).split("-"),r=a.unresolvedSuspenseEvents.get(e);null!=r&&(a.unresolvedSuspenseEvents.delete(e),r.duration=f-r.timestamp,r.resolution="rejected")}else if(s.startsWith("--render-start-")){a.nextRenderShouldGenerateNewBatchID&&(a.nextRenderShouldGenerateNewBatchID=!1,a.batchUID=a.uidCounter++),null!==a.potentialLongNestedUpdate&&(a.potentialLongNestedUpdates.push([a.potentialLongNestedUpdate,a.batchUID]),a.potentialLongNestedUpdate=null);const[e]=s.slice(15).split("-");!function(e,r){const a=r.length-1;if(a>=0){const t=r[a];if(void 0===t.stopTime&&t.type===e)throw new n(`Unexpected type "${e}" started before "${t.type}" completed.`)}}("render",a.measureStack),"render-idle"!==function(e){if(e.length>0){const{type:r}=e[e.length-1];return r}return null}(a.measureStack)&&c("render-idle",f,S(e),r,a),c("render",f,S(e),r,a);for(let e=0;e<a.nativeEventStack.length;e++){const r=a.nativeEventStack[e];r.timestamp+r.duration>f&&a.potentialLongEvents.push([r,a.batchUID])}}else if(s.startsWith("--render-stop")||s.startsWith("--render-yield"))h("render",f,0,a.measureStack);else if(s.startsWith("--commit-start-")){a.nextRenderShouldGenerateNewBatchID=!0;const[e]=s.slice(15).split("-");c("commit",f,S(e),r,a)}else if(s.startsWith("--commit-stop"))h("commit",f,0,a.measureStack),h("render-idle",f,0,a.measureStack);else if(s.startsWith("--layout-effects-start-")){const[e]=s.slice(23).split("-");c("layout-effects",f,S(e),r,a)}else if(s.startsWith("--layout-effects-stop"))h("layout-effects",f,0,a.measureStack);else if(s.startsWith("--passive-effects-start-")){const[e]=s.slice(24).split("-");c("passive-effects",f,S(e),r,a)}else if(s.startsWith("--passive-effects-stop"))h("passive-effects",f,0,a.measureStack);else if(s.startsWith("--react-internal-module-start-")){const e=s.slice(30);if(!a.internalModuleStackStringSet.has(e)){a.internalModuleStackStringSet.add(e);const r=p(e);a.internalModuleCurrentStackFrame=r}}else if(s.startsWith("--react-internal-module-stop-")){const e=s.slice(29);if(!a.internalModuleStackStringSet.has(e)){a.internalModuleStackStringSet.add(e);const t=p(e);if(null!==t&&null!==a.internalModuleCurrentStackFrame){const e=a.internalModuleCurrentStackFrame;a.internalModuleCurrentStackFrame=null;const i=[e,t],n=r.internalModuleSourceToRanges.get(e.fileName);null==n?r.internalModuleSourceToRanges.set(e.fileName,[i]):n.push(i)}}}else if("R"===o||"n"===o)r.otherUserTimingMarks.push({name:s,timestamp:f});else if("b"===o);else if("e"===o);else if("i"!==o&&"I"!==o)throw new n(`Unrecognized event ${JSON.stringify(e)}! This is likely a bug in this profiler tool.`)}}(e,o,m))),null===u){if(0===o.schedulingEvents.length&&0===o.batchUIDToMeasuresMap.size)throw new n("No React marks were found in the provided profile. Please provide profiling data from an React application running in development or profiling mode.");throw new n("This version of profiling data is not supported by the current profiler.")}const{measureStack:k}=m;if(k.length>0&&console.error("Incomplete events or measures",k),m.potentialLongEvents.forEach((([e,r])=>{const[a,t]=v(r,o,e.timestamp);t-a>20&&(e.warning=l)})),m.potentialLongNestedUpdates.forEach((([e,r])=>{const[a,t]=v(r,o);t-a>20&&e.lanes.some((e=>"Transition"===o.laneToLabelMap.get(e)))})),m.potentialSuspenseEventsOutsideOfTransition.forEach((([e,r])=>{r.some((e=>"Transition"===o.laneToLabelMap.get(e)))||(e.warning=_)})),await Promise.all(m.asyncProcessingPromises),o.snapshots.length>0){const e=o.snapshots[0];o.snapshotHeight=Math.min(e.height,60)}return o}var k=a(69),w=a.n(k);const g=async function(e){try{const r=await(e=>{if(!e.name.endsWith(".json"))throw new n("Invalid file type. Only JSON performance profiles are supported");const r=new FileReader;return new Promise(((a,t)=>{r.onload=()=>{const e=w()(r.result);"string"==typeof e&&a(e),t(new n("Input file was not read as a string"))},r.onerror=()=>t(r.error),r.readAsText(e)}))})(e),a=JSON.parse(r);if(0===a.length)throw new n("No profiling data found in file.");return{status:"SUCCESS",processedData:await m(a)}}catch(e){return e instanceof n?{status:"INVALID_PROFILE_ERROR",error:e}:{status:"UNEXPECTED_ERROR",error:e}}};addEventListener("message",(function(e){var r,a=e.data,i=a.type,n=a.method,s=a.id,v=a.params;"RPC"===i&&n&&((r=t[n])?Promise.resolve().then((function(){return r.apply(t,v)})):Promise.reject("No such method")).then((function(e){postMessage({type:"RPC",id:s,result:e})})).catch((function(e){var r={message:e};e.stack&&(r.message=e.message,r.stack=e.stack,r.name=e.name),postMessage({type:"RPC",id:s,error:r})}))})),postMessage({type:"RPC",method:"ready"})})()})();\n//# sourceMappingURL=importFile.worker.worker.js.map']))),a(e,n),e}},8447:e=>{"use strict";e.exports=require("bufferutil")},7838:e=>{"use strict";e.exports=require("utf-8-validate")},6113:e=>{"use strict";e.exports=require("crypto")},2361:e=>{"use strict";e.exports=require("events")},3685:e=>{"use strict";e.exports=require("http")},5687:e=>{"use strict";e.exports=require("https")},1808:e=>{"use strict";e.exports=require("net")},2781:e=>{"use strict";e.exports=require("stream")},4404:e=>{"use strict";e.exports=require("tls")},7310:e=>{"use strict";e.exports=require("url")},3837:e=>{"use strict";e.exports=require("util")},9796:e=>{"use strict";e.exports=require("zlib")}},t={};function a(e){var n=t[e];if(void 0!==n)return n.exports;var i=t[e]={id:e,exports:{}};return r[e].call(i.exports,i,i.exports,a),i.exports}a.m=r,a.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return a.d(r,{a:r}),r},a.d=(e,r)=>{for(var t in r)a.o(r,t)&&!a.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce(((r,t)=>(a.f[t](e,r),r)),[])),a.u=e=>"parseHookNames.chunk.js",a.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.nc=void 0,e={610:1},a.f.require=(r,t)=>{e[r]||(r=>{var t=r.modules,n=r.ids,i=r.runtime;for(var o in t)a.o(t,o)&&(a.m[o]=t[o]);i&&i(a);for(var s=0;s<n.length;s++)e[n[s]]=1})(require("./"+a.u(r)))};var n={};(()=>{"use strict";a.r(n),a.d(n,{default:()=>T_});var e={};a.r(e),a.d(e,{importFile:()=>Pd});var r=a(1147),t=a(9443),i=a(2852);class o{constructor(){!function(e,r,t){r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t}(this,"listenersMap",new Map)}addListener(e,r){const t=this.listenersMap.get(e);void 0===t?this.listenersMap.set(e,[r]):t.indexOf(r)<0&&t.push(r)}emit(e,...r){const t=this.listenersMap.get(e);if(void 0!==t)if(1===t.length)t[0].apply(null,r);else{let e=!1,a=null;const n=Array.from(t);for(let t=0;t<n.length;t++){const i=n[t];try{i.apply(null,r)}catch(r){null===a&&(e=!0,a=r)}}if(e)throw a}}removeAllListeners(){this.listenersMap.clear()}removeListener(e,r){const t=this.listenersMap.get(e);if(void 0!==t){const e=t.indexOf(r);e>=0&&t.splice(e,1)}}}function s(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const l=[{version:0,minNpmVersion:'"<4.11.0"',maxNpmVersion:'"<4.11.0"'},{version:1,minNpmVersion:"4.13.0",maxNpmVersion:"4.21.0"},{version:2,minNpmVersion:"4.22.0",maxNpmVersion:null}],u=l[l.length-1],c=class extends o{constructor(e){super(),s(this,"_isShutdown",!1),s(this,"_messageQueue",[]),s(this,"_timeoutID",null),s(this,"_wallUnlisten",null),s(this,"_flush",(()=>{if(null!==this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null),this._messageQueue.length){for(let e=0;e<this._messageQueue.length;e+=2)this._wall.send(this._messageQueue[e],...this._messageQueue[e+1]);this._messageQueue.length=0,this._timeoutID=setTimeout(this._flush,100)}})),s(this,"overrideValueAtPath",(({id:e,path:r,rendererID:t,type:a,value:n})=>{switch(a){case"context":this.send("overrideContext",{id:e,path:r,rendererID:t,wasForwarded:!0,value:n});break;case"hooks":this.send("overrideHookState",{id:e,path:r,rendererID:t,wasForwarded:!0,value:n});break;case"props":this.send("overrideProps",{id:e,path:r,rendererID:t,wasForwarded:!0,value:n});break;case"state":this.send("overrideState",{id:e,path:r,rendererID:t,wasForwarded:!0,value:n})}})),this._wall=e,this._wallUnlisten=e.listen((e=>{e&&e.event&&this.emit(e.event,e.payload)}))||null,this.addListener("overrideValueAtPath",this.overrideValueAtPath)}get wall(){return this._wall}send(e,...r){this._isShutdown?console.warn(`Cannot send message "${e}" through a Bridge that has been shutdown.`):(this._messageQueue.push(e,r),this._timeoutID||(this._timeoutID=setTimeout(this._flush,0)))}shutdown(){if(this._isShutdown)return void console.warn("Bridge was already shutdown.");this.emit("shutdown"),this.send("shutdown"),this._isShutdown=!0,this.addListener=function(){},this.emit=function(){},this.removeAllListeners();const e=this._wallUnlisten;e&&e();do{this._flush()}while(this._messageQueue.length);null!==this._timeoutID&&(clearTimeout(this._timeoutID),this._timeoutID=null)}};var f=a(3537),v=a(3837),d=a(3303);const h=1,_=2,m=5,p=6,S=7,g=8,b=9,w=10,E=11,y=12,k=1,C=2,A=3,M=4;var D=a(3018),H=a.n(D),x=a(2954);Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense");const T=Symbol.for("react.suspense_list"),N=(Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen"),Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"));function R(e){try{return localStorage.getItem(e)}catch(e){return null}}function O(e,r){try{return localStorage.setItem(e,r)}catch(e){}}Symbol.for("react.default_value"),Symbol.for("react.memo_cache_sentinel"),Symbol.for("react.postpone"),Symbol.iterator;const I={inspectable:Symbol("inspectable"),inspected:Symbol("inspected"),name:Symbol("name"),preview_long:Symbol("preview_long"),preview_short:Symbol("preview_short"),readonly:Symbol("readonly"),size:Symbol("size"),type:Symbol("type"),unserializable:Symbol("unserializable")};function F(e,r,t){return r.forEach((r=>{const t=r.length,a=r[t-1],n=G(e,r.slice(0,t-1));if(!n||!n.hasOwnProperty(a))return;const i=n[a];if(i)if("infinity"===i.type)n[a]=1/0;else if("nan"===i.type)n[a]=NaN;else if("undefined"===i.type)n[a]=void 0;else{const e={};e[I.inspectable]=!!i.inspectable,e[I.inspected]=!1,e[I.name]=i.name,e[I.preview_long]=i.preview_long,e[I.preview_short]=i.preview_short,e[I.size]=i.size,e[I.readonly]=!!i.readonly,e[I.type]=i.type,n[a]=e}})),t.forEach((r=>{const t=r.length,a=r[t-1],n=G(e,r.slice(0,t-1));if(!n||!n.hasOwnProperty(a))return;const i=n[a],o={...i};L(o,i),n[a]=o})),e}function L(e,r){Object.defineProperties(e,{[I.inspected]:{configurable:!0,enumerable:!1,value:!!r.inspected},[I.name]:{configurable:!0,enumerable:!1,value:r.name},[I.preview_long]:{configurable:!0,enumerable:!1,value:r.preview_long},[I.preview_short]:{configurable:!0,enumerable:!1,value:r.preview_short},[I.size]:{configurable:!0,enumerable:!1,value:r.size},[I.readonly]:{configurable:!0,enumerable:!1,value:!!r.readonly},[I.type]:{configurable:!0,enumerable:!1,value:r.type},[I.unserializable]:{configurable:!0,enumerable:!1,value:!!r.unserializable}}),delete e.inspected,delete e.name,delete e.preview_long,delete e.preview_short,delete e.size,delete e.readonly,delete e.type,delete e.unserializable}const P=Array.isArray,z=Object.prototype.hasOwnProperty,B=new WeakMap;function V(e,r){return e.toString()>r.toString()?1:r.toString()>e.toString()?-1:0}function U(e){let r="";for(let t=0;t<e.length;t++){const a=e[t];r+=String.fromCodePoint(a)}return r}function W(){try{const e=R(d.z1);if(null!=e)return JSON.parse(e)}catch(e){}return[{type:k,value:S,isEnabled:!0}]}function $(e){O(d.z1,JSON.stringify(e))}function j(e){return"true"===e||"false"!==e&&void 0}function X(e,r){if(null===e)return[null,null];let t=null;switch(r){case h:case p:case m:case g:if(e.indexOf("(")>=0){const r=e.match(/[^()]+/g);null!=r&&(e=r.pop(),t=r)}}return[e,t]}function K(e,r){for(const t in e)if(!(t in r))return!0;for(const t in r)if(e[t]!==r[t])return!0;return!1}function G(e,r){return r.reduce(((e,r)=>{if(e){if(z.call(e,r))return e[r];if("function"==typeof e[Symbol.iterator])return Array.from(e)[r]}return null}),e)}new(H())({max:1e3});const Y=50;function q(e,r=Y){return e.length>r?e.slice(0,r)+"…":e}function Q(e,r){if(null!=e&&z.call(e,I.type))return r?e[I.preview_long]:e[I.preview_short];const t=function(e){if(null===e)return"null";if(void 0===e)return"undefined";if((0,x.isElement)(e))return"react_element";if("undefined"!=typeof HTMLElement&&e instanceof HTMLElement)return"html_element";switch(typeof e){case"bigint":return"bigint";case"boolean":return"boolean";case"function":return"function";case"number":return Number.isNaN(e)?"nan":Number.isFinite(e)?"number":"infinity";case"object":if(P(e))return"array";if(ArrayBuffer.isView(e))return z.call(e.constructor,"BYTES_PER_ELEMENT")?"typed_array":"data_view";if(e.constructor&&"ArrayBuffer"===e.constructor.name)return"array_buffer";if("function"==typeof e[Symbol.iterator]){const r=e[Symbol.iterator]();if(r)return r===e?"opaque_iterator":"iterator"}else{if(e.constructor&&"RegExp"===e.constructor.name)return"regexp";{const r=Object.prototype.toString.call(e);if("[object Date]"===r)return"date";if("[object HTMLAllCollection]"===r)return"html_all_collection"}}return Z(e)?"object":"class_instance";case"string":return"string";case"symbol":return"symbol";case"undefined":return"[object HTMLAllCollection]"===Object.prototype.toString.call(e)?"html_all_collection":"undefined";default:return"unknown"}}(e);switch(t){case"html_element":return`<${q(e.tagName.toLowerCase())} />`;case"function":return q(`ƒ ${"function"==typeof e.name?"":e.name}() {}`);case"string":return`"${e}"`;case"bigint":return q(e.toString()+"n");case"regexp":case"symbol":return q(e.toString());case"react_element":return`<${q(function(e){switch((0,x.typeOf)(e)){case x.ContextConsumer:return"ContextConsumer";case x.ContextProvider:return"ContextProvider";case x.ForwardRef:return"ForwardRef";case x.Fragment:return"Fragment";case x.Lazy:return"Lazy";case x.Memo:return"Memo";case x.Portal:return"Portal";case x.Profiler:return"Profiler";case x.StrictMode:return"StrictMode";case x.Suspense:return"Suspense";case T:return"SuspenseList";case N:return"TracingMarker";default:const{type:r}=e;return"string"==typeof r?r:"function"==typeof r?function(e,r="Anonymous"){const t=B.get(e);if(null!=t)return t;let a=r;return"string"==typeof e.displayName?a=e.displayName:"string"==typeof e.name&&""!==e.name&&(a=e.name),B.set(e,a),a}(r,"Anonymous"):null!=r?"NotImplementedInDevtools":"Element"}}(e)||"Unknown")} />`;case"array_buffer":return`ArrayBuffer(${e.byteLength})`;case"data_view":return`DataView(${e.buffer.byteLength})`;case"array":if(r){let r="";for(let t=0;t<e.length&&(t>0&&(r+=", "),r+=Q(e[t],!1),!(r.length>Y));t++);return`[${q(r)}]`}return`Array(${z.call(e,I.size)?e[I.size]:e.length})`;case"typed_array":const t=`${e.constructor.name}(${e.length})`;if(r){let r="";for(let t=0;t<e.length&&(t>0&&(r+=", "),r+=e[t],!(r.length>Y));t++);return`${t} [${q(r)}]`}return t;case"iterator":const a=e.constructor.name;if(r){const r=Array.from(e);let t="";for(let e=0;e<r.length;e++){const a=r[e];if(e>0&&(t+=", "),P(a)?t+=`${Q(a[0],!0)} => ${Q(a[1],!1)}`:t+=Q(a,!1),t.length>Y)break}return`${a}(${e.size}) {${q(t)}}`}return`${a}(${e.size})`;case"opaque_iterator":return e[Symbol.toStringTag];case"date":return e.toString();case"class_instance":return e.constructor.name;case"object":if(r){const r=Array.from(function(e){const r=new Set;let t=e;for(;null!=t;){const e=[...Object.keys(t),...Object.getOwnPropertySymbols(t)],a=Object.getOwnPropertyDescriptors(t);e.forEach((e=>{a[e].enumerable&&r.add(e)})),t=Object.getPrototypeOf(t)}return r}(e)).sort(V);let t="";for(let a=0;a<r.length;a++){const n=r[a];if(a>0&&(t+=", "),t+=`${n.toString()}: ${Q(e[n],!1)}`,t.length>Y)break}return`{${q(t)}}`}return"{…}";case"boolean":case"number":case"infinity":case"nan":case"null":case"undefined":return e;default:try{return q(String(e))}catch(e){return"unserializable"}}}const Z=e=>{const r=Object.getPrototypeOf(e);return!r||!Object.getPrototypeOf(r)};var J={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},ee=e=>"string"==typeof e&&J.Space_Separator.test(e),re=e=>"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||J.ID_Start.test(e)),te=e=>"string"==typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"‌"===e||"‍"===e||J.ID_Continue.test(e)),ae=e=>"string"==typeof e&&/[0-9]/.test(e),ne=e=>"string"==typeof e&&/[0-9A-Fa-f]/.test(e);let ie,oe,se,le,ue,ce,fe,ve,de,he,_e,me,pe,Se;function ge(e,r,t){const a=e[r];if(null!=a&&"object"==typeof a)for(const e in a){const r=ge(a,e,t);void 0===r?delete a[e]:a[e]=r}return t.call(e,r,a)}function be(){for(he="default",_e="",me=!1,pe=1;;){Se=we();const e=ye[he]();if(e)return e}}function we(){if(ie[le])return String.fromCodePoint(ie.codePointAt(le))}function Ee(){const e=we();return"\n"===e?(ue++,ce=0):e?ce+=e.length:ce++,e&&(le+=e.length),e}const ye={default(){switch(Se){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":return void Ee();case"/":return Ee(),void(he="comment");case void 0:return Ee(),ke("eof")}if(!ee(Se))return ye[oe]();Ee()},comment(){switch(Se){case"*":return Ee(),void(he="multiLineComment");case"/":return Ee(),void(he="singleLineComment")}throw xe(Ee())},multiLineComment(){switch(Se){case"*":return Ee(),void(he="multiLineCommentAsterisk");case void 0:throw xe(Ee())}Ee()},multiLineCommentAsterisk(){switch(Se){case"*":return void Ee();case"/":return Ee(),void(he="default");case void 0:throw xe(Ee())}Ee(),he="multiLineComment"},singleLineComment(){switch(Se){case"\n":case"\r":case"\u2028":case"\u2029":return Ee(),void(he="default");case void 0:return Ee(),ke("eof")}Ee()},value(){switch(Se){case"{":case"[":return ke("punctuator",Ee());case"n":return Ee(),Ce("ull"),ke("null",null);case"t":return Ee(),Ce("rue"),ke("boolean",!0);case"f":return Ee(),Ce("alse"),ke("boolean",!1);case"-":case"+":return"-"===Ee()&&(pe=-1),void(he="sign");case".":return _e=Ee(),void(he="decimalPointLeading");case"0":return _e=Ee(),void(he="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return _e=Ee(),void(he="decimalInteger");case"I":return Ee(),Ce("nfinity"),ke("numeric",1/0);case"N":return Ee(),Ce("aN"),ke("numeric",NaN);case'"':case"'":return me='"'===Ee(),_e="",void(he="string")}throw xe(Ee())},identifierNameStartEscape(){if("u"!==Se)throw xe(Ee());Ee();const e=Ae();switch(e){case"$":case"_":break;default:if(!re(e))throw Ne()}_e+=e,he="identifierName"},identifierName(){switch(Se){case"$":case"_":case"‌":case"‍":return void(_e+=Ee());case"\\":return Ee(),void(he="identifierNameEscape")}if(!te(Se))return ke("identifier",_e);_e+=Ee()},identifierNameEscape(){if("u"!==Se)throw xe(Ee());Ee();const e=Ae();switch(e){case"$":case"_":case"‌":case"‍":break;default:if(!te(e))throw Ne()}_e+=e,he="identifierName"},sign(){switch(Se){case".":return _e=Ee(),void(he="decimalPointLeading");case"0":return _e=Ee(),void(he="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return _e=Ee(),void(he="decimalInteger");case"I":return Ee(),Ce("nfinity"),ke("numeric",pe*(1/0));case"N":return Ee(),Ce("aN"),ke("numeric",NaN)}throw xe(Ee())},zero(){switch(Se){case".":return _e+=Ee(),void(he="decimalPoint");case"e":case"E":return _e+=Ee(),void(he="decimalExponent");case"x":case"X":return _e+=Ee(),void(he="hexadecimal")}return ke("numeric",0*pe)},decimalInteger(){switch(Se){case".":return _e+=Ee(),void(he="decimalPoint");case"e":case"E":return _e+=Ee(),void(he="decimalExponent")}if(!ae(Se))return ke("numeric",pe*Number(_e));_e+=Ee()},decimalPointLeading(){if(ae(Se))return _e+=Ee(),void(he="decimalFraction");throw xe(Ee())},decimalPoint(){switch(Se){case"e":case"E":return _e+=Ee(),void(he="decimalExponent")}return ae(Se)?(_e+=Ee(),void(he="decimalFraction")):ke("numeric",pe*Number(_e))},decimalFraction(){switch(Se){case"e":case"E":return _e+=Ee(),void(he="decimalExponent")}if(!ae(Se))return ke("numeric",pe*Number(_e));_e+=Ee()},decimalExponent(){switch(Se){case"+":case"-":return _e+=Ee(),void(he="decimalExponentSign")}if(ae(Se))return _e+=Ee(),void(he="decimalExponentInteger");throw xe(Ee())},decimalExponentSign(){if(ae(Se))return _e+=Ee(),void(he="decimalExponentInteger");throw xe(Ee())},decimalExponentInteger(){if(!ae(Se))return ke("numeric",pe*Number(_e));_e+=Ee()},hexadecimal(){if(ne(Se))return _e+=Ee(),void(he="hexadecimalInteger");throw xe(Ee())},hexadecimalInteger(){if(!ne(Se))return ke("numeric",pe*Number(_e));_e+=Ee()},string(){switch(Se){case"\\":return Ee(),void(_e+=function(){switch(we()){case"b":return Ee(),"\b";case"f":return Ee(),"\f";case"n":return Ee(),"\n";case"r":return Ee(),"\r";case"t":return Ee(),"\t";case"v":return Ee(),"\v";case"0":if(Ee(),ae(we()))throw xe(Ee());return"\0";case"x":return Ee(),function(){let e="",r=we();if(!ne(r))throw xe(Ee());if(e+=Ee(),r=we(),!ne(r))throw xe(Ee());return e+=Ee(),String.fromCodePoint(parseInt(e,16))}();case"u":return Ee(),Ae();case"\n":case"\u2028":case"\u2029":return Ee(),"";case"\r":return Ee(),"\n"===we()&&Ee(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw xe(Ee())}return Ee()}());case'"':return me?(Ee(),ke("string",_e)):void(_e+=Ee());case"'":return me?void(_e+=Ee()):(Ee(),ke("string",_e));case"\n":case"\r":throw xe(Ee());case"\u2028":case"\u2029":!function(e){console.warn(`JSON5: '${Re(e)}' in strings is not valid ECMAScript; consider escaping`)}(Se);break;case void 0:throw xe(Ee())}_e+=Ee()},start(){switch(Se){case"{":case"[":return ke("punctuator",Ee())}he="value"},beforePropertyName(){switch(Se){case"$":case"_":return _e=Ee(),void(he="identifierName");case"\\":return Ee(),void(he="identifierNameStartEscape");case"}":return ke("punctuator",Ee());case'"':case"'":return me='"'===Ee(),void(he="string")}if(re(Se))return _e+=Ee(),void(he="identifierName");throw xe(Ee())},afterPropertyName(){if(":"===Se)return ke("punctuator",Ee());throw xe(Ee())},beforePropertyValue(){he="value"},afterPropertyValue(){switch(Se){case",":case"}":return ke("punctuator",Ee())}throw xe(Ee())},beforeArrayValue(){if("]"===Se)return ke("punctuator",Ee());he="value"},afterArrayValue(){switch(Se){case",":case"]":return ke("punctuator",Ee())}throw xe(Ee())},end(){throw xe(Ee())}};function ke(e,r){return{type:e,value:r,line:ue,column:ce}}function Ce(e){for(const r of e){if(we()!==r)throw xe(Ee());Ee()}}function Ae(){let e="",r=4;for(;r-- >0;){const r=we();if(!ne(r))throw xe(Ee());e+=Ee()}return String.fromCodePoint(parseInt(e,16))}const Me={start(){if("eof"===fe.type)throw Te();De()},beforePropertyName(){switch(fe.type){case"identifier":case"string":return ve=fe.value,void(oe="afterPropertyName");case"punctuator":return void He();case"eof":throw Te()}},afterPropertyName(){if("eof"===fe.type)throw Te();oe="beforePropertyValue"},beforePropertyValue(){if("eof"===fe.type)throw Te();De()},beforeArrayValue(){if("eof"===fe.type)throw Te();"punctuator"!==fe.type||"]"!==fe.value?De():He()},afterPropertyValue(){if("eof"===fe.type)throw Te();switch(fe.value){case",":return void(oe="beforePropertyName");case"}":He()}},afterArrayValue(){if("eof"===fe.type)throw Te();switch(fe.value){case",":return void(oe="beforeArrayValue");case"]":He()}},end(){}};function De(){let e;switch(fe.type){case"punctuator":switch(fe.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=fe.value}if(void 0===de)de=e;else{const r=se[se.length-1];Array.isArray(r)?r.push(e):r[ve]=e}if(null!==e&&"object"==typeof e)se.push(e),oe=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{const e=se[se.length-1];oe=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}}function He(){se.pop();const e=se[se.length-1];oe=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function xe(e){return Oe(void 0===e?`JSON5: invalid end of input at ${ue}:${ce}`:`JSON5: invalid character '${Re(e)}' at ${ue}:${ce}`)}function Te(){return Oe(`JSON5: invalid end of input at ${ue}:${ce}`)}function Ne(){return ce-=5,Oe(`JSON5: invalid identifier character at ${ue}:${ce}`)}function Re(e){const r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(r[e])return r[e];if(e<" "){const r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function Oe(e){const r=new SyntaxError(e);return r.lineNumber=ue,r.columnNumber=ce,r}const Ie={parse:function(e,r){ie=String(e),oe="start",se=[],le=0,ue=1,ce=0,fe=void 0,ve=void 0,de=void 0;do{fe=be(),Me[oe]()}while("eof"!==fe.type);return"function"==typeof r?ge({"":de},"",r):de},stringify:function(e,r,t){const a=[];let n,i,o,s="",l="";if(null==r||"object"!=typeof r||Array.isArray(r)||(t=r.space,o=r.quote,r=r.replacer),"function"==typeof r)i=r;else if(Array.isArray(r)){n=[];for(const e of r){let r;"string"==typeof e?r=e:("number"==typeof e||e instanceof String||e instanceof Number)&&(r=String(e)),void 0!==r&&n.indexOf(r)<0&&n.push(r)}}return t instanceof Number?t=Number(t):t instanceof String&&(t=String(t)),"number"==typeof t?t>0&&(t=Math.min(10,Math.floor(t)),l="          ".substr(0,t)):"string"==typeof t&&(l=t.substr(0,10)),function e(r,t){let o=t[r];switch(null!=o&&("function"==typeof o.toJSON5?o=o.toJSON5(r):"function"==typeof o.toJSON&&(o=o.toJSON(r))),i&&(o=i.call(t,r,o)),o instanceof Number?o=Number(o):o instanceof String?o=String(o):o instanceof Boolean&&(o=o.valueOf()),o){case null:return"null";case!0:return"true";case!1:return"false"}return"string"==typeof o?u(o):"number"==typeof o?String(o):"object"==typeof o?Array.isArray(o)?function(r){if(a.indexOf(r)>=0)throw TypeError("Converting circular structure to JSON5");a.push(r);let t=s;s+=l;let n,i=[];for(let t=0;t<r.length;t++){const a=e(String(t),r);i.push(void 0!==a?a:"null")}if(0===i.length)n="[]";else if(""===l)n="["+i.join(",")+"]";else{let e=",\n"+s,r=i.join(e);n="[\n"+s+r+",\n"+t+"]"}return a.pop(),s=t,n}(o):function(r){if(a.indexOf(r)>=0)throw TypeError("Converting circular structure to JSON5");a.push(r);let t=s;s+=l;let i,o=n||Object.keys(r),u=[];for(const t of o){const a=e(t,r);if(void 0!==a){let e=c(t)+":";""!==l&&(e+=" "),e+=a,u.push(e)}}if(0===u.length)i="{}";else{let e;if(""===l)e=u.join(","),i="{"+e+"}";else{let r=",\n"+s;e=u.join(r),i="{\n"+s+e+",\n"+t+"}"}}return a.pop(),s=t,i}(o):void 0}("",{"":e});function u(e){const r={"'":.1,'"':.2},t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let a="";for(let n=0;n<e.length;n++){const i=e[n];switch(i){case"'":case'"':r[i]++,a+=i;continue;case"\0":if(ae(e[n+1])){a+="\\x00";continue}}if(t[i])a+=t[i];else if(i<" "){let e=i.charCodeAt(0).toString(16);a+="\\x"+("00"+e).substring(e.length)}else a+=i}const n=o||Object.keys(r).reduce(((e,t)=>r[e]<r[t]?e:t));return a=a.replace(new RegExp(n,"g"),t[n]),n+a+n}function c(e){if(0===e.length)return u(e);const r=String.fromCodePoint(e.codePointAt(0));if(!re(r))return u(e);for(let t=r.length;t<e.length;t++)if(!te(String.fromCodePoint(e.codePointAt(t))))return u(e);return e}}},Fe=Ie;function Le(e,r=!1){let t=" ";e.children.length>0&&(t=e.isCollapsed?"▸":"▾");let a="";null!==e.key&&(a=` key="${e.key}"`);let n=null;null!==e.hocDisplayNames&&(n=[...e.hocDisplayNames]);const i=null===n?"":` [${n.join("][")}]`;let o="";return r&&(o=` (${e.isCollapsed?1:e.weight})`),`${"  ".repeat(e.depth+1)}${t} <${e.displayName||"null"}${a}>${i}${o}`}function Pe(e){return"string"==typeof e&&e.length>=2&&"'"===e.charAt(0)&&"'"===e.charAt(e.length-1)?'"'+e.slice(1,e.length-1)+'"':e}function ze(e){switch(e){case"Infinity":return 1/0;case"NaN":return NaN;case"undefined":return;default:return Fe.parse(Pe(e))}}function Be(e){if("number"==typeof e){if(Number.isNaN(e))return"NaN";if(!Number.isFinite(e))return"Infinity"}else if(void 0===e)return"undefined";return JSON.stringify(e)}const Ve=/\n\s+at /,Ue=/([^\s]+) \((.+):(.+):(.+)\)/,We=["var(--color-commit-gradient-0)","var(--color-commit-gradient-1)","var(--color-commit-gradient-2)","var(--color-commit-gradient-3)","var(--color-commit-gradient-4)","var(--color-commit-gradient-5)","var(--color-commit-gradient-6)","var(--color-commit-gradient-7)","var(--color-commit-gradient-8)","var(--color-commit-gradient-9)"],$e=e=>{const r=We.length-1;let t;return t=Number.isNaN(e)?0:Number.isFinite(e)?Math.max(0,Math.min(r,e))*r:r,We[Math.round(t)]},je=e=>Math.round(10*e)/10||"<0.1",Xe=e=>Math.round(Math.round(e)/100)/10,Ke=(e,r,t,a)=>(n,i)=>r-e==0?i:(n-e)/(r-e)*(a-t),Ge=(e,...r)=>{d.p&&console.log(`%cCommitTreeBuilder %c${e}`,"color: pink; font-weight: bold;","font-weight: bold;",...r)},Ye=new Map;function qe({commitIndex:e,profilerStore:r,rootID:t}){Ye.has(t)||Ye.set(t,[]);const a=Ye.get(t);if(e<a.length)return a[e];const{profilingData:n}=r;if(null===n)throw Error("No profiling data available");const i=n.dataForRoots.get(t);if(null==i)throw Error(`Could not find profiling data for root "${t}"`);const{operations:o}=i;if(o.length<=e)throw Error(`getCommitTree(): Invalid commit "${e}" for root "${t}". There are only "${o.length}" commits.`);let s=null;for(let r=a.length;r<=e;r++)if(0===r){const e=new Map;Qe(t,0,e,i),null!=o&&r<o.length&&(s=Ze({nodes:e,rootID:t},o[r]),d.p&&Je(s),a.push(s))}else s=Ze(a[r-1],o[r]),d.p&&Je(s),a.push(s);return s}function Qe(e,r,t,a){const n=a.snapshots.get(e);null!=n&&(t.set(e,{id:e,children:n.children,displayName:n.displayName,hocDisplayNames:n.hocDisplayNames,key:n.key,parentID:r,treeBaseDuration:a.initialTreeBaseDurations.get(e),type:n.type}),n.children.forEach((r=>Qe(r,e,t,a))))}function Ze(e,r){const t=new Map(e.nodes),a=e=>{const r=Object.assign({},t.get(e));return t.set(e,r),r};let n=2,i=null;const o=[null],s=r[n++],l=n+s;for(;n<l;){const e=r[n++],t=U(r.slice(n,n+e));o.push(t),n+=e}for(;n<r.length;){const e=r[n];switch(e){case d.G2:{i=r[n+1];const e=r[n+2];if(n+=3,t.has(i))throw new Error(`Commit tree already contains fiber "${i}". This is a bug in React DevTools.`);if(e===E){n++,n++,n++,n++,d.p&&Ge("Add",`new root fiber ${i}`);const r={children:[],displayName:null,hocDisplayNames:null,id:i,key:null,parentID:0,treeBaseDuration:0,type:e};t.set(i,r)}else{const s=r[n];n++,n++;const l=o[r[n]];n++;const u=o[r[n]];n++,d.p&&Ge("Add",`fiber ${i} (${l||"null"}) as child of ${s}`);const c=a(s);c.children=c.children.concat(i);const f={children:[],displayName:l,hocDisplayNames:null,id:i,key:u,parentID:s,treeBaseDuration:0,type:e};t.set(i,f)}break}case d.rA:{const e=r[n+1];n+=2;for(let o=0;o<e;o++){if(i=r[n],n++,!t.has(i))throw new Error(`Commit tree does not contain fiber "${i}". This is a bug in React DevTools.`);const e=a(i).parentID;if(t.delete(i),t.has(e)){const r=a(e);d.p&&Ge("Remove",`fiber ${i} from parent ${e}`),r.children=r.children.filter((e=>e!==i))}}break}case d.Nn:throw Error("Operation REMOVE_ROOT is not supported while profiling.");case d.eU:{i=r[n+1];const e=r[n+2],t=r.slice(n+3,n+3+e);n=n+3+e,d.p&&Ge("Re-order",`fiber ${i} children ${t.join(",")}`),a(i).children=Array.from(t);break}case d.Ay:{i=r[n+1];const e=r[n+1];n+=3,d.p&&Ge("Subtree mode",`Subtree with root ${i} set to mode ${e}`);break}case d.Km:{i=r[n+1];const e=a(i);e.treeBaseDuration=r[n+2]/1e3,d.p&&Ge("Update",`fiber ${i} treeBaseDuration to ${e.treeBaseDuration}`),n+=3;break}case d.ah:{i=r[n+1];const e=r[n+2],t=r[n+3];n+=4,d.p&&Ge("Warnings and Errors update",`fiber ${i} has ${e} errors and ${t} warnings`);break}default:throw Error(`Unsupported Bridge operation "${e}"`)}}return{nodes:t,rootID:e.rootID}}const Je=e=>{if(d.p){const{nodes:r,rootID:t}=e;console.group("__printTree()");const a=[t,0];for(;a.length>0;){const e=a.shift(),t=a.shift(),n=r.get(e);if(null==n)throw Error(`Could not find node with id "${e}" in commit tree`);console.log(`${"•".repeat(t)}${n.id}:${n.displayName||""} ${n.key?`key:"${n.key}"`:""} (${n.treeBaseDuration})`),n.children.forEach((e=>{a.push(e,t+1)}))}console.groupEnd()}},er=new Map,rr=new Map;function tr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class ar{constructor(e){tr(this,"_fiberCommits",new Map),tr(this,"getCommitTree",(({commitIndex:e,rootID:r})=>qe({commitIndex:e,profilerStore:this._profilerStore,rootID:r}))),tr(this,"getFiberCommits",(({fiberID:e,rootID:r})=>{const t=this._fiberCommits.get(e);if(null!=t)return t;const a=[];return this._profilerStore.getDataForRoot(r).commitData.forEach(((r,t)=>{r.fiberActualDurations.has(e)&&a.push(t)})),this._fiberCommits.set(e,a),a})),tr(this,"getFlamegraphChartData",(({commitIndex:e,commitTree:r,rootID:t})=>function({commitIndex:e,commitTree:r,profilerStore:t,rootID:a}){const n=t.getCommitData(a,e),{fiberActualDurations:i,fiberSelfDurations:o}=n,{nodes:s}=r,l=`${a}-${e}`;if(er.has(l))return er.get(l);const u=new Map,c=new Set,f=[];let v=0,d=0;const h=(e,r,t)=>{u.set(e,t);const a=s.get(e);if(null==a)throw Error(`Could not find node with id "${e}" in commit tree`);const{children:n,displayName:l,hocDisplayNames:c,key:_,treeBaseDuration:m}=a,p=i.get(e)||0,S=o.get(e)||0,g=i.has(e),b=l||"Anonymous",w=null!==_?` key="${_}"`:"";let E="";null!==c&&c.length>0&&(E=` (${c[0]})`);let y=`${b}${E}${w}`;g&&(y+=` (${je(S)}ms of ${je(p)}ms)`),v=Math.max(v,t),d=Math.max(d,S);const k={actualDuration:p,didRender:g,id:e,label:y,name:b,offset:r-m,selfDuration:S,treeBaseDuration:m};t>f.length?f.push([k]):f[t-1].push(k);for(let e=n.length-1;e>=0;e--){const a=n[e];r-=h(a,r,t+1).treeBaseDuration}return k};let _=0;if(s.size>0){const e=s.get(a);if(null==e)throw Error(`Could not find root node with id "${a}" in commit tree`);for(let r=e.children.length-1;r>=0;r--){const t=e.children[r],a=s.get(t);if(null==a)throw Error(`Could not find node with id "${t}" in commit tree`);_+=a.treeBaseDuration,h(t,_,1)}i.forEach(((e,r)=>{let t=s.get(r);if(null!=t){let e=t.parentID;for(;0!==e&&!c.has(e);)c.add(e),t=s.get(e),e=null!=t?t.parentID:0}}))}const m={baseDuration:_,depth:v,idToDepthMap:u,maxSelfDuration:d,renderPathNodes:c,rows:f};return er.set(l,m),m}({commitIndex:e,commitTree:r,profilerStore:this._profilerStore,rootID:t}))),tr(this,"getRankedChartData",(({commitIndex:e,commitTree:r,rootID:t})=>function({commitIndex:e,commitTree:r,profilerStore:t,rootID:a}){const n=t.getCommitData(a,e),{fiberActualDurations:i,fiberSelfDurations:o}=n,{nodes:s}=r,l=`${a}-${e}`;if(rr.has(l))return rr.get(l);let u=0;const c=[];i.forEach(((e,r)=>{const t=s.get(r);if(null==t)throw Error(`Could not find node with id "${r}" in commit tree`);const{displayName:a,key:n,parentID:i,type:l}=t;if(0===i)return;const f=o.get(r)||0;u=Math.max(u,f);const v=a||"Anonymous";let d="";l===p?d=" (ForwardRef)":l===g&&(d=" (Memo)");const h=`${v}${d}${null!==n?` key="${n}"`:""} (${je(f)}ms)`;c.push({id:r,label:h,name:v,value:f})}));const f={maxValue:u,nodes:c.sort(((e,r)=>r.value-e.value))};return rr.set(l,f),f}({commitIndex:e,commitTree:r,profilerStore:this._profilerStore,rootID:t}))),this._profilerStore=e}invalidate(){this._fiberCommits.clear(),Ye.clear(),er.clear(),rr.clear()}}function nr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class ir extends o{constructor(e,r,t){super(),nr(this,"_dataBackends",[]),nr(this,"_dataFrontend",null),nr(this,"_initialRendererIDs",new Set),nr(this,"_initialSnapshotsByRootID",new Map),nr(this,"_inProgressOperationsByRootID",new Map),nr(this,"_isProfiling",!1),nr(this,"_rendererIDsThatReportedProfilingData",new Set),nr(this,"_rendererQueue",new Set),nr(this,"_takeProfilingSnapshotRecursive",((e,r)=>{const t=this._store.getElementByID(e);if(null!==t){const a={id:e,children:t.children.slice(0),displayName:t.displayName,hocDisplayNames:t.hocDisplayNames,key:t.key,type:t.type};r.set(e,a),t.children.forEach((e=>this._takeProfilingSnapshotRecursive(e,r)))}})),nr(this,"onBridgeOperations",(e=>{const r=e[0],t=e[1];if(this._isProfiling){let a=this._inProgressOperationsByRootID.get(t);null==a?(a=[e],this._inProgressOperationsByRootID.set(t,a)):a.push(e),this._initialRendererIDs.has(r)||this._initialRendererIDs.add(r),this._initialSnapshotsByRootID.has(t)||this._initialSnapshotsByRootID.set(t,new Map),this._rendererIDsThatReportedProfilingData.add(r)}})),nr(this,"onBridgeProfilingData",(e=>{if(this._isProfiling)return;const{rendererID:r}=e;if(!this._rendererQueue.has(r))throw Error(`Unexpected profiling data update from renderer "${r}"`);this._dataBackends.push(e),this._rendererQueue.delete(r),0===this._rendererQueue.size&&(this._dataFrontend=function(e,r,t){const a=new Map,n=[];return e.forEach((e=>{const{timelineData:i}=e;if(null!=i){const{batchUIDToMeasuresKeyValueArray:e,internalModuleSourceToRanges:r,laneToLabelKeyValueArray:t,laneToReactMeasureKeyValueArray:a,...o}=i;n.push({...o,batchUIDToMeasuresMap:new Map(e),internalModuleSourceToRanges:new Map(r),laneToLabelMap:new Map(t),laneToReactMeasureMap:new Map(a)})}e.dataForRoots.forEach((({commitData:e,displayName:n,initialTreeBaseDurations:i,rootID:o})=>{const s=r.get(o);if(null==s)throw Error(`Could not find profiling operations for root "${o}"`);const l=t.get(o);if(null==l)throw Error(`Could not find profiling snapshots for root "${o}"`);const u=e.map(((e,r)=>({changeDescriptions:null!=e.changeDescriptions?new Map(e.changeDescriptions):null,duration:e.duration,effectDuration:e.effectDuration,fiberActualDurations:new Map(e.fiberActualDurations),fiberSelfDurations:new Map(e.fiberSelfDurations),passiveEffectDuration:e.passiveEffectDuration,priorityLevel:e.priorityLevel,timestamp:e.timestamp,updaters:null!==e.updaters?e.updaters.map((e=>{const[r,t]=X(e.displayName,e.type);return{...e,displayName:r,hocDisplayNames:t}})):null})));a.set(o,{commitData:u,displayName:n,initialTreeBaseDurations:new Map(i),operations:s,rootID:o,snapshots:l})}))})),{dataForRoots:a,imported:!1,timelineData:n}}(this._dataBackends,this._inProgressOperationsByRootID,this._initialSnapshotsByRootID),this._dataBackends.splice(0),this.emit("isProcessingData"))})),nr(this,"onBridgeShutdown",(()=>{this._bridge.removeListener("operations",this.onBridgeOperations),this._bridge.removeListener("profilingData",this.onBridgeProfilingData),this._bridge.removeListener("profilingStatus",this.onProfilingStatus),this._bridge.removeListener("shutdown",this.onBridgeShutdown)})),nr(this,"onProfilingStatus",(e=>{if(e){this._dataBackends.splice(0),this._dataFrontend=null,this._initialRendererIDs.clear(),this._initialSnapshotsByRootID.clear(),this._inProgressOperationsByRootID.clear(),this._rendererIDsThatReportedProfilingData.clear(),this._rendererQueue.clear();for(const e of this._store.rootIDToRendererID.values())this._initialRendererIDs.has(e)||this._initialRendererIDs.add(e);this._store.roots.forEach((e=>{const r=new Map;this._initialSnapshotsByRootID.set(e,r),this._takeProfilingSnapshotRecursive(e,r)}))}this._isProfiling!==e&&(this._isProfiling=e,this._cache.invalidate(),this.emit("isProfiling"),e||(this._dataBackends.splice(0),this._rendererQueue.clear(),this._rendererIDsThatReportedProfilingData.forEach((e=>{this._rendererQueue.has(e)||(this._rendererQueue.add(e),this._bridge.send("getProfilingData",{rendererID:e}))})),this.emit("isProcessingData")))})),this._bridge=e,this._isProfiling=t,this._store=r,e.addListener("operations",this.onBridgeOperations),e.addListener("profilingData",this.onBridgeProfilingData),e.addListener("profilingStatus",this.onProfilingStatus),e.addListener("shutdown",this.onBridgeShutdown),e.send("getProfilingStatus"),this._cache=new ar(this)}getCommitData(e,r){if(null!==this._dataFrontend){const t=this._dataFrontend.dataForRoots.get(e);if(null!=t){const e=t.commitData[r];if(null!=e)return e}}throw Error(`Could not find commit data for root "${e}" and commit "${r}"`)}getDataForRoot(e){if(null!==this._dataFrontend){const r=this._dataFrontend.dataForRoots.get(e);if(null!=r)return r}throw Error(`Could not find commit data for root "${e}"`)}get didRecordCommits(){return null!==this._dataFrontend&&this._dataFrontend.dataForRoots.size>0}get isProcessingData(){return this._rendererQueue.size>0||this._dataBackends.length>0}get isProfiling(){return this._isProfiling}get profilingCache(){return this._cache}get profilingData(){return this._dataFrontend}set profilingData(e){this._isProfiling?console.warn("Profiling data cannot be updated while profiling is in progress."):(this._dataBackends.splice(0),this._dataFrontend=e,this._initialRendererIDs.clear(),this._initialSnapshotsByRootID.clear(),this._inProgressOperationsByRootID.clear(),this._cache.invalidate(),this.emit("profilingData"))}clear(){this._dataBackends.splice(0),this._dataFrontend=null,this._initialRendererIDs.clear(),this._initialSnapshotsByRootID.clear(),this._inProgressOperationsByRootID.clear(),this._rendererQueue.clear(),this._cache.invalidate(),this.emit("profilingData")}startProfiling(){this._bridge.send("startProfiling",this._store.recordChangeDescriptions)}stopProfiling(){this._bridge.send("stopProfiling")}}class or extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,or),this.name="UnsupportedBridgeOperationError"}}function sr(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const lr=(e,...r)=>{d.p&&console.log(`%cStore %c${e}`,"color: green; font-weight: bold;","font-weight: bold;",...r)},ur="React::DevTools::collapseNodesByDefault",cr="React::DevTools::recordChangeDescriptions";class fr extends o{constructor(e,r){super(),sr(this,"_backendVersion",null),sr(this,"_cachedErrorCount",0),sr(this,"_cachedWarningCount",0),sr(this,"_cachedErrorAndWarningTuples",null),sr(this,"_collapseNodesByDefault",!0),sr(this,"_errorsAndWarnings",new Map),sr(this,"_hasOwnerMetadata",!1),sr(this,"_idToElement",new Map),sr(this,"_isNativeStyleEditorSupported",!1),sr(this,"_isBackendStorageAPISupported",!1),sr(this,"_isSynchronousXHRSupported",!1),sr(this,"_nativeStyleEditorValidAttributes",null),sr(this,"_onBridgeProtocolTimeoutID",null),sr(this,"_ownersMap",new Map),sr(this,"_recordChangeDescriptions",!1),sr(this,"_revision",0),sr(this,"_roots",[]),sr(this,"_rootIDToCapabilities",new Map),sr(this,"_rootIDToRendererID",new Map),sr(this,"_supportsNativeInspection",!0),sr(this,"_supportsProfiling",!1),sr(this,"_supportsReloadAndProfile",!1),sr(this,"_supportsTimeline",!1),sr(this,"_supportsTraceUpdates",!1),sr(this,"_rootSupportsBasicProfiling",!1),sr(this,"_rootSupportsTimelineProfiling",!1),sr(this,"_bridgeProtocol",null),sr(this,"_unsupportedBridgeProtocolDetected",!1),sr(this,"_unsupportedRendererVersionDetected",!1),sr(this,"_weightAcrossRoots",0),sr(this,"_adjustParentTreeWeight",((e,r)=>{let t=!1;for(;null!=e;){if(e.weight+=r,e.isCollapsed){t=!0;break}e=this._idToElement.get(e.parentID)}t||(this._weightAcrossRoots+=r)})),sr(this,"onBridgeNativeStyleEditorSupported",(({isSupported:e,validAttributes:r})=>{this._isNativeStyleEditorSupported=e,this._nativeStyleEditorValidAttributes=r||null,this.emit("supportsNativeStyleEditor")})),sr(this,"onBridgeOperations",(e=>{d.p&&(console.groupCollapsed("onBridgeOperations"),lr("onBridgeOperations",e.join(",")));let r=!1,t=!1;const a=e[0],n=[],i=new Map;let o=2;const s=[null],l=e[o];o++;const u=o+l;for(;o<u;){const r=e[o];o++;const t=U(e.slice(o,o+r));s.push(t),o+=r}for(;o<e.length;){const l=e[o];switch(l){case d.G2:{const t=e[o+1],i=e[o+2];if(o+=3,this._idToElement.has(t)&&this._throwAndEmitError(Error(`Cannot add node "${t}" because a node with that id is already in the Store.`)),i===E){d.p&&lr("Add",`new root node ${t}`);const n=e[o]>0;o++;const s=0!=(e[o]&d.rG),l=0!=(e[o]&d.Ke);o++;let u=!1,c=!1;(null===this._bridgeProtocol||this._bridgeProtocol.version>=2)&&(u=e[o]>0,o++,c=e[o]>0,o++),this._roots=this._roots.concat(t),this._rootIDToRendererID.set(t,a),this._rootIDToCapabilities.set(t,{supportsBasicProfiling:s,hasOwnerMetadata:c,supportsStrictMode:u,supportsTimeline:l});const f=!n&&u;this._idToElement.set(t,{children:[],depth:-1,displayName:null,hocDisplayNames:null,id:t,isCollapsed:!1,isStrictModeNonCompliant:f,key:null,ownerID:0,parentID:0,type:i,weight:0}),r=!0}else{const r=e[o];o++;const a=e[o];o++;const l=s[e[o]];o++;const u=s[e[o]];o++,d.p&&lr("Add",`node ${t} (${l||"null"}) as child of ${r}`);const c=this._idToElement.get(r);if(void 0===c){this._throwAndEmitError(Error(`Cannot add child "${t}" to parent "${r}" because parent node was not found in the Store.`));continue}c.children.push(t);const[f,v]=X(l,i),h={children:[],depth:c.depth+1,displayName:f,hocDisplayNames:v,id:t,isCollapsed:this._collapseNodesByDefault,isStrictModeNonCompliant:c.isStrictModeNonCompliant,key:u,ownerID:a,parentID:r,type:i,weight:1};if(this._idToElement.set(t,h),n.push(t),this._adjustParentTreeWeight(c,1),a>0){let e=this._ownersMap.get(a);void 0===e&&(e=new Set,this._ownersMap.set(a,e)),e.add(t)}}break}case d.rA:{const a=e[o+1];o+=2;for(let n=0;n<a;n++){const a=e[o],n=this._idToElement.get(a);if(void 0===n){this._throwAndEmitError(Error(`Cannot remove node "${a}" because no matching node was found in the Store.`));continue}o+=1;const{children:s,ownerID:l,parentID:u,weight:c}=n;s.length>0&&this._throwAndEmitError(Error(`Node "${a}" was removed before its children.`)),this._idToElement.delete(a);let f=null;if(0===u)d.p&&lr("Remove",`node ${a} root`),this._roots=this._roots.filter((e=>e!==a)),this._rootIDToRendererID.delete(a),this._rootIDToCapabilities.delete(a),r=!0;else{if(d.p&&lr("Remove",`node ${a} from parent ${u}`),f=this._idToElement.get(u),void 0===f){this._throwAndEmitError(Error(`Cannot remove node "${a}" from parent "${u}" because no matching node was found in the Store.`));continue}const e=f.children.indexOf(a);f.children.splice(e,1)}if(this._adjustParentTreeWeight(f,-c),i.set(a,u),this._ownersMap.delete(a),l>0){const e=this._ownersMap.get(l);void 0!==e&&e.delete(a)}this._errorsAndWarnings.has(a)&&(this._errorsAndWarnings.delete(a),t=!0)}break}case d.Nn:{o+=1;const r=e[1];d.p&&lr(`Remove root ${r}`);const t=e=>{const r=this._idToElement.get(e);if(this._idToElement.delete(e),r)for(let e=0;e<r.children.length;e++)t(r.children[e])},a=this._idToElement.get(r);t(r),this._rootIDToCapabilities.delete(r),this._rootIDToRendererID.delete(r),this._roots=this._roots.filter((e=>e!==r)),this._weightAcrossRoots-=a.weight;break}case d.eU:{const r=e[o+1],t=e[o+2];o+=3;const a=this._idToElement.get(r);if(void 0===a){this._throwAndEmitError(Error(`Cannot reorder children for node "${r}" because no matching node was found in the Store.`));continue}const n=a.children;n.length!==t&&this._throwAndEmitError(Error("Children cannot be added or removed during a reorder operation."));for(let r=0;r<t;r++){const t=e[o+r];n[r]=t}o+=t,d.p&&lr("Re-order",`Node ${r} children ${n.join(",")}`);break}case d.Ay:{const r=e[o+1],t=e[o+2];o+=3,1===t&&this._recursivelyUpdateSubtree(r,(e=>{e.isStrictModeNonCompliant=!1})),d.p&&lr("Subtree mode",`Subtree with root ${r} set to mode ${t}`);break}case d.Km:o+=3;break;case d.ah:const u=e[o+1],c=e[o+2],f=e[o+3];o+=4,c>0||f>0?this._errorsAndWarnings.set(u,{errorCount:c,warningCount:f}):this._errorsAndWarnings.has(u)&&this._errorsAndWarnings.delete(u),t=!0;break;default:this._throwAndEmitError(new or(`Unsupported Bridge operation "${l}"`))}}if(this._revision++,this._cachedErrorAndWarningTuples=null,t){let e=0,r=0;this._errorsAndWarnings.forEach((t=>{e+=t.errorCount,r+=t.warningCount})),this._cachedErrorCount=e,this._cachedWarningCount=r}if(r){const e=this._rootSupportsBasicProfiling,r=this._rootSupportsTimelineProfiling;this._hasOwnerMetadata=!1,this._rootSupportsBasicProfiling=!1,this._rootSupportsTimelineProfiling=!1,this._rootIDToCapabilities.forEach((({supportsBasicProfiling:e,hasOwnerMetadata:r,supportsTimeline:t})=>{e&&(this._rootSupportsBasicProfiling=!0),r&&(this._hasOwnerMetadata=!0),t&&(this._rootSupportsTimelineProfiling=!0)})),this.emit("roots"),this._rootSupportsBasicProfiling!==e&&this.emit("rootSupportsBasicProfiling"),this._rootSupportsTimelineProfiling!==r&&this.emit("rootSupportsTimelineProfiling")}d.p&&(console.log(function(e,r=!1,t=null){const a=[];let n=0;function i(e){return null===t?"":t.selectedElementIndex===e?"→":" "}function o(r){const{errorCount:t,warningCount:a}=e.getErrorAndWarningCountForElementID(r.id);return 0===t&&0===a?"":` ${t>0?"✕":""}${a>0?"⚠":""}`}const s=null!==t?t.ownerFlatTree:null;if(null!==s)a.push("[owners]"+(r?` (${s.length})`:"")),s.forEach(((e,r)=>{const t=i(r),n=Le(e,!1),s=o(e);a.push(`${t}${n}${s}`)}));else{const t=e._errorsAndWarnings;if(t.size>0){let e=0,r=0;t.forEach((t=>{e+=t.errorCount,r+=t.warningCount})),a.push(`✕ ${e}, ⚠ ${r}`)}if(e.roots.forEach((t=>{const{weight:s}=e.getElementByID(t),l=r?` (${s})`:"";a.push(`[root]${l}`);for(let t=n;t<n+s;t++){const n=e.getElementAtIndex(t);if(null==n)throw Error(`Could not find element at index "${t}"`);const s=i(t),l=Le(n,r),u=o(n);a.push(`${s}${l}${u}`)}n+=s})),n!==e.numElements)throw Error(`Inconsistent Store state. Individual root weights ("${n}") do not match total weight ("${e.numElements}")`);e.assertExpectedRootMapSizes()}return a.join("\n")}(this,!0)),console.groupEnd()),this.emit("mutated",[n,i])})),sr(this,"onBridgeOverrideComponentFilters",(e=>{this._componentFilters=e,$(e)})),sr(this,"onBridgeShutdown",(()=>{d.p&&lr("onBridgeShutdown","unsubscribing from Bridge");const e=this._bridge;e.removeListener("operations",this.onBridgeOperations),e.removeListener("overrideComponentFilters",this.onBridgeOverrideComponentFilters),e.removeListener("shutdown",this.onBridgeShutdown),e.removeListener("isBackendStorageAPISupported",this.onBackendStorageAPISupported),e.removeListener("isNativeStyleEditorSupported",this.onBridgeNativeStyleEditorSupported),e.removeListener("isSynchronousXHRSupported",this.onBridgeSynchronousXHRSupported),e.removeListener("unsupportedRendererVersion",this.onBridgeUnsupportedRendererVersion),e.removeListener("backendVersion",this.onBridgeBackendVersion),e.removeListener("bridgeProtocol",this.onBridgeProtocol),e.removeListener("saveToClipboard",this.onSaveToClipboard),null!==this._onBridgeProtocolTimeoutID&&(clearTimeout(this._onBridgeProtocolTimeoutID),this._onBridgeProtocolTimeoutID=null)})),sr(this,"onBackendStorageAPISupported",(e=>{this._isBackendStorageAPISupported=e,this.emit("supportsReloadAndProfile")})),sr(this,"onBridgeSynchronousXHRSupported",(e=>{this._isSynchronousXHRSupported=e,this.emit("supportsReloadAndProfile")})),sr(this,"onBridgeUnsupportedRendererVersion",(()=>{this._unsupportedRendererVersionDetected=!0,this.emit("unsupportedRendererVersionDetected")})),sr(this,"onBridgeBackendVersion",(e=>{this._backendVersion=e,this.emit("backendVersion")})),sr(this,"onBridgeProtocol",(e=>{null!==this._onBridgeProtocolTimeoutID&&(clearTimeout(this._onBridgeProtocolTimeoutID),this._onBridgeProtocolTimeoutID=null),this._bridgeProtocol=e,e.version,u.version})),sr(this,"onBridgeProtocolTimeout",(()=>{this._onBridgeProtocolTimeoutID=null,this._bridgeProtocol=l[0],this.emit("unsupportedBridgeProtocolDetected")})),sr(this,"onSaveToClipboard",(e=>{(0,f.copy)(e)})),d.p&&lr("constructor","subscribing to Bridge"),this._collapseNodesByDefault="true"===R(ur),this._recordChangeDescriptions="true"===R(cr),this._componentFilters=W();let t=!1;if(null!=r){t=!0===r.isProfiling;const{supportsNativeInspection:e,supportsProfiling:a,supportsReloadAndProfile:n,supportsTimeline:i,supportsTraceUpdates:o}=r;this._supportsNativeInspection=!1!==e,a&&(this._supportsProfiling=!0),n&&(this._supportsReloadAndProfile=!0),i&&(this._supportsTimeline=!0),o&&(this._supportsTraceUpdates=!0)}this._bridge=e,e.addListener("operations",this.onBridgeOperations),e.addListener("overrideComponentFilters",this.onBridgeOverrideComponentFilters),e.addListener("shutdown",this.onBridgeShutdown),e.addListener("isBackendStorageAPISupported",this.onBackendStorageAPISupported),e.addListener("isNativeStyleEditorSupported",this.onBridgeNativeStyleEditorSupported),e.addListener("isSynchronousXHRSupported",this.onBridgeSynchronousXHRSupported),e.addListener("unsupportedRendererVersion",this.onBridgeUnsupportedRendererVersion),this._profilerStore=new ir(e,this,t),null!=r&&r.checkBridgeProtocolCompatibility&&(this._onBridgeProtocolTimeoutID=setTimeout(this.onBridgeProtocolTimeout,1e4),e.addListener("bridgeProtocol",this.onBridgeProtocol),e.send("getBridgeProtocol")),e.addListener("backendVersion",this.onBridgeBackendVersion),e.send("getBackendVersion"),e.addListener("saveToClipboard",this.onSaveToClipboard)}assertExpectedRootMapSizes(){0===this.roots.length&&(this.assertMapSizeMatchesRootCount(this._idToElement,"_idToElement"),this.assertMapSizeMatchesRootCount(this._ownersMap,"_ownersMap")),this.assertMapSizeMatchesRootCount(this._rootIDToCapabilities,"_rootIDToCapabilities"),this.assertMapSizeMatchesRootCount(this._rootIDToRendererID,"_rootIDToRendererID")}assertMapSizeMatchesRootCount(e,r){const t=this.roots.length;e.size!==t&&this._throwAndEmitError(Error(`Expected ${r} to contain ${t} items, but it contains ${e.size} items\n\n${(0,v.inspect)(e,{depth:20})}`))}get backendVersion(){return this._backendVersion}get collapseNodesByDefault(){return this._collapseNodesByDefault}set collapseNodesByDefault(e){this._collapseNodesByDefault=e,O(ur,e?"true":"false"),this.emit("collapseNodesByDefault")}get componentFilters(){return this._componentFilters}set componentFilters(e){this._profilerStore.isProfiling&&this._throwAndEmitError(Error("Cannot modify filter preferences while profiling"));const r=this._componentFilters.filter((e=>e.isEnabled)),t=e.filter((e=>e.isEnabled));let a=r.length!==t.length;if(!a)for(let e=0;e<t.length;e++)if(K(r[e],t[e])){a=!0;break}this._componentFilters=e,$(e),a&&this._bridge.send("updateComponentFilters",e),this.emit("componentFilters")}get bridgeProtocol(){return this._bridgeProtocol}get errorCount(){return this._cachedErrorCount}get hasOwnerMetadata(){return this._hasOwnerMetadata}get nativeStyleEditorValidAttributes(){return this._nativeStyleEditorValidAttributes}get numElements(){return this._weightAcrossRoots}get profilerStore(){return this._profilerStore}get recordChangeDescriptions(){return this._recordChangeDescriptions}set recordChangeDescriptions(e){this._recordChangeDescriptions=e,O(cr,e?"true":"false"),this.emit("recordChangeDescriptions")}get revision(){return this._revision}get rootIDToRendererID(){return this._rootIDToRendererID}get roots(){return this._roots}get rootSupportsBasicProfiling(){return this._rootSupportsBasicProfiling}get rootSupportsTimelineProfiling(){return this._rootSupportsTimelineProfiling}get supportsNativeInspection(){return this._supportsNativeInspection}get supportsNativeStyleEditor(){return this._isNativeStyleEditorSupported}get supportsProfiling(){return this._supportsProfiling}get supportsReloadAndProfile(){return this._supportsReloadAndProfile&&this._isBackendStorageAPISupported&&this._isSynchronousXHRSupported}get supportsTimeline(){return this._supportsTimeline}get supportsTraceUpdates(){return this._supportsTraceUpdates}get unsupportedBridgeProtocolDetected(){return this._unsupportedBridgeProtocolDetected}get unsupportedRendererVersionDetected(){return this._unsupportedRendererVersionDetected}get warningCount(){return this._cachedWarningCount}containsElement(e){return this._idToElement.has(e)}getElementAtIndex(e){if(e<0||e>=this.numElements)return console.warn(`Invalid index ${e} specified; store contains ${this.numElements} items.`),null;let r,t,a=0;for(let n=0;n<this._roots.length;n++)if(r=this._roots[n],t=this._idToElement.get(r),0!==t.children.length){if(a+t.weight>e)break;a+=t.weight}let n=t,i=a-1;for(;e!==i;){const r=n.children.length;for(let t=0;t<r;t++){const r=n.children[t],a=this._idToElement.get(r),o=a.isCollapsed?1:a.weight;if(e<=i+o){i++,n=a;break}i+=o}}return n||null}getElementIDAtIndex(e){const r=this.getElementAtIndex(e);return null===r?null:r.id}getElementByID(e){const r=this._idToElement.get(e);return void 0===r?(console.warn(`No element found with id "${e}"`),null):r}getElementsWithErrorsAndWarnings(){if(null!==this._cachedErrorAndWarningTuples)return this._cachedErrorAndWarningTuples;{const e=[];return this._errorsAndWarnings.forEach(((r,t)=>{const a=this.getIndexOfElementID(t);if(null!==a){let r=0,n=e.length;for(;r<n;){const t=r+n>>1;e[t].index>a?n=t:r=t+1}e.splice(r,0,{id:t,index:a})}})),this._cachedErrorAndWarningTuples=e,e}}getErrorAndWarningCountForElementID(e){return this._errorsAndWarnings.get(e)||{errorCount:0,warningCount:0}}getIndexOfElementID(e){const r=this.getElementByID(e);if(null===r||0===r.parentID)return null;let t=e,a=r.parentID,n=0;for(;;){const e=this._idToElement.get(a);if(void 0===e)return null;const{children:r}=e;for(let e=0;e<r.length;e++){const a=r[e];if(a===t)break;const i=this._idToElement.get(a);if(void 0===i)return null;n+=i.isCollapsed?1:i.weight}if(0===e.parentID)break;n++,t=e.id,a=e.parentID}for(let e=0;e<this._roots.length;e++){const r=this._roots[e];if(r===a)break;const t=this._idToElement.get(r);if(void 0===t)return null;n+=t.weight}return n}getOwnersListForElement(e){const r=[],t=this._idToElement.get(e);if(void 0!==t){r.push({...t,depth:0});const a=this._ownersMap.get(e);if(void 0!==a){const t=new Map([[e,0]]);Array.from(a).sort(((e,r)=>(this.getIndexOfElementID(e)||0)-(this.getIndexOfElementID(r)||0))).forEach((n=>{const i=this._idToElement.get(n);if(void 0!==i){let o=i.parentID,s=0;for(;o>0;){if(o===e||a.has(o)){s=t.get(o)+1,t.set(n,s);break}const r=this._idToElement.get(o);if(void 0===r)break;o=r.parentID}0===s&&this._throwAndEmitError(Error("Invalid owners list")),r.push({...i,depth:s})}}))}}return r}getRendererIDForElement(e){let r=this._idToElement.get(e);for(;void 0!==r;){if(0===r.parentID){const e=this._rootIDToRendererID.get(r.id);return null==e?null:e}r=this._idToElement.get(r.parentID)}return null}getRootIDForElement(e){let r=this._idToElement.get(e);for(;void 0!==r;){if(0===r.parentID)return r.id;r=this._idToElement.get(r.parentID)}return null}isInsideCollapsedSubTree(e){let r=this._idToElement.get(e);for(;null!=r;){if(0===r.parentID)return!1;if(r=this._idToElement.get(r.parentID),null!=r&&r.isCollapsed)return!0}return!1}toggleIsCollapsed(e,r){let t=!1;const a=this.getElementByID(e);if(null!==a){if(r){if(a.type===E&&this._throwAndEmitError(Error("Root nodes cannot be collapsed")),!a.isCollapsed){t=!0,a.isCollapsed=!0;const e=1-a.weight;let r=this._idToElement.get(a.parentID);for(;void 0!==r;)r.weight+=e,r=this._idToElement.get(r.parentID)}}else{let e=a;for(;null!=e;){const r=e.isCollapsed?1:e.weight;if(e.isCollapsed){t=!0,e.isCollapsed=!1;const a=(e.isCollapsed?1:e.weight)-r;let n=this._idToElement.get(e.parentID);for(;void 0!==n&&(n.weight+=a,!n.isCollapsed);)n=this._idToElement.get(n.parentID)}e=0!==e.parentID?this.getElementByID(e.parentID):null}}if(t){let e=0;this._roots.forEach((r=>{const{weight:t}=this.getElementByID(r);e+=t})),this._weightAcrossRoots=e,this.emit("mutated",[[],new Map])}}}_recursivelyUpdateSubtree(e,r){const t=this._idToElement.get(e);t&&(r(t),t.children.forEach((e=>this._recursivelyUpdateSubtree(e,r))))}_throwAndEmitError(e){throw this.emit("error",e),e}}var vr=a(1093),dr=a(9233);let hr=null,_r=null,mr=[];var pr=a(4033);const Sr=require("path"),gr=require("fs");a(7007),a(707);const br=(0,r.createContext)(null);br.displayName="BridgeContext";const wr=(0,r.createContext)(null);wr.displayName="StoreContext";const Er=(0,r.createContext)({isEnabledForInspectedElement:!1,viewAttributeSourceFunction:null});Er.displayName="ContextMenuContext";const yr=(0,r.createContext)({readOnly:!1,hideSettings:!1,hideToggleErrorAction:!1,hideToggleSuspenseAction:!1,hideLogAction:!1,hideViewSourceAction:!1});var kr=function(){function e(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(r,t,a){return t&&e(r.prototype,t),a&&e(r,a),r}}(),Cr=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ar=function(e,r){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!r||"object"!=typeof r&&"function"!=typeof r?e:r},Mr=void 0;Mr="undefined"!=typeof window?window:"undefined"!=typeof self?self:global;var Dr=null,Hr=null,xr=Mr.clearTimeout,Tr=Mr.setTimeout,Nr=Mr.cancelAnimationFrame||Mr.mozCancelAnimationFrame||Mr.webkitCancelAnimationFrame,Rr=Mr.requestAnimationFrame||Mr.mozRequestAnimationFrame||Mr.webkitRequestAnimationFrame;null==Nr||null==Rr?(Dr=xr,Hr=function(e){return Tr(e,20)}):(Dr=function(e){var r=function(e,r){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,r){var t=[],a=!0,n=!1,i=void 0;try{for(var o,s=e[Symbol.iterator]();!(a=(o=s.next()).done)&&(t.push(o.value),!r||t.length!==r);a=!0);}catch(e){n=!0,i=e}finally{try{!a&&s.return&&s.return()}finally{if(n)throw i}}return t}(e,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e,2),t=r[0],a=r[1];Nr(t),xr(a)},Hr=function(e){var r=Rr((function(){xr(t),e()})),t=Tr((function(){Nr(r),e()}),20);return[r,t]});var Or=function(e){function t(){var e,r,a;!function(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return r=a=Ar(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),a.state={height:a.props.defaultHeight||0,width:a.props.defaultWidth||0},a._onResize=function(){var e=a.props,r=e.disableHeight,t=e.disableWidth,n=e.onResize;if(a._parentNode){var i=a._parentNode.offsetHeight||0,o=a._parentNode.offsetWidth||0,s=window.getComputedStyle(a._parentNode)||{},l=parseInt(s.paddingLeft,10)||0,u=parseInt(s.paddingRight,10)||0,c=parseInt(s.paddingTop,10)||0,f=parseInt(s.paddingBottom,10)||0,v=i-c-f,d=o-l-u;(!r&&a.state.height!==v||!t&&a.state.width!==d)&&(a.setState({height:i-c-f,width:o-l-u}),n({height:i,width:o}))}},a._setRef=function(e){a._autoSizer=e},Ar(a,r)}return function(e,r){if("function"!=typeof r&&null!==r)throw new TypeError("Super expression must either be null or a function, not "+typeof r);e.prototype=Object.create(r&&r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),r&&(Object.setPrototypeOf?Object.setPrototypeOf(e,r):e.__proto__=r)}(t,e),kr(t,[{key:"componentDidMount",value:function(){var e=this.props.nonce;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._detectElementResize=function(e){var r=void 0,t=void 0,a=void 0,n=void 0,i=void 0,o=void 0,s=void 0,l="undefined"!=typeof document&&document.attachEvent;if(!l){o=function(e){var r=e.__resizeTriggers__,t=r.firstElementChild,a=r.lastElementChild,n=t.firstElementChild;a.scrollLeft=a.scrollWidth,a.scrollTop=a.scrollHeight,n.style.width=t.offsetWidth+1+"px",n.style.height=t.offsetHeight+1+"px",t.scrollLeft=t.scrollWidth,t.scrollTop=t.scrollHeight},i=function(e){return e.offsetWidth!==e.__resizeLast__.width||e.offsetHeight!==e.__resizeLast__.height},s=function(e){if(!(e.target.className&&"function"==typeof e.target.className.indexOf&&e.target.className.indexOf("contract-trigger")<0&&e.target.className.indexOf("expand-trigger")<0)){var r=this;o(this),this.__resizeRAF__&&Dr(this.__resizeRAF__),this.__resizeRAF__=Hr((function(){i(r)&&(r.__resizeLast__.width=r.offsetWidth,r.__resizeLast__.height=r.offsetHeight,r.__resizeListeners__.forEach((function(t){t.call(r,e)})))}))}};var u=!1,c="";a="animationstart";var f="Webkit Moz O ms".split(" "),v="webkitAnimationStart animationstart oAnimationStart MSAnimationStart".split(" "),d=document.createElement("fakeelement");if(void 0!==d.style.animationName&&(u=!0),!1===u)for(var h=0;h<f.length;h++)if(void 0!==d.style[f[h]+"AnimationName"]){c="-"+f[h].toLowerCase()+"-",a=v[h],u=!0;break}r="@"+c+"keyframes "+(t="resizeanim")+" { from { opacity: 0; } to { opacity: 0; } } ",n=c+"animation: 1ms "+t+"; "}return{addResizeListener:function(i,u){if(l)i.attachEvent("onresize",u);else{if(!i.__resizeTriggers__){var c=i.ownerDocument,f=Mr.getComputedStyle(i);f&&"static"===f.position&&(i.style.position="relative"),function(t){if(!t.getElementById("detectElementResize")){var a=(r||"")+".resize-triggers { "+(n||"")+'visibility: hidden; opacity: 0; } .resize-triggers, .resize-triggers > div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',i=t.head||t.getElementsByTagName("head")[0],o=t.createElement("style");o.id="detectElementResize",o.type="text/css",null!=e&&o.setAttribute("nonce",e),o.styleSheet?o.styleSheet.cssText=a:o.appendChild(t.createTextNode(a)),i.appendChild(o)}}(c),i.__resizeLast__={},i.__resizeListeners__=[],(i.__resizeTriggers__=c.createElement("div")).className="resize-triggers";var v=c.createElement("div");v.className="expand-trigger",v.appendChild(c.createElement("div"));var d=c.createElement("div");d.className="contract-trigger",i.__resizeTriggers__.appendChild(v),i.__resizeTriggers__.appendChild(d),i.appendChild(i.__resizeTriggers__),o(i),i.addEventListener("scroll",s,!0),a&&(i.__resizeTriggers__.__animationListener__=function(e){e.animationName===t&&o(i)},i.__resizeTriggers__.addEventListener(a,i.__resizeTriggers__.__animationListener__))}i.__resizeListeners__.push(u)}},removeResizeListener:function(e,r){if(l)e.detachEvent("onresize",r);else if(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(r),1),!e.__resizeListeners__.length){e.removeEventListener("scroll",s,!0),e.__resizeTriggers__.__animationListener__&&(e.__resizeTriggers__.removeEventListener(a,e.__resizeTriggers__.__animationListener__),e.__resizeTriggers__.__animationListener__=null);try{e.__resizeTriggers__=!e.removeChild(e.__resizeTriggers__)}catch(e){}}}}}(e),this._detectElementResize.addResizeListener(this._parentNode,this._onResize),this._onResize())}},{key:"componentWillUnmount",value:function(){this._detectElementResize&&this._parentNode&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize)}},{key:"render",value:function(){var e=this.props,t=e.children,a=e.className,n=e.disableHeight,i=e.disableWidth,o=e.style,s=this.state,l=s.height,u=s.width,c={overflow:"visible"},f={},v=!1;return n||(0===l&&(v=!0),c.height=0,f.height=l),i||(0===u&&(v=!0),c.width=0,f.width=u),(0,r.createElement)("div",{className:a,ref:this._setRef,style:Cr({},c,o)},!v&&t(f))}}]),t}(r.PureComponent);Or.defaultProps={onResize:function(){},disableHeight:!1,disableWidth:!1,style:{}};const Ir=Or;function Fr(){return Fr=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Fr.apply(this,arguments)}function Lr(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Pr=function(e,r){return e===r};function zr(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pr,t=void 0,a=[],n=void 0,i=!1,o=function(e,t){return r(e,a[t])};return function(){for(var r=arguments.length,s=Array(r),l=0;l<r;l++)s[l]=arguments[l];return i&&t===this&&s.length===a.length&&s.every(o)?n:(i=!0,t=this,a=s,n=e.apply(this,s))}}function Br(e,r){if(null==e)return{};var t,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}var Vr="object"==typeof performance&&"function"==typeof performance.now?function(){return performance.now()}:function(){return Date.now()};function Ur(e){cancelAnimationFrame(e.id)}var Wr=null;function $r(e){if(void 0===e&&(e=!1),null===Wr||e){var r=document.createElement("div"),t=r.style;t.width="50px",t.height="50px",t.overflow="scroll",t.direction="rtl";var a=document.createElement("div"),n=a.style;return n.width="100px",n.height="100px",r.appendChild(a),document.body.appendChild(r),r.scrollLeft>0?Wr="positive-descending":(r.scrollLeft=1,Wr=0===r.scrollLeft?"negative":"positive-ascending"),document.body.removeChild(r),Wr}return Wr}var jr=function(e,r){return e};function Xr(e){var a,n,i=e.getItemOffset,o=e.getEstimatedTotalSize,s=e.getItemSize,l=e.getOffsetForIndexAndAlignment,u=e.getStartIndexForOffset,c=e.getStopIndexForStartIndex,f=e.initInstanceProps,v=e.shouldResetStyleCacheOnItemSizeChange,d=e.validateProps;return n=a=function(e){function a(r){var a;return(a=e.call(this,r)||this)._instanceProps=f(a.props,Lr(Lr(a))),a._outerRef=void 0,a._resetIsScrollingTimeoutId=null,a.state={instance:Lr(Lr(a)),isScrolling:!1,scrollDirection:"forward",scrollOffset:"number"==typeof a.props.initialScrollOffset?a.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},a._callOnItemsRendered=void 0,a._callOnItemsRendered=zr((function(e,r,t,n){return a.props.onItemsRendered({overscanStartIndex:e,overscanStopIndex:r,visibleStartIndex:t,visibleStopIndex:n})})),a._callOnScroll=void 0,a._callOnScroll=zr((function(e,r,t){return a.props.onScroll({scrollDirection:e,scrollOffset:r,scrollUpdateWasRequested:t})})),a._getItemStyle=void 0,a._getItemStyle=function(e){var r,t=a.props,n=t.direction,o=t.itemSize,l=t.layout,u=a._getItemStyleCache(v&&o,v&&l,v&&n);if(u.hasOwnProperty(e))r=u[e];else{var c,f=i(a.props,e,a._instanceProps),d=s(a.props,e,a._instanceProps),h="horizontal"===n||"horizontal"===l;u[e]=((c={position:"absolute"})["rtl"===n?"right":"left"]=h?f:0,c.top=h?0:f,c.height=h?"100%":d,c.width=h?d:"100%",r=c)}return r},a._getItemStyleCache=void 0,a._getItemStyleCache=zr((function(e,r,t){return{}})),a._onScrollHorizontal=function(e){var r=e.currentTarget,n=r.clientWidth,i=r.scrollLeft,o=r.scrollWidth;(0,t.flushSync)((()=>{a.setState((function(e){if(e.scrollOffset===i)return null;var r=a.props.direction,t=i;if("rtl"===r)switch($r()){case"negative":t=-i;break;case"positive-descending":t=o-n-i}return t=Math.max(0,Math.min(t,o-n)),{isScrolling:!0,scrollDirection:e.scrollOffset<i?"forward":"backward",scrollOffset:t,scrollUpdateWasRequested:!1}}),a._resetIsScrollingDebounced)}))},a._onScrollVertical=function(e){var r=e.currentTarget,n=r.clientHeight,i=r.scrollHeight,o=r.scrollTop;(0,t.flushSync)((()=>{a.setState((function(e){if(e.scrollOffset===o)return null;var r=Math.max(0,Math.min(o,i-n));return{isScrolling:!0,scrollDirection:e.scrollOffset<r?"forward":"backward",scrollOffset:r,scrollUpdateWasRequested:!1}}),a._resetIsScrollingDebounced)}))},a._outerRefSetter=function(e){var r=a.props.outerRef;a._outerRef=e,"function"==typeof r?r(e):null!=r&&"object"==typeof r&&r.hasOwnProperty("current")&&(r.current=e)},a._resetIsScrollingDebounced=function(){var e,r,t,n;null!==a._resetIsScrollingTimeoutId&&Ur(a._resetIsScrollingTimeoutId),a._resetIsScrollingTimeoutId=(e=a._resetIsScrolling,r=150,t=Vr(),n={id:requestAnimationFrame((function a(){Vr()-t>=r?e.call(null):n.id=requestAnimationFrame(a)}))})},a._resetIsScrolling=function(){a._resetIsScrollingTimeoutId=null,a.setState({isScrolling:!1},(function(){a._getItemStyleCache(-1,null)}))},a}var n,h;h=e,(n=a).prototype=Object.create(h.prototype),n.prototype.constructor=n,n.__proto__=h,a.getDerivedStateFromProps=function(e,r){return Kr(e,r),d(e),null};var _=a.prototype;return _.scrollTo=function(e){e=Math.max(0,e),this.setState((function(r){return r.scrollOffset===e?null:{scrollDirection:r.scrollOffset<e?"forward":"backward",scrollOffset:e,scrollUpdateWasRequested:!0}}),this._resetIsScrollingDebounced)},_.scrollToItem=function(e,r){void 0===r&&(r="auto");var t=this.props.itemCount,a=this.state.scrollOffset;e=Math.max(0,Math.min(e,t-1)),this.scrollTo(l(this.props,e,r,a,this._instanceProps))},_.componentDidMount=function(){var e=this.props,r=e.direction,t=e.initialScrollOffset,a=e.layout;if("number"==typeof t&&null!=this._outerRef){var n=this._outerRef;"horizontal"===r||"horizontal"===a?n.scrollLeft=t:n.scrollTop=t}this._callPropsCallbacks()},_.componentDidUpdate=function(){var e=this.props,r=e.direction,t=e.layout,a=this.state,n=a.scrollOffset;if(a.scrollUpdateWasRequested&&null!=this._outerRef){var i=this._outerRef;if("horizontal"===r||"horizontal"===t)if("rtl"===r)switch($r()){case"negative":i.scrollLeft=-n;break;case"positive-ascending":i.scrollLeft=n;break;default:var o=i.clientWidth,s=i.scrollWidth;i.scrollLeft=s-o-n}else i.scrollLeft=n;else i.scrollTop=n}this._callPropsCallbacks()},_.componentWillUnmount=function(){null!==this._resetIsScrollingTimeoutId&&Ur(this._resetIsScrollingTimeoutId)},_.render=function(){var e=this.props,t=e.children,a=e.className,n=e.direction,i=e.height,s=e.innerRef,l=e.innerElementType,u=e.innerTagName,c=e.itemCount,f=e.itemData,v=e.itemKey,d=void 0===v?jr:v,h=e.layout,_=e.outerElementType,m=e.outerTagName,p=e.style,S=e.useIsScrolling,g=e.width,b=this.state.isScrolling,w="horizontal"===n||"horizontal"===h,E=w?this._onScrollHorizontal:this._onScrollVertical,y=this._getRangeToRender(),k=y[0],C=y[1],A=[];if(c>0)for(var M=k;M<=C;M++)A.push((0,r.createElement)(t,{data:f,key:d(M,f),index:M,isScrolling:S?b:void 0,style:this._getItemStyle(M)}));var D=o(this.props,this._instanceProps);return(0,r.createElement)(_||m||"div",{className:a,onScroll:E,ref:this._outerRefSetter,style:Fr({position:"relative",height:i,width:g,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:n},p)},(0,r.createElement)(l||u||"div",{children:A,ref:s,style:{height:w?"100%":D,pointerEvents:b?"none":void 0,width:w?D:"100%"}}))},_._callPropsCallbacks=function(){if("function"==typeof this.props.onItemsRendered&&this.props.itemCount>0){var e=this._getRangeToRender(),r=e[0],t=e[1],a=e[2],n=e[3];this._callOnItemsRendered(r,t,a,n)}if("function"==typeof this.props.onScroll){var i=this.state,o=i.scrollDirection,s=i.scrollOffset,l=i.scrollUpdateWasRequested;this._callOnScroll(o,s,l)}},_._getRangeToRender=function(){var e=this.props,r=e.itemCount,t=e.overscanCount,a=this.state,n=a.isScrolling,i=a.scrollDirection,o=a.scrollOffset;if(0===r)return[0,0,0,0];var s=u(this.props,o,this._instanceProps),l=c(this.props,s,o,this._instanceProps),f=n&&"backward"!==i?1:Math.max(1,t),v=n&&"forward"!==i?1:Math.max(1,t);return[Math.max(0,s-f),Math.max(0,Math.min(r-1,l+v)),s,l]},a}(r.PureComponent),a.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},n}var Kr=function(e,r){e.children,e.direction,e.height,e.layout,e.innerTagName,e.outerTagName,e.width,r.instance},Gr=Xr({getItemOffset:function(e,r){return r*e.itemSize},getItemSize:function(e,r){return e.itemSize},getEstimatedTotalSize:function(e){var r=e.itemCount;return e.itemSize*r},getOffsetForIndexAndAlignment:function(e,r,t,a){var n=e.direction,i=e.height,o=e.itemCount,s=e.itemSize,l=e.layout,u=e.width,c="horizontal"===n||"horizontal"===l?u:i,f=Math.max(0,o*s-c),v=Math.min(f,r*s),d=Math.max(0,r*s-c+s);switch("smart"===t&&(t=a>=d-c&&a<=v+c?"auto":"center"),t){case"start":return v;case"end":return d;case"center":var h=Math.round(d+(v-d)/2);return h<Math.ceil(c/2)?0:h>f+Math.floor(c/2)?f:h;default:return a>=d&&a<=v?a:a<d?d:v}},getStartIndexForOffset:function(e,r){var t=e.itemCount,a=e.itemSize;return Math.max(0,Math.min(t-1,Math.floor(r/a)))},getStopIndexForStartIndex:function(e,r,t){var a=e.direction,n=e.height,i=e.itemCount,o=e.itemSize,s=e.layout,l=e.width,u=r*o,c="horizontal"===a||"horizontal"===s?l:n,f=Math.ceil((c+t-u)/o);return Math.max(0,Math.min(i-1,r+f-1))},initInstanceProps:function(e){},shouldResetStyleCacheOnItemSizeChange:!0,validateProps:function(e){e.itemSize}});function Yr(e,r){for(var t in e)if(!(t in r))return!0;for(var a in r)if(e[a]!==r[a])return!0;return!1}function qr(e,r){var t=e.style,a=Br(e,["style"]),n=r.style,i=Br(r,["style"]);return!Yr(t,n)&&!Yr(a,i)}var Qr=a(1014),Zr=a.n(Qr);const Jr=Object.prototype.hasOwnProperty;function et(e,r){const t=e[0],a=r[0];return String(+t)===t?String(+a)!==a||+t<+a?-1:1:t<a?-1:1}function rt(e){if("/"===e[0]){"/"===(e=e.slice(1))[e.length-1]&&(e=e.slice(0,e.length-1));try{return new RegExp(e,"i")}catch(e){return new RegExp(".^")}}function r(e){return e.toLowerCase()!==e.toUpperCase()}function t(e){return r(e)?"["+e.toLowerCase()+e.toUpperCase()+"]":e}const a=Zr()(e),n=a[0];let i="";for(let e=1;e<a.length;e++)i+=t(a[e]);return r(n)?new RegExp("(^"+t(n)+"|"+n.toUpperCase()+")"+i):new RegExp(n+i)}function tt(e){return Jr.call(e,I.preview_long)?e[I.preview_long]:Q(e,!0)}function at(e){for(const r in e){const t=e[r];t&&t[I.type]?e[r]=tt(t):null!=t&&(P(t)||"object"==typeof t)&&at(t)}}function nt(e){const r=Object.assign({},e);at(r);try{return JSON.stringify(r,null,2)}catch(e){return""}}let it=null;const ot=(0,r.createContext)(null);ot.displayName="TreeStateContext";const st=(0,r.createContext)(null);function lt(e,r,t){let{searchIndex:a,searchResults:n,searchText:i,selectedElementID:o,selectedElementIndex:s}=r;const l=r.ownerID,u=a,c=i,f=n.length;let v=!1;if(null===l)switch(t.type){case"GO_TO_NEXT_SEARCH_RESULT":f>0&&(v=!0,a=a+1<f?a+1:0);break;case"GO_TO_PREVIOUS_SEARCH_RESULT":f>0&&(v=!0,a=a>0?a-1:f-1);break;case"HANDLE_STORE_MUTATION":if(""!==i){const[r,o]=t.payload;o.forEach(((e,r)=>{const t=n.indexOf(r);t>=0&&(n=n.slice(0,t).concat(n.slice(t+1)),0===n.length?a=null:a>=n.length&&(a=n.length-1))})),r.forEach((r=>{const t=e.getElementByID(r);if(null!==t){const{displayName:o}=t,s=rt(i);if(null!==o&&s.test(o)){const t=e.getIndexOfElementID(r);let i=!1;for(let r=0;r<n.length;r++){const a=n[r];if(t<e.getIndexOfElementID(a)){i=!0,n=n.slice(0,r).concat(a).concat(n.slice(r));break}}i||(n=n.concat(r)),a=null===a?0:a}}}))}break;case"SET_SEARCH_TEXT":if(a=null,n=[],i=t.payload,""!==i){const r=rt(i);e.roots.forEach((t=>{ct(e,t,r,n)})),n.length>0&&(a=null===u?null!==s?function(e,r,t){const a=r.findIndex((r=>{const a=e.getIndexOfElementID(r);return null!==a&&a>=t}));return-1===a?0:a}(e,n,s):0:Math.min(u,n.length-1))}break;default:return r}if(i!==c){const e=n.indexOf(o);-1===e?v=!0:a=e}return v&&null!==a&&(o=n[a],s=e.getIndexOfElementID(o)),{...r,selectedElementID:o,selectedElementIndex:s,searchIndex:a,searchResults:n,searchText:i}}function ut({children:e,defaultInspectedElementID:t,defaultOwnerID:a,defaultSelectedElementID:n,defaultSelectedElementIndex:i}){const o=(0,r.useContext)(br),s=(0,r.useContext)(wr),l=(0,r.useMemo)((()=>s.revision),[s]),u=(0,r.useMemo)((()=>(e,r)=>{const{type:t}=r;switch(t){case"GO_TO_NEXT_SEARCH_RESULT":case"GO_TO_PREVIOUS_SEARCH_RESULT":case"HANDLE_STORE_MUTATION":case"RESET_OWNER_STACK":case"SELECT_ELEMENT_AT_INDEX":case"SELECT_ELEMENT_BY_ID":case"SELECT_CHILD_ELEMENT_IN_TREE":case"SELECT_NEXT_ELEMENT_IN_TREE":case"SELECT_NEXT_ELEMENT_WITH_ERROR_OR_WARNING_IN_TREE":case"SELECT_NEXT_SIBLING_IN_TREE":case"SELECT_OWNER_LIST_NEXT_ELEMENT_IN_TREE":case"SELECT_OWNER_LIST_PREVIOUS_ELEMENT_IN_TREE":case"SELECT_PARENT_ELEMENT_IN_TREE":case"SELECT_PREVIOUS_ELEMENT_IN_TREE":case"SELECT_PREVIOUS_ELEMENT_WITH_ERROR_OR_WARNING_IN_TREE":case"SELECT_PREVIOUS_SIBLING_IN_TREE":case"SELECT_OWNER":case"UPDATE_INSPECTED_ELEMENT_ID":case"SET_SEARCH_TEXT":return e=function(e,r,t){let{numElements:a,ownerSubtreeLeafElementID:n,selectedElementIndex:i,selectedElementID:o}=r,s=!0;if(null===r.ownerID)switch(t.type){case"HANDLE_STORE_MUTATION":a=e.numElements;const l=t.payload[1];for(;null!==o&&l.has(o);)o=l.get(o);0===o&&(i=null);break;case"SELECT_CHILD_ELEMENT_IN_TREE":if(n=null,null!==i){const r=e.getElementAtIndex(i);if(null!==r&&r.children.length>0&&!r.isCollapsed){const t=r.children[0],a=e.getIndexOfElementID(t);null!==a&&(i=a)}}break;case"SELECT_ELEMENT_AT_INDEX":n=null,i=t.payload;break;case"SELECT_ELEMENT_BY_ID":n=null,s=!1,o=t.payload,i=null===o?null:e.getIndexOfElementID(o);break;case"SELECT_NEXT_ELEMENT_IN_TREE":n=null,null===i||i+1>=a?i=0:i++;break;case"SELECT_NEXT_SIBLING_IN_TREE":if(n=null,null!==i){const r=e.getElementAtIndex(i);if(null!==r&&0!==r.parentID){const t=e.getElementByID(r.parentID);if(null!==t){const{children:a}=t,n=a.indexOf(r.id),o=n<a.length-1?a[n+1]:a[0];i=e.getIndexOfElementID(o)}}}break;case"SELECT_OWNER_LIST_NEXT_ELEMENT_IN_TREE":if(null!==i&&null!==n&&n!==o){const r=e.getElementByID(n);if(null!==r){let t=r;for(;null!==t;){if(t.ownerID===o){i=e.getIndexOfElementID(t.id);break}0!==t.ownerID&&(t=e.getElementByID(t.ownerID))}}}break;case"SELECT_OWNER_LIST_PREVIOUS_ELEMENT_IN_TREE":if(null!==i){null===n&&(n=o);const r=e.getElementAtIndex(i);if(null!==r&&0!==r.ownerID){const t=e.getIndexOfElementID(r.ownerID);null!==t&&(i=t)}}break;case"SELECT_PARENT_ELEMENT_IN_TREE":if(n=null,null!==i){const r=e.getElementAtIndex(i);if(null!==r&&0!==r.parentID){const t=e.getIndexOfElementID(r.parentID);null!==t&&(i=t)}}break;case"SELECT_PREVIOUS_ELEMENT_IN_TREE":n=null,null===i||0===i?i=a-1:i--;break;case"SELECT_PREVIOUS_SIBLING_IN_TREE":if(n=null,null!==i){const r=e.getElementAtIndex(i);if(null!==r&&0!==r.parentID){const t=e.getElementByID(r.parentID);if(null!==t){const{children:a}=t,n=a.indexOf(r.id),o=n>0?a[n-1]:a[a.length-1];i=e.getIndexOfElementID(o)}}}break;case"SELECT_PREVIOUS_ELEMENT_WITH_ERROR_OR_WARNING_IN_TREE":{const t=e.getElementsWithErrorsAndWarnings();if(0===t.length)return r;let a,n=0;if(null!==i)for(let e=t.length-1;e>=0;e--){const{index:r}=t[e];if(!(r>=i))break;n=e}0===n?(a=t[t.length-1],o=a.id,i=a.index):(a=t[n-1],o=a.id,i=a.index),s=!1;break}case"SELECT_NEXT_ELEMENT_WITH_ERROR_OR_WARNING_IN_TREE":{const t=e.getElementsWithErrorsAndWarnings();if(0===t.length)return r;let a,n=-1;if(null!==i)for(let e=0;e<t.length;e++){const{index:r}=t[e];if(!(r<=i))break;n=e}n>=t.length-1?(a=t[0],o=a.id,i=a.index):(a=t[n+1],o=a.id,i=a.index),s=!1;break}default:return r}return s&&i!==r.selectedElementIndex&&(o=null===i?null:e.getElementIDAtIndex(i)),{...r,numElements:a,ownerSubtreeLeafElementID:n,selectedElementIndex:i,selectedElementID:o}}(s,e,r),e=lt(s,e,r),e=function(e,r,t){let{numElements:a,selectedElementID:n,selectedElementIndex:i,ownerID:o,ownerFlatTree:s}=r;const{searchIndex:l,searchResults:u,searchText:c}=r;let f=i;switch(t.type){case"HANDLE_STORE_MUTATION":null!==o?e.containsElement(o)?(s=e.getOwnersListForElement(o),null!==n&&(i=s.findIndex((e=>e.id===n)))):(o=null,s=null,n=null):null!==n&&(i=e.getIndexOfElementID(n)),-1===i&&(i=null,n=null);break;case"RESET_OWNER_STACK":o=null,s=null,i=null!==n?e.getIndexOfElementID(n):null;break;case"SELECT_ELEMENT_AT_INDEX":null!==s&&(i=t.payload);break;case"SELECT_ELEMENT_BY_ID":if(null!==s){const r=t.payload;null===r?i=null:(i=s.findIndex((e=>e.id===r)),null!==i&&i<0&&(o=null,s=null,i=e.getIndexOfElementID(r)))}break;case"SELECT_NEXT_ELEMENT_IN_TREE":null!==s&&s.length>0&&(null===i?i=0:i+1<s.length&&i++);break;case"SELECT_PREVIOUS_ELEMENT_IN_TREE":null!==s&&s.length>0&&null!==i&&i>0&&i--;break;case"SELECT_OWNER":e.hasOwnerMetadata&&(o=t.payload,s=e.getOwnersListForElement(o),i=0,f=null);break;default:return r}return s===r.ownerFlatTree&&"HANDLE_STORE_MUTATION"!==t.type||(a=null===s?e.numElements:s.length),i!==f&&(null===i?n=null:null!==s&&(n=s[i].id)),{...r,numElements:a,selectedElementID:n,selectedElementIndex:i,searchIndex:l,searchResults:u,searchText:c,ownerID:o,ownerFlatTree:s}}(s,e,r),e=function(e,r,t){const{type:a}=t;return"UPDATE_INSPECTED_ELEMENT_ID"===a&&r.inspectedElementID!==r.selectedElementID?{...r,inspectedElementID:r.selectedElementID}:r}(0,e,r),null!==e.selectedElementID&&s.isInsideCollapsedSubTree(e.selectedElementID)?{...e,selectedElementIndex:null}:e;default:throw new Error(`Unrecognized action "${t}"`)}}),[s]),[c,f]=(0,r.useReducer)(u,{numElements:s.numElements,ownerSubtreeLeafElementID:null,selectedElementID:null==n?null:n,selectedElementIndex:null==i?null:i,searchIndex:null,searchResults:[],searchText:"",ownerID:null==a?null:a,ownerFlatTree:null,inspectedElementID:null==t?null:t}),v=(0,r.useCallback)((e=>{f(e),(0,r.startTransition)((()=>{f({type:"UPDATE_INSPECTED_ELEMENT_ID"})}))}),[f]);(0,r.useEffect)((()=>{const e=e=>v({type:"SELECT_ELEMENT_BY_ID",payload:e});return o.addListener("selectFiber",e),()=>o.removeListener("selectFiber",e)}),[o,v]);const d=(0,r.useRef)(null);return(0,r.useLayoutEffect)((()=>{if(c.selectedElementID!==d.current&&(d.current=c.selectedElementID,null!==c.selectedElementID)){const e=s.getElementByID(c.selectedElementID);null!==e&&e.parentID>0&&s.toggleIsCollapsed(e.parentID,!1)}}),[c.selectedElementID,s]),(0,r.useEffect)((()=>{const e=([e,r])=>{v({type:"HANDLE_STORE_MUTATION",payload:[e,r]})};return s.revision!==l&&v({type:"HANDLE_STORE_MUTATION",payload:[[],new Map]}),s.addListener("mutated",e),()=>s.removeListener("mutated",e)}),[v,l,s]),r.createElement(ot.Provider,{value:c},r.createElement(st.Provider,{value:v},e))}function ct(e,r,t,a){const{children:n,displayName:i,hocDisplayNames:o}=e.getElementByID(r);(null!=i&&!0===t.test(i)||null!=o&&o.length>0&&!0===o.some((e=>t.test(e))))&&a.push(r),n.forEach((r=>ct(e,r,t,a)))}st.displayName="TreeDispatcherContext";var ft=a(3943),vt=a.n(ft);function dt({className:e="",title:t="",type:a}){let n=null;switch(a){case"arrow":n=ht;break;case"bug":n=_t;break;case"code":n=mt;break;case"components":n=pt;break;case"copy":n=St;break;case"error":n=gt;break;case"facebook":n=bt;break;case"flame-chart":n=wt;break;case"profiler":n=Et;break;case"ranked-chart":n=Ct;break;case"timeline":n=yt;break;case"search":n=kt;break;case"settings":n=At;break;case"store-as-global-variable":n=Mt;break;case"strict-mode-non-compliant":n=Dt;break;case"warning":n=Ht;break;default:console.warn(`Unsupported type "${a}" specified for Icon`)}return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:`${vt().Icon} ${e}`,width:"24",height:"24",viewBox:"0 0 24 24"},t&&r.createElement("title",null,t),r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),r.createElement("path",{fill:"currentColor",d:n}))}const ht="M8 5v14l11-7z",_t="\n  M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49\n  0-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09\n  1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21\n  5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6 8h-4v-2h4v2zm0-4h-4v-2h4v2z\n",mt="\n  M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z\n  ",pt="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z",St="\n  M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3a2 2 0 0 0 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9a2 2 0 0 0-2\n  2v10a2 2 0 0 0 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z\n",gt="M16.971 0h-9.942l-7.029 7.029v9.941l7.029 7.03h9.941l7.03-7.029v-9.942l-7.029-7.029zm-1.402 16.945l-3.554-3.521-3.518 3.568-1.418-1.418 3.507-3.566-3.586-3.472 1.418-1.417 3.581 3.458 3.539-3.583 1.431 1.431-3.535 3.568 3.566 3.522-1.431 1.43z",bt="\n  M22,12c0-5.52-4.48-10-10-10S2,6.48,2,12c0,4.84,3.44,8.87,8,9.8V15H8v-3h2V9.5C10,7.57,11.57,6,13.5,6H16v3h-2 c-0.55,0-1,0.45-1,1v2h3v3h-3v6.95C18.05,21.45,22,17.19,22,12z\n",wt="\n  M10.0650893,21.5040462 C7.14020814,20.6850349 5,18.0558698 5,14.9390244 C5,14.017627\n  5,9.81707317 7.83333333,7.37804878 C7.83333333,7.37804878 7.58333333,11.199187 10,\n  10.6300813 C11.125,10.326087 13.0062497,7.63043487 8.91666667,2.5 C14.1666667,3.06910569\n  19,9.32926829 19,14.9390244 C19,18.0558698 16.8597919,20.6850349 13.9349107,21.5040462\n  C14.454014,21.0118505 14.7765152,20.3233394 14.7765152,19.5613412 C14.7765152,17.2826087\n  12,15.0875871 12,15.0875871 C12,15.0875871 9.22348485,17.2826087 9.22348485,19.5613412\n  C9.22348485,20.3233394 9.54598603,21.0118505 10.0650893,21.5040462 Z M12.0833333,20.6514763\n  C11.3814715,20.6514763 10.8125,20.1226027 10.8125,19.4702042 C10.8125,18.6069669\n  12.0833333,16.9347829 12.0833333,16.9347829 C12.0833333,16.9347829 13.3541667,18.6069669\n  13.3541667,19.4702042 C13.3541667,20.1226027 12.7851952,20.6514763 12.0833333,20.6514763 Z\n",Et="M5 9.2h3V19H5zM10.6 5h2.8v14h-2.8zm5.6 8H19v6h-2.8z",yt="\n  M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0\n  16H5V9h14v10zm0-12H5V5h14v2zM7 11h5v5H7z\n",kt="\n  M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91\n  16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99\n  5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\n",Ct="M3 5h18v3H3zM3 10.5h13v3H3zM3 16h8v3H3z",At="\n  M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49\n  1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38\n  2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11\n  1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4\n  1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49\n  1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5\n  3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z\n",Mt="\n  M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41\n  3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04\n  1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6\n  8h-4v-2h4v2zm0-4h-4v-2h4v2z\n",Dt="\n  M4.47 21h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0L2.74 18c-.77 1.33.19 3 1.73 3zM12\n  14c-.55 0-1-.45-1-1v-2c0-.55.45-1 1-1s1 .45 1 1v2c0 .55-.45 1-1 1zm1 4h-2v-2h2v2z\n",Ht="M12 1l-12 22h24l-12-22zm-1 8h2v7h-2v-7zm1 11.25c-.69 0-1.25-.56-1.25-1.25s.56-1.25 1.25-1.25 1.25.56 1.25 1.25-.56 1.25-1.25 1.25z",xt="https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md",Tt="https://reactjs.org/blog/2019/08/15/new-react-devtools.html#how-do-i-get-the-old-version-back",Nt="https://fburl.com/react-devtools-workplace-group",Rt={light:{"--color-attribute-name":"#ef6632","--color-attribute-name-not-editable":"#23272f","--color-attribute-name-inverted":"rgba(255, 255, 255, 0.7)","--color-attribute-value":"#1a1aa6","--color-attribute-value-inverted":"#ffffff","--color-attribute-editable-value":"#1a1aa6","--color-background":"#ffffff","--color-background-hover":"rgba(0, 136, 250, 0.1)","--color-background-inactive":"#e5e5e5","--color-background-invalid":"#fff0f0","--color-background-selected":"#0088fa","--color-button-background":"#ffffff","--color-button-background-focus":"#ededed","--color-button":"#5f6673","--color-button-disabled":"#cfd1d5","--color-button-active":"#0088fa","--color-button-focus":"#23272f","--color-button-hover":"#23272f","--color-border":"#eeeeee","--color-commit-did-not-render-fill":"#cfd1d5","--color-commit-did-not-render-fill-text":"#000000","--color-commit-did-not-render-pattern":"#cfd1d5","--color-commit-did-not-render-pattern-text":"#333333","--color-commit-gradient-0":"#37afa9","--color-commit-gradient-1":"#63b19e","--color-commit-gradient-2":"#80b393","--color-commit-gradient-3":"#97b488","--color-commit-gradient-4":"#abb67d","--color-commit-gradient-5":"#beb771","--color-commit-gradient-6":"#cfb965","--color-commit-gradient-7":"#dfba57","--color-commit-gradient-8":"#efbb49","--color-commit-gradient-9":"#febc38","--color-commit-gradient-text":"#000000","--color-component-name":"#6a51b2","--color-component-name-inverted":"#ffffff","--color-component-badge-background":"rgba(0, 0, 0, 0.1)","--color-component-badge-background-inverted":"rgba(255, 255, 255, 0.25)","--color-component-badge-count":"#777d88","--color-component-badge-count-inverted":"rgba(255, 255, 255, 0.7)","--color-console-error-badge-text":"#ffffff","--color-console-error-background":"#fff0f0","--color-console-error-border":"#ffd6d6","--color-console-error-icon":"#eb3941","--color-console-error-text":"#fe2e31","--color-console-warning-badge-text":"#000000","--color-console-warning-background":"#fffbe5","--color-console-warning-border":"#fff5c1","--color-console-warning-icon":"#f4bd00","--color-console-warning-text":"#64460c","--color-context-background":"rgba(0,0,0,.9)","--color-context-background-hover":"rgba(255, 255, 255, 0.1)","--color-context-background-selected":"#178fb9","--color-context-border":"#3d424a","--color-context-text":"#ffffff","--color-context-text-selected":"#ffffff","--color-dim":"#777d88","--color-dimmer":"#cfd1d5","--color-dimmest":"#eff0f1","--color-error-background":"hsl(0, 100%, 97%)","--color-error-border":"hsl(0, 100%, 92%)","--color-error-text":"#ff0000","--color-expand-collapse-toggle":"#777d88","--color-link":"#0000ff","--color-modal-background":"rgba(255, 255, 255, 0.75)","--color-bridge-version-npm-background":"#eff0f1","--color-bridge-version-npm-text":"#000000","--color-bridge-version-number":"#0088fa","--color-primitive-hook-badge-background":"#e5e5e5","--color-primitive-hook-badge-text":"#5f6673","--color-record-active":"#fc3a4b","--color-record-hover":"#3578e5","--color-record-inactive":"#0088fa","--color-resize-bar":"#eeeeee","--color-resize-bar-active":"#dcdcdc","--color-resize-bar-border":"#d1d1d1","--color-resize-bar-dot":"#333333","--color-timeline-internal-module":"#d1d1d1","--color-timeline-internal-module-hover":"#c9c9c9","--color-timeline-internal-module-text":"#444","--color-timeline-native-event":"#ccc","--color-timeline-native-event-hover":"#aaa","--color-timeline-network-primary":"#fcf3dc","--color-timeline-network-primary-hover":"#f0e7d1","--color-timeline-network-secondary":"#efc457","--color-timeline-network-secondary-hover":"#e3ba52","--color-timeline-priority-background":"#f6f6f6","--color-timeline-priority-border":"#eeeeee","--color-timeline-user-timing":"#c9cacd","--color-timeline-user-timing-hover":"#93959a","--color-timeline-react-idle":"#d3e5f6","--color-timeline-react-idle-hover":"#c3d9ef","--color-timeline-react-render":"#9fc3f3","--color-timeline-react-render-hover":"#83afe9","--color-timeline-react-render-text":"#11365e","--color-timeline-react-commit":"#c88ff0","--color-timeline-react-commit-hover":"#b281d6","--color-timeline-react-commit-text":"#3e2c4a","--color-timeline-react-layout-effects":"#b281d6","--color-timeline-react-layout-effects-hover":"#9d71bd","--color-timeline-react-layout-effects-text":"#3e2c4a","--color-timeline-react-passive-effects":"#b281d6","--color-timeline-react-passive-effects-hover":"#9d71bd","--color-timeline-react-passive-effects-text":"#3e2c4a","--color-timeline-react-schedule":"#9fc3f3","--color-timeline-react-schedule-hover":"#2683E2","--color-timeline-react-suspense-rejected":"#f1cc14","--color-timeline-react-suspense-rejected-hover":"#ffdf37","--color-timeline-react-suspense-resolved":"#a6e59f","--color-timeline-react-suspense-resolved-hover":"#89d281","--color-timeline-react-suspense-unresolved":"#c9cacd","--color-timeline-react-suspense-unresolved-hover":"#93959a","--color-timeline-thrown-error":"#ee1638","--color-timeline-thrown-error-hover":"#da1030","--color-timeline-text-color":"#000000","--color-timeline-text-dim-color":"#ccc","--color-timeline-react-work-border":"#eeeeee","--color-search-match":"yellow","--color-search-match-current":"#f7923b","--color-selected-tree-highlight-active":"rgba(0, 136, 250, 0.1)","--color-selected-tree-highlight-inactive":"rgba(0, 0, 0, 0.05)","--color-scroll-caret":"rgba(150, 150, 150, 0.5)","--color-tab-selected-border":"#0088fa","--color-text":"#000000","--color-text-invalid":"#ff0000","--color-text-selected":"#ffffff","--color-toggle-background-invalid":"#fc3a4b","--color-toggle-background-on":"#0088fa","--color-toggle-background-off":"#cfd1d5","--color-toggle-text":"#ffffff","--color-warning-background":"#fb3655","--color-warning-background-hover":"#f82042","--color-warning-text-color":"#ffffff","--color-warning-text-color-inverted":"#fd4d69","--color-scroll-thumb":"#c2c2c2","--color-scroll-track":"#fafafa","--color-tooltip-background":"rgba(0, 0, 0, 0.9)","--color-tooltip-text":"#ffffff"},dark:{"--color-attribute-name":"#9d87d2","--color-attribute-name-not-editable":"#ededed","--color-attribute-name-inverted":"#282828","--color-attribute-value":"#cedae0","--color-attribute-value-inverted":"#ffffff","--color-attribute-editable-value":"yellow","--color-background":"#282c34","--color-background-hover":"rgba(255, 255, 255, 0.1)","--color-background-inactive":"#3d424a","--color-background-invalid":"#5c0000","--color-background-selected":"#178fb9","--color-button-background":"#282c34","--color-button-background-focus":"#3d424a","--color-button":"#afb3b9","--color-button-active":"#61dafb","--color-button-disabled":"#4f5766","--color-button-focus":"#a2e9fc","--color-button-hover":"#ededed","--color-border":"#3d424a","--color-commit-did-not-render-fill":"#777d88","--color-commit-did-not-render-fill-text":"#000000","--color-commit-did-not-render-pattern":"#666c77","--color-commit-did-not-render-pattern-text":"#ffffff","--color-commit-gradient-0":"#37afa9","--color-commit-gradient-1":"#63b19e","--color-commit-gradient-2":"#80b393","--color-commit-gradient-3":"#97b488","--color-commit-gradient-4":"#abb67d","--color-commit-gradient-5":"#beb771","--color-commit-gradient-6":"#cfb965","--color-commit-gradient-7":"#dfba57","--color-commit-gradient-8":"#efbb49","--color-commit-gradient-9":"#febc38","--color-commit-gradient-text":"#000000","--color-component-name":"#61dafb","--color-component-name-inverted":"#282828","--color-component-badge-background":"rgba(255, 255, 255, 0.25)","--color-component-badge-background-inverted":"rgba(0, 0, 0, 0.25)","--color-component-badge-count":"#8f949d","--color-component-badge-count-inverted":"rgba(255, 255, 255, 0.7)","--color-console-error-badge-text":"#000000","--color-console-error-background":"#290000","--color-console-error-border":"#5c0000","--color-console-error-icon":"#eb3941","--color-console-error-text":"#fc7f7f","--color-console-warning-badge-text":"#000000","--color-console-warning-background":"#332b00","--color-console-warning-border":"#665500","--color-console-warning-icon":"#f4bd00","--color-console-warning-text":"#f5f2ed","--color-context-background":"rgba(255,255,255,.95)","--color-context-background-hover":"rgba(0, 136, 250, 0.1)","--color-context-background-selected":"#0088fa","--color-context-border":"#eeeeee","--color-context-text":"#000000","--color-context-text-selected":"#ffffff","--color-dim":"#8f949d","--color-dimmer":"#777d88","--color-dimmest":"#4f5766","--color-error-background":"#200","--color-error-border":"#900","--color-error-text":"#f55","--color-expand-collapse-toggle":"#8f949d","--color-link":"#61dafb","--color-modal-background":"rgba(0, 0, 0, 0.75)","--color-bridge-version-npm-background":"rgba(0, 0, 0, 0.25)","--color-bridge-version-npm-text":"#ffffff","--color-bridge-version-number":"yellow","--color-primitive-hook-badge-background":"rgba(0, 0, 0, 0.25)","--color-primitive-hook-badge-text":"rgba(255, 255, 255, 0.7)","--color-record-active":"#fc3a4b","--color-record-hover":"#a2e9fc","--color-record-inactive":"#61dafb","--color-resize-bar":"#282c34","--color-resize-bar-active":"#31363f","--color-resize-bar-border":"#3d424a","--color-resize-bar-dot":"#cfd1d5","--color-timeline-internal-module":"#303542","--color-timeline-internal-module-hover":"#363b4a","--color-timeline-internal-module-text":"#7f8899","--color-timeline-native-event":"#b2b2b2","--color-timeline-native-event-hover":"#949494","--color-timeline-network-primary":"#fcf3dc","--color-timeline-network-primary-hover":"#e3dbc5","--color-timeline-network-secondary":"#efc457","--color-timeline-network-secondary-hover":"#d6af4d","--color-timeline-priority-background":"#1d2129","--color-timeline-priority-border":"#282c34","--color-timeline-user-timing":"#c9cacd","--color-timeline-user-timing-hover":"#93959a","--color-timeline-react-idle":"#3d485b","--color-timeline-react-idle-hover":"#465269","--color-timeline-react-render":"#2683E2","--color-timeline-react-render-hover":"#1a76d4","--color-timeline-react-render-text":"#11365e","--color-timeline-react-commit":"#731fad","--color-timeline-react-commit-hover":"#611b94","--color-timeline-react-commit-text":"#e5c1ff","--color-timeline-react-layout-effects":"#611b94","--color-timeline-react-layout-effects-hover":"#51167a","--color-timeline-react-layout-effects-text":"#e5c1ff","--color-timeline-react-passive-effects":"#611b94","--color-timeline-react-passive-effects-hover":"#51167a","--color-timeline-react-passive-effects-text":"#e5c1ff","--color-timeline-react-schedule":"#2683E2","--color-timeline-react-schedule-hover":"#1a76d4","--color-timeline-react-suspense-rejected":"#f1cc14","--color-timeline-react-suspense-rejected-hover":"#e4c00f","--color-timeline-react-suspense-resolved":"#a6e59f","--color-timeline-react-suspense-resolved-hover":"#89d281","--color-timeline-react-suspense-unresolved":"#c9cacd","--color-timeline-react-suspense-unresolved-hover":"#93959a","--color-timeline-thrown-error":"#fb3655","--color-timeline-thrown-error-hover":"#f82042","--color-timeline-text-color":"#282c34","--color-timeline-text-dim-color":"#555b66","--color-timeline-react-work-border":"#3d424a","--color-search-match":"yellow","--color-search-match-current":"#f7923b","--color-selected-tree-highlight-active":"rgba(23, 143, 185, 0.15)","--color-selected-tree-highlight-inactive":"rgba(255, 255, 255, 0.05)","--color-scroll-caret":"#4f5766","--color-shadow":"rgba(0, 0, 0, 0.5)","--color-tab-selected-border":"#178fb9","--color-text":"#ffffff","--color-text-invalid":"#ff8080","--color-text-selected":"#ffffff","--color-toggle-background-invalid":"#fc3a4b","--color-toggle-background-on":"#178fb9","--color-toggle-background-off":"#777d88","--color-toggle-text":"#ffffff","--color-warning-background":"#ee1638","--color-warning-background-hover":"#da1030","--color-warning-text-color":"#ffffff","--color-warning-text-color-inverted":"#ee1638","--color-scroll-thumb":"#afb3b9","--color-scroll-track":"#313640","--color-tooltip-background":"rgba(255, 255, 255, 0.95)","--color-tooltip-text":"#000000"},compact:{"--font-size-monospace-small":"9px","--font-size-monospace-normal":"11px","--font-size-monospace-large":"15px","--font-size-sans-small":"10px","--font-size-sans-normal":"12px","--font-size-sans-large":"14px","--line-height-data":"18px"},comfortable:{"--font-size-monospace-small":"10px","--font-size-monospace-normal":"13px","--font-size-monospace-large":"17px","--font-size-sans-small":"12px","--font-size-sans-normal":"14px","--font-size-sans-large":"16px","--line-height-data":"22px"}},Ot=parseInt(Rt.comfortable["--line-height-data"],10),It=parseInt(Rt.compact["--line-height-data"],10);var Ft=a(5677),Lt=a.n(Ft);function Pt(e,r){switch(r.type){case"RESET":return{...e,editableValue:Be(r.externalValue),externalValue:r.externalValue,hasPendingChanges:!1,isValid:!0,parsedValue:r.externalValue};case"UPDATE":let t,a=!1;try{t=ze(r.editableValue),a=!0}catch(e){}return{...e,editableValue:Pe(r.editableValue),externalValue:r.externalValue,hasPendingChanges:Be(r.externalValue)!==r.editableValue,isValid:a,parsedValue:a?t:e.parsedValue};default:throw new Error(`Invalid action "${r.type}"`)}}function zt(e,t,a){const n=(0,r.useCallback)((()=>{try{const r=R(e);if(null!=r)return JSON.parse(r)}catch(e){console.log(e)}return"function"==typeof t?t():t}),[t,e]),[i,o]=(0,r.useState)(n),s=(0,r.useCallback)((r=>{try{const t=r instanceof Function?r(i):r;o(t),O(e,JSON.stringify(t)),window.dispatchEvent(new Event(e)),null!=a&&a(t,e)}catch(e){console.log(e)}}),[e,i]);return(0,r.useLayoutEffect)((()=>{const r=r=>{const t=n();e===r.key&&i!==t&&s(t)};return window.addEventListener("storage",r),()=>{window.removeEventListener("storage",r)}}),[n,e,i,s]),[i,s]}function Bt(e,t,a=!0){(0,r.useEffect)((()=>{if(null===e.current)return()=>{};const r=e=>{"Escape"===e.key&&t()},n=r=>{null===e.current||e.current.contains(r.target)||(r.stopPropagation(),r.preventDefault(),t())};let i=null,o=setTimeout((()=>{o=null;const t=e.current;null!=t&&(i=t.ownerDocument,i.addEventListener("keydown",r),a&&i.addEventListener("click",n,!0))}),0);return()=>{null!==o&&clearTimeout(o),null!==i&&(i.removeEventListener("keydown",r),i.removeEventListener("click",n,!0))}}),[e,t,a])}function Vt({getCurrentValue:e,subscribe:t}){const[a,n]=(0,r.useState)((()=>({getCurrentValue:e,subscribe:t,value:e()})));return a.getCurrentValue===e&&a.subscribe===t||n({getCurrentValue:e,subscribe:t,value:e()}),(0,r.useEffect)((()=>{let r=!1;const a=()=>{r||n((r=>{if(r.getCurrentValue!==e||r.subscribe!==t)return r;const a=e();return r.value===a?r:{...r,value:a}}))},i=t(a);return a(),()=>{r=!0,i()}}),[e,t]),a.value}function Ut(){const e=(0,r.useContext)(br),t=(0,r.useContext)(wr),a=(0,r.useCallback)((r=>{const a=t.getElementByID(r),n=t.getRendererIDForElement(r);null!==a&&null!==n&&e.send("highlightNativeElement",{displayName:a.displayName,hideAfterTimeout:!1,id:r,openNativeElementsPanel:!1,rendererID:n,scrollIntoView:!1})}),[t,e]);return{highlightNativeElement:a,clearHighlightNativeElement:(0,r.useCallback)((()=>{e.send("clearNativeElementHighlight")}),[e])}}const Wt=(0,r.createContext)(null);function $t(e,r){return zt(e,r,((e,r)=>{(0,vr.K)({event_name:"settings-changed",metadata:{source:"localStorage setter",key:r,value:e}})}))}function jt({browserTheme:e,children:t,componentsPortalContainer:a,profilerPortalContainer:n}){const i=(0,r.useContext)(br),[o,s]=$t("React::DevTools::displayDensity","compact"),[l,u]=$t(d.tF,"auto"),[c,f]=$t(d.dG,!0),[v,h]=$t(d.k6,!1),[_,m]=$t(d.et,!1),[p,S]=$t(d.uP,!1),[g,b]=$t(d.Lg,!0),[w,E]=$t(d.gR,!1),y=(0,r.useMemo)((()=>{const e=[document.documentElement];return null!=a&&e.push(a.ownerDocument.documentElement),null!=n&&e.push(n.ownerDocument.documentElement),e}),[a,n]);(0,r.useLayoutEffect)((()=>{switch(o){case"comfortable":Xt("comfortable");break;case"compact":Xt("compact");break;default:throw Error(`Unsupported displayDensity value "${o}"`)}}),[o,y]),(0,r.useLayoutEffect)((()=>{switch(l){case"light":Kt("light",y);break;case"dark":Kt("dark",y);break;case"auto":Kt(e,y);break;default:throw Error(`Unsupported theme value "${l}"`)}}),[e,l,y]),(0,r.useEffect)((()=>{i.send("updateConsolePatchSettings",{appendComponentStack:c,breakOnConsoleErrors:v,showInlineWarningsAndErrors:g,hideConsoleLogsInStrictMode:p,browserTheme:e})}),[i,c,v,g,p,e]),(0,r.useEffect)((()=>{i.send("setTraceUpdatesEnabled",w)}),[i,w]);const k=(0,r.useMemo)((()=>({appendComponentStack:c,breakOnConsoleErrors:v,displayDensity:o,lineHeight:"compact"===o?It:Ot,parseHookNames:_,setAppendComponentStack:f,setBreakOnConsoleErrors:h,setDisplayDensity:s,setParseHookNames:m,setTheme:u,setTraceUpdatesEnabled:E,setShowInlineWarningsAndErrors:b,showInlineWarningsAndErrors:g,setHideConsoleLogsInStrictMode:S,hideConsoleLogsInStrictMode:p,theme:l,browserTheme:e,traceUpdatesEnabled:w})),[c,v,o,_,f,h,s,m,u,E,b,g,S,p,l,e,w]);return r.createElement(Wt.Provider,{value:k},t)}function Xt(e,r){const t=getComputedStyle(document.body).getPropertyValue(`--${e}-root-font-size`);document.querySelector(":root").style.fontSize=t}function Kt(e,r){r.forEach((r=>{r.style.scrollbarColor=`var(--${e}-color-scroll-thumb) var(--${e}-color-scroll-track)`}))}Wt.displayName="SettingsContext";var Gt=a(19),Yt=a.n(Gt);function qt({className:e,hocDisplayNames:t,type:a,children:n}){if(null===t||0===t.length)return null;const i=t.length;return r.createElement(r.Fragment,null,r.createElement("div",{className:`${Yt().Badge} ${e||""}`},n),i>1&&r.createElement("div",{className:Yt().ExtraLabel},"+",i-1))}var Qt=a(6628),Zt=a.n(Qt);function Jt({className:e="",type:t}){let a=null;switch(t){case"add":a=ea;break;case"cancel":a=ra;break;case"clear":a=ta;break;case"close":a=aa;break;case"collapsed":a=na;break;case"copy":a=ia;break;case"delete":a=oa;break;case"down":a=sa;break;case"editor":a=Da;break;case"expanded":a=la;break;case"export":a=ua;break;case"filter":a=ca;break;case"import":a=fa;break;case"log-data":a=va;break;case"more":a=da;break;case"next":a=ha;break;case"parse-hook-names":a=_a;break;case"previous":a=ma;break;case"record":a=pa;break;case"reload":a=Sa;break;case"save":a=ga;break;case"search":a=ba;break;case"settings":a=wa;break;case"error":a=Ea;break;case"suspend":a=ya;break;case"undo":a=ka;break;case"up":a=Ca;break;case"view-dom":a=Aa;break;case"view-source":a=Ma;break;default:console.warn(`Unsupported type "${t}" specified for ButtonIcon`)}return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:`${Zt().ButtonIcon} ${e}`,width:"24",height:"24",viewBox:"0 0 24 24"},r.createElement("path",{d:"M0 0h24v24H0z",fill:"none"}),"string"==typeof a?r.createElement("path",{fill:"currentColor",d:a}):a)}const ea="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z",ra="\n  M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z\n",ta="\n  M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69\n  16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z\n",aa="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z",na="M10 17l5-5-5-5v10z",ia="\n  M3 13h2v-2H3v2zm0 4h2v-2H3v2zm2 4v-2H3a2 2 0 0 0 2 2zM3 9h2V7H3v2zm12 12h2v-2h-2v2zm4-18H9a2 2 0 0 0-2\n  2v10a2 2 0 0 0 2 2h10c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 12H9V5h10v10zm-8 6h2v-2h-2v2zm-4 0h2v-2H7v2z\n",oa="\n  M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12\n  13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z\n",sa="M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z",la="M7 10l5 5 5-5z",ua="M15.82,2.14v7H21l-9,9L3,9.18H8.18v-7ZM3,20.13H21v1.73H3Z",ca="M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z",fa="M8.18,18.13v-7H3l9-8.95,9,9H15.82v7ZM3,20.13H21v1.73H3Z",va="\n  M20 8h-2.81c-.45-.78-1.07-1.45-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5c-.49 0-.96.06-1.41.17L8.41\n  3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04\n  1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-6\n  8h-4v-2h4v2zm0-4h-4v-2h4v2z\n",da="\n  M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9\n  2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\n",ha="M12 4l-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z",_a=r.createElement("g",null,r.createElement("polygon",{points:"20,7 20.94,4.94 23,4 20.94,3.06 20,1 19.06,3.06 17,4 19.06,4.94"}),r.createElement("polygon",{points:"8.5,7 9.44,4.94 11.5,4 9.44,3.06 8.5,1 7.56,3.06 5.5,4 7.56,4.94"}),r.createElement("polygon",{points:"20,12.5 19.06,14.56 17,15.5 19.06,16.44 20,18.5 20.94,16.44 23,15.5 20.94,14.56"}),r.createElement("path",{d:"M17.71,9.12l-2.83-2.83C14.68,6.1,14.43,6,14.17,6c-0.26,0-0.51,0.1-0.71,0.29L2.29,17.46c-0.39,0.39-0.39,1.02,0,1.41 l2.83,2.83C5.32,21.9,5.57,22,5.83,22s0.51-0.1,0.71-0.29l11.17-11.17C18.1,10.15,18.1,9.51,17.71,9.12z M14.17,8.42l1.41,1.41 L14.41,11L13,9.59L14.17,8.42z M5.83,19.59l-1.41-1.41L11.59,11L13,12.41L5.83,19.59z"})),ma="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z",pa="M4,12a8,8 0 1,0 16,0a8,8 0 1,0 -16,0",Sa="\n  M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0\n  6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0\n  3.14.69 4.22 1.78L13 11h7V4l-2.35 2.35z\n",ga="\n  M17 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V7l-4-4zm-5 16c-1.66 0-3-1.34-3-3s1.34-3 3-3 3 1.34 3 3-1.34 3-3 3zm3-10H5V5h10v4z\n",ba="\n  M8.5,22H3.7l-1.4-1.5V3.8l1.3-1.5h17.2l1,1.5v4.9h-1.3V4.3l-0.4-0.6H4.2L3.6,4.3V20l0.7,0.7h4.2V22z\n  M23,13.9l-4.6,3.6l4.6,4.6l-1.1,1.1l-4.7-4.4l-3.3,4.4l-3.2-12.3L23,13.9z\n",wa="\n  M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49\n  1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38\n  2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11\n  1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4\n  1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49\n  1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5\n  3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z\n",Ea="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z",ya="\n  M15 1H9v2h6V1zm-4 13h2V8h-2v6zm8.03-6.61l1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97\n  0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61zM12 20c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7z\n",ka="\n  M12.5 8c-2.65 0-5.05.99-6.9 2.6L2 7v9h9l-3.62-3.62c1.39-1.16 3.16-1.88 5.12-1.88\n  3.54 0 6.55 2.31 7.6 5.5l2.37-.78C21.08 11.03 17.15 8 12.5 8z\n",Ca="M7.41 15.41L12 10.83l4.59 4.58L18 14l-6-6-6 6z",Aa="\n  M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12\n  17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3\n  3-1.34 3-3-1.34-3-3-3z\n",Ma="\n  M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z\n  ",Da="\n  M7 5h10v2h2V3c0-1.1-.9-1.99-2-1.99L7 1c-1.1 0-2 .9-2 2v4h2V5zm8.41 11.59L20 12l-4.59-4.59L14 8.83 17.17 12 14 15.17l1.41 1.42zM10 15.17L6.83 12 10 8.83 8.59 7.41 4 12l4.59 4.59L10 15.17zM17 19H7v-2H5v4c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2v-4h-2v2z\n";var Ha=a(5994),xa=a.n(Ha);function Ta({data:e,index:t,style:a}){const n=(0,r.useContext)(wr),{ownerFlatTree:i,ownerID:o,selectedElementID:s}=(0,r.useContext)(ot),l=(0,r.useContext)(st),{showInlineWarningsAndErrors:u}=r.useContext(Wt),c=null!==i?i[t]:n.getElementAtIndex(t),[f,v]=(0,r.useState)(!1),{isNavigatingWithKeyboard:d,onElementMouseEnter:h,treeFocused:_}=e,m=null===c?null:c.id,p=s===m,S=(0,r.useMemo)((()=>({getCurrentValue:()=>null===c?{errorCount:0,warningCount:0}:n.getErrorAndWarningCountForElementID(c.id),subscribe:e=>(n.addListener("mutated",e),()=>n.removeListener("mutated",e))})),[n,c]),{errorCount:g,warningCount:b}=Vt(S);if(null==c)return console.warn(`<Element> Could not find element at index ${t}`),null;const{depth:w,displayName:E,hocDisplayNames:y,isStrictModeNonCompliant:k,key:C,type:A}=c,M=k&&0===w;let D=xa().Element;return p?D=_?xa().SelectedElement:xa().InactiveSelectedElement:f&&!d&&(D=xa().HoveredElement),r.createElement("div",{className:D,onMouseEnter:()=>{v(!0),null!==m&&h(m)},onMouseLeave:()=>{v(!1)},onClick:({metaKey:e})=>{null!==m&&((0,vr.K)({event_name:"select-element",metadata:{source:"click-element"}}),l({type:"SELECT_ELEMENT_BY_ID",payload:e?null:m}))},onDoubleClick:()=>{null!==m&&l({type:"SELECT_OWNER",payload:m})},style:a,"data-testname":"ComponentTreeListItem","data-depth":w},r.createElement("div",{className:xa().Wrapper,style:{transform:`translateX(calc(${w} * var(--indentation-size)))`}},null===o?r.createElement(Ra,{element:c,store:n}):null,r.createElement(Oa,{displayName:E,id:m}),C&&r.createElement(r.Fragment,null," ",r.createElement("span",{className:xa().KeyName},"key"),'="',r.createElement("span",{className:xa().KeyValue,title:C,onDoubleClick:e=>{e.stopPropagation(),e.preventDefault()}},C),'"'),null!==y&&y.length>0?r.createElement(qt,{className:xa().Badge,hocDisplayNames:y,type:A},r.createElement(Oa,{displayName:y[0],id:m})):null,u&&g>0&&r.createElement(dt,{type:"error",className:p&&_?xa().ErrorIconContrast:xa().ErrorIcon}),u&&b>0&&r.createElement(dt,{type:"warning",className:p&&_?xa().WarningIconContrast:xa().WarningIcon}),M&&r.createElement(dt,{className:p&&_?xa().StrictModeContrast:xa().StrictMode,title:"This component is not running in StrictMode.",type:"strict-mode-non-compliant"})))}const Na=e=>{e.preventDefault(),e.stopPropagation()};function Ra({element:e,store:t}){const{children:a,id:n,isCollapsed:i}=e;return 0===a.length?r.createElement("div",{className:xa().ExpandCollapseToggle}):r.createElement("div",{className:xa().ExpandCollapseToggle,onMouseDown:e=>{e.stopPropagation()},onClick:e=>{e.preventDefault(),e.stopPropagation(),t.toggleIsCollapsed(n,!i)},onDoubleClick:Na},r.createElement(Jt,{type:i?"collapsed":"expanded"}))}function Oa({displayName:e,id:t}){const{searchIndex:a,searchResults:n,searchText:i}=(0,r.useContext)(ot),o=(0,r.useMemo)((()=>n.includes(t)),[t,n]),s=null!==a&&t===n[a];if(!o||null===e)return e;const l=rt(i).exec(e);if(null===l)return e;const u=l.index,c=u+l[0].length,f=[];return u>0&&f.push(r.createElement("span",{key:"begin"},e.slice(0,u))),f.push(r.createElement("mark",{key:"middle",className:s?xa().CurrentHighlight:xa().Highlight},e.slice(u,c))),c<e.length&&f.push(r.createElement("span",{key:"end"},e.slice(c))),f}var Ia=a(2235),Fa=a.n(Ia);function La(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}var Pa=La()?r.useLayoutEffect:r.useEffect,za=!1,Ba=0,Va=function(){return++Ba};function Ua(e){var t=e||(za?Va():null),a=(0,r.useState)(t),n=a[0],i=a[1];return Pa((function(){null===n&&i(Va())}),[]),(0,r.useEffect)((function(){!1===za&&(za=!0)}),[]),null!=n?String(n):void 0}function Wa(e){return La()?e?e.ownerDocument:document:null}function $a(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];return r.filter((function(e){return null!=e})).join("--")}function ja(e){return!(!e||"[object Function]"!={}.toString.call(e))}function Xa(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}function Ka(e,r){if(null!=e)if(ja(e))e(r);else try{e.current=r}catch(t){throw new Error('Cannot assign value "'+r+'" to ref "'+e+'"')}}function Ga(){for(var e=arguments.length,t=new Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,r.useCallback)((function(e){for(var r,a=function(e,r){var t;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(t=function(e,r){if(e){if("string"==typeof e)return Xa(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Xa(e,r):void 0}}(e))||r&&e&&"number"==typeof e.length){t&&(e=t);var a=0;return function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(t=e[Symbol.iterator]()).next.bind(t)}(t);!(r=a()).done;)Ka(r.value,e)}),t)}function Ya(e,r){return function(t){if(e&&e(t),!t.defaultPrevented)return r(t)}}function qa(){var e=(0,r.useState)(Object.create(null))[1];return(0,r.useCallback)((function(){e(Object.create(null))}),[])}var Qa=function(e){var a=e.children,n=e.type,i=void 0===n?"reach-portal":n,o=(0,r.useRef)(null),s=(0,r.useRef)(null),l=qa();return Pa((function(){if(o.current){var e=o.current.ownerDocument;return s.current=null==e?void 0:e.createElement(i),e.body.appendChild(s.current),l(),function(){s.current&&s.current.ownerDocument&&s.current.ownerDocument.body.removeChild(s.current)}}}),[i,l]),s.current?(0,t.createPortal)(a,s.current):(0,r.createElement)("span",{ref:o})};function Za(){return Za=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Za.apply(this,arguments)}a(3352);var Ja,en=["as","style"],rn=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?"span":a,i=e.style,o=void 0===i?{}:i,s=function(e,r){if(null==e)return{};var t,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,en);return(0,r.createElement)(n,Za({ref:t,style:Za({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap",wordWrap:"normal"},o)},s))})),tn=["bottom","height","left","right","top","width"],an=new Map,nn=function e(){var r=[];an.forEach((function(e,t){var a,n,i=t.getBoundingClientRect();a=i,n=e.rect,void 0===a&&(a={}),void 0===n&&(n={}),tn.some((function(e){return a[e]!==n[e]}))&&(e.rect=i,r.push(e))})),r.forEach((function(e){e.callbacks.forEach((function(r){return r(e.rect)}))})),Ja=window.requestAnimationFrame(e)};const on=function(e,r){return{observe:function(){var t=0===an.size;an.has(e)?an.get(e).callbacks.push(r):an.set(e,{rect:void 0,hasRectChanged:!1,callbacks:[r]}),t&&nn()},unobserve:function(){var t=an.get(e);if(t){var a=t.callbacks.indexOf(r);a>=0&&t.callbacks.splice(a,1),t.callbacks.length||an.delete(e),an.size||cancelAnimationFrame(Ja)}}}};function sn(e,t,a){var n,i,o;"boolean"==typeof t?n=t:(n=null==(o=null==t?void 0:t.observe)||o,i=null==t?void 0:t.onChange),ja(a)&&(i=a);var s=(0,r.useState)(e.current),l=s[0],u=s[1],c=(0,r.useRef)(!1),f=(0,r.useRef)(!1),v=(0,r.useState)(null),d=v[0],h=v[1],_=(0,r.useRef)(i);return Pa((function(){_.current=i,e.current!==l&&u(e.current)})),Pa((function(){l&&!c.current&&(c.current=!0,h(l.getBoundingClientRect()))}),[l]),Pa((function(){if(n){var r=l;if(f.current||(f.current=!0,r=e.current),r){var t=on(r,(function(e){null==_.current||_.current(e),h(e)}));return t.observe(),function(){t.unobserve()}}}}),[n,l,e]),d}function ln(){return ln=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},ln.apply(this,arguments)}function un(e,r){if(null==e)return{};var t,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}var cn,fn,vn,dn,hn,_n,mn,pn,Sn=["children","label","ariaLabel","id","DEBUG_STYLE"],gn=["label","ariaLabel","isVisible","id"],bn=["ariaLabel","aria-label","as","id","isVisible","label","position","style","triggerRect"],wn=["type"];!function(e){e.Idle="IDLE",e.Focused="FOCUSED",e.Visible="VISIBLE",e.LeavingVisible="LEAVING_VISIBLE",e.Dismissed="DISMISSED"}(mn||(mn={})),function(e){e.Blur="BLUR",e.Focus="FOCUS",e.GlobalMouseMove="GLOBAL_MOUSE_MOVE",e.MouseDown="MOUSE_DOWN",e.MouseEnter="MOUSE_ENTER",e.MouseLeave="MOUSE_LEAVE",e.MouseMove="MOUSE_MOVE",e.Rest="REST",e.SelectWithKeyboard="SELECT_WITH_KEYBOARD",e.TimeComplete="TIME_COMPLETE"}(pn||(pn={}));var En,yn,kn={initial:mn.Idle,states:(_n={},_n[mn.Idle]={enter:Mn,on:(cn={},cn[pn.MouseEnter]=mn.Focused,cn[pn.Focus]=mn.Visible,cn)},_n[mn.Focused]={enter:function(){window.clearTimeout(En),En=window.setTimeout((function(){Rn({type:pn.Rest})}),100)},leave:function(){window.clearTimeout(En)},on:(fn={},fn[pn.MouseMove]=mn.Focused,fn[pn.MouseLeave]=mn.Idle,fn[pn.MouseDown]=mn.Dismissed,fn[pn.Blur]=mn.Idle,fn[pn.Rest]=mn.Visible,fn)},_n[mn.Visible]={on:(vn={},vn[pn.Focus]=mn.Focused,vn[pn.MouseEnter]=mn.Focused,vn[pn.MouseLeave]=mn.LeavingVisible,vn[pn.Blur]=mn.LeavingVisible,vn[pn.MouseDown]=mn.Dismissed,vn[pn.SelectWithKeyboard]=mn.Dismissed,vn[pn.GlobalMouseMove]=mn.LeavingVisible,vn)},_n[mn.LeavingVisible]={enter:function(){window.clearTimeout(yn),yn=window.setTimeout((function(){return Rn({type:pn.TimeComplete})}),500)},leave:function(){window.clearTimeout(yn),Mn()},on:(dn={},dn[pn.MouseEnter]=mn.Visible,dn[pn.Focus]=mn.Visible,dn[pn.TimeComplete]=mn.Idle,dn)},_n[mn.Dismissed]={leave:function(){Mn()},on:(hn={},hn[pn.MouseLeave]=mn.Idle,hn[pn.Blur]=mn.Idle,hn)},_n)},Cn={value:kn.initial,context:{id:null}},An=[];function Mn(){Cn.context.id=null}var Dn=(0,r.forwardRef)((function(e,t){var a=e.children,n=e.label,i=e.ariaLabel,o=e.id,s=e.DEBUG_STYLE,l=un(e,Sn),u=r.Children.only(a),c=function(e){var t=void 0===e?{}:e,a=t.id,n=t.onPointerEnter,i=t.onPointerMove,o=t.onPointerLeave,s=t.onPointerDown,l=t.onMouseEnter,u=t.onMouseMove,c=t.onMouseLeave,f=t.onMouseDown,v=t.onFocus,d=t.onBlur,h=t.onKeyDown,_=t.disabled,m=t.ref,p=t.DEBUG_STYLE,S=String(Ua(a)),g=(0,r.useState)(!!p||On(S,!0)),b=g[0],w=g[1],E=(0,r.useRef)(null),y=Ga(m,E),k=sn(E,{observe:b});function C(e,r){return"undefined"!=typeof window&&"PointerEvent"in window?e:Ya(e,r)}function A(e){return function(r){"mouse"===r.pointerType&&e(r)}}function M(){Rn({type:pn.MouseEnter,id:S})}function D(){Rn({type:pn.MouseMove,id:S})}function H(){Rn({type:pn.MouseLeave})}function x(){Cn.context.id===S&&Rn({type:pn.MouseDown})}return(0,r.useEffect)((function(){return e=function(){w(On(S))},An.push(e),function(){An.splice(An.indexOf(e),1)};var e}),[S]),(0,r.useEffect)((function(){var e=Wa(E.current);function r(e){"Escape"!==e.key&&"Esc"!==e.key||Cn.value!==mn.Visible||Rn({type:pn.SelectWithKeyboard})}return e.addEventListener("keydown",r),function(){return e.removeEventListener("keydown",r)}}),[]),function(e){var t=e.disabled,a=e.isVisible,n=e.ref;(0,r.useEffect)((function(){if("undefined"!=typeof window&&"PointerEvent"in window&&t&&a){var e=Wa(n.current);return e.addEventListener("mousemove",r),function(){e.removeEventListener("mousemove",r)}}function r(e){a&&(e.target instanceof Element&&e.target.closest("[data-reach-tooltip-trigger][data-state='tooltip-visible']")||Rn({type:pn.GlobalMouseMove}))}}),[t,a,n])}({disabled:_,isVisible:b,ref:E}),[{"aria-describedby":b?$a("tooltip",S):void 0,"data-state":b?"tooltip-visible":"tooltip-hidden","data-reach-tooltip-trigger":"",ref:y,onPointerEnter:Ya(n,A(M)),onPointerMove:Ya(i,A(D)),onPointerLeave:Ya(o,A(H)),onPointerDown:Ya(s,A(x)),onMouseEnter:C(l,M),onMouseMove:C(u,D),onMouseLeave:C(c,H),onMouseDown:C(f,x),onFocus:Ya(v,(function(){window.__REACH_DISABLE_TOOLTIPS||Rn({type:pn.Focus,id:S})})),onBlur:Ya(d,(function(){Cn.context.id===S&&Rn({type:pn.Blur})})),onKeyDown:Ya(h,(function(e){"Enter"!==e.key&&" "!==e.key||Rn({type:pn.SelectWithKeyboard})}))},{id:S,triggerRect:k,isVisible:b},b]}({id:o,onPointerEnter:u.props.onPointerEnter,onPointerMove:u.props.onPointerMove,onPointerLeave:u.props.onPointerLeave,onPointerDown:u.props.onPointerDown,onMouseEnter:u.props.onMouseEnter,onMouseMove:u.props.onMouseMove,onMouseLeave:u.props.onMouseLeave,onMouseDown:u.props.onMouseDown,onFocus:u.props.onFocus,onBlur:u.props.onBlur,onKeyDown:u.props.onKeyDown,disabled:u.props.disabled,ref:u.ref,DEBUG_STYLE:s}),f=c[0],v=c[1];return(0,r.createElement)(r.Fragment,null,(0,r.cloneElement)(u,f),(0,r.createElement)(Hn,ln({ref:t,label:n,"aria-label":i},v,l)))})),Hn=(0,r.forwardRef)((function(e,t){var a=e.label,n=e.ariaLabel,i=e.isVisible,o=e.id,s=un(e,gn);return i?(0,r.createElement)(Qa,null,(0,r.createElement)(xn,ln({ref:t,label:a,"aria-label":n,isVisible:i},s,{id:$a("tooltip",String(o))}))):null})),xn=(0,r.forwardRef)((function(e,t){var a=e.ariaLabel,n=e["aria-label"],i=e.as,o=void 0===i?"div":i,s=e.id,l=e.isVisible,u=e.label,c=e.position,f=void 0===c?Nn:c,v=e.style,d=e.triggerRect,h=un(e,bn),_=null!=(n||a),m=(0,r.useRef)(null),p=Ga(t,m),S=sn(m,{observe:l});return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(o,ln({role:_?void 0:"tooltip"},h,{ref:p,"data-reach-tooltip":"",id:_?void 0:s,style:ln({},v,Tn(f,d,S))}),u),_&&(0,r.createElement)(rn,{role:"tooltip",id:s},n||a))}));function Tn(e,r,t){return t?e(r,t):{visibility:"hidden"}}var Nn=function(e,r,t){void 0===t&&(t=8);var a,n,i,o,s=(o=(i=Wa(undefined)).defaultView||window,i?{width:null!=(a=i.documentElement.clientWidth)?a:o.innerWidth,height:null!=(n=i.documentElement.clientHeight)?n:o.innerHeight}:{width:0,height:0}),l=s.width,u=s.height;if(!e||!r)return{};var c={top:e.top-r.height<0,right:l<e.left+r.width,bottom:u<e.bottom+r.height+t,left:e.left-r.width<0},f=c.bottom&&!c.top;return{left:c.right&&!c.left?e.right-r.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px",top:f?e.top-t-r.height+window.pageYOffset+"px":e.top+t+e.height+window.pageYOffset+"px"}};function Rn(e){var r=function(e,r){var t=kn.states[e.value],a=t&&t.on&&t.on[r.type];if(!a)return ln({},e,{changed:!1});t&&t.leave&&t.leave(e.context,r),r.type;var n=un(r,wn),i=ln({},Cn.context,n),o="string"==typeof a?a:a.target,s=kn.states[o];return s&&s.enter&&s.enter(e.context,r),{value:o,context:i,changed:!0}}(Cn,e),t=r.value,a=r.context;r.changed&&(Cn={value:t,context:a},An.forEach((function(e){return e(Cn)})))}function On(e,r){return Cn.context.id===e&&(r?Cn.value===mn.Visible:Cn.value===mn.Visible||Cn.value===mn.LeavingVisible)}const In=Dn;var Fn=a(1061),Ln=a.n(Fn);const Pn=()=>{const{theme:e,displayDensity:t,browserTheme:a}=(0,r.useContext)(Wt);return(0,r.useMemo)((()=>({...Rt[t],...Rt["auto"===e?a:e]})),[e,a,t])};function zn(){return zn=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},zn.apply(this,arguments)}const Bn=({children:e,className:t="",...a})=>{const n=Pn();return r.createElement(In,zn({className:`${Ln().Tooltip} ${t}`,style:n},a),e)};function Vn({children:e,className:t="",isDisabled:a=!1,isChecked:n,onChange:i,testName:o,title:s}){let l;l=a?Fa().ToggleDisabled:n?Fa().ToggleOn:Fa().ToggleOff;const u=(0,r.useCallback)((()=>i(!n)),[n,i]);let c=r.createElement("button",{className:`${l} ${t}`,"data-testname":o,disabled:a,onClick:u},r.createElement("span",{className:Fa().ToggleContent,tabIndex:-1},e));return s&&(c=r.createElement(Bn,{label:s},c)),c}function Un(){const[e,t]=(0,r.useState)(!1),a=(0,r.useContext)(br),n=(0,r.useCallback)((e=>{t(e),e?((0,vr.K)({event_name:"inspect-element-button-clicked"}),a.send("startInspectingNative")):a.send("stopInspectingNative",!1)}),[a]);return(0,r.useEffect)((()=>{const e=()=>t(!1);return a.addListener("stopInspectingNative",e),()=>a.removeListener("stopInspectingNative",e)}),[a]),r.createElement(Vn,{onChange:n,isChecked:e,title:"Select an element in the page to inspect it"},r.createElement(Jt,{type:"search"}))}var Wn=a(3683),$n=a.n(Wn);function jn(){return jn=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},jn.apply(this,arguments)}function Xn({children:e,className:t="",testName:a,title:n,...i}){let o=r.createElement("button",jn({className:`${$n().Button} ${t}`,"data-testname":a},i),r.createElement("span",{className:`${$n().ButtonContent} ${t}`,tabIndex:-1},e));return n&&(o=r.createElement(Bn,{label:n},o)),o}const Kn=0,Gn=1,Yn=2,qn=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Qn(e){const r=qn.current;if(null===r)throw new Error("react-cache: read and preload may only be called from within a component's render. They are not supported in event handlers or lifecycle methods.");return r.readContext(e)}const Zn=(0,r.createContext)(null),Jn=new Map,ei=new Map;function ri(e){let r=Jn.get(e);if(void 0===r){const t=ei.get(e);r=void 0!==t&&t.useWeakMap?new WeakMap:new Map,Jn.set(e,r)}return r}function ti(e,r,t,a){const n=ri(e),i=n.get(a);if(void 0===i){const e=r(t);e.then((e=>{if(i.status===Kn){const r=i;r.status=Gn,r.value=e}}),(e=>{if(i.status===Kn){const r=i;r.status=Yn,r.value=e}}));const i={status:Kn,value:e};return n.set(a,i),i}return i}function ai(e,r,t={}){const a={clear(){Jn.delete(a)},invalidate(e){ri(a).delete(e)},read(t){Qn(Zn);const n=r(t),i=ti(a,e,t,n);switch(i.status){case Kn:throw i.value;case Gn:return i.value;case Yn:throw i.value;default:return}},preload(t){Qn(Zn);const n=r(t);ti(a,e,t,n)},write(e,r){const t=ri(a),n={status:Gn,value:r};t.set(e,n)}};return ei.set(a,t),a}const ni=(0,r.createContext)(null);ni.displayName="OwnersListContext";const ii=new WeakMap,oi=ai((e=>{const r=ii.get(e);if(null!=r)return r.promise;let t=null;const a=new Promise((e=>{t=e}));return ii.set(e,{promise:a,resolveFn:t}),a}),(e=>e),{useWeakMap:!0});function si({children:e}){const t=(0,r.useContext)(br),a=(0,r.useContext)(wr),{ownerID:n}=(0,r.useContext)(ot),i=(0,r.useCallback)((e=>{const r=a.getElementByID(e);return null!==r?oi.read(r):null}),[a]);return(0,r.useEffect)((()=>{const e=e=>{const r=e.id,t=a.getElementByID(r);if(null!==t){const r=ii.get(t);null!=r&&(ii.delete(t),r.resolveFn(null===e.owners?null:e.owners.map((e=>{const[r,t]=X(e.displayName,e.type);return{...e,displayName:r,hocDisplayNames:t}}))))}};return t.addListener("ownersList",e),()=>t.removeListener("ownersList",e)}),[t,a]),(0,r.useEffect)((()=>{if(null!==n){const e=a.getRendererIDForElement(n);null!==e&&t.send("getOwnersList",{id:n,rendererID:e})}return()=>{}}),[t,n,a]),r.createElement(ni.Provider,{value:i},e)}var li=a(8029),ui=a.n(li);function ci(){return ci=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},ci.apply(this,arguments)}var fi=["as","targetRef","position","unstable_observableRefs"],vi=(0,r.forwardRef)((function(e,t){return(0,r.createElement)(Qa,null,(0,r.createElement)(di,ci({ref:t},e)))})),di=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?"div":a,i=e.targetRef,o=e.position,s=void 0===o?_i:o,l=e.unstable_observableRefs,u=void 0===l?[]:l,c=function(e,r){if(null==e)return{};var t,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,fi),f=(0,r.useRef)(null),v=sn(f,{observe:!c.hidden}),d=sn(i,{observe:!c.hidden}),h=Ga(f,t);return function(e,t){var a=Wa(e.current);function n(r){"Tab"===r.key&&t.current&&0===ui()(t.current).length||("Tab"===r.key&&r.shiftKey?function(e){if(e.shiftKey){var r=i();return e.target===r}}(r)?function(e){var r=t.current&&ui()(t.current),a=r&&r[r.length-1];a&&(e.preventDefault(),a.focus())}(r):function(e){var r=t.current&&ui()(t.current);return!!r&&0!==r.length&&e.target===r[0]}(r)?function(r){var t;r.preventDefault(),null==(t=e.current)||t.focus()}(r):function(e){return e.target===ui()(a)[0]}(r)&&s():"Tab"===r.key&&(e.current&&e.current===a.activeElement?function(e){var r=t.current&&ui()(t.current);r&&r[0]&&(e.preventDefault(),r[0].focus())}(r):function(){if(t.current&&t.current.contains(a.activeElement||null)){var e=t.current&&ui()(t.current);return Boolean(e&&e[e.length-1]===a.activeElement)}return!1}()?function(e){var r=i();r&&(e.preventDefault(),r.focus())}(r):function(e){var r=t.current?ui()(a).filter((function(e){return!t.current.contains(e)})):null;return!!r&&e.target===r[r.length-1]}(r)&&s()))}function i(){var r=ui()(a),n=r&&e.current?r.indexOf(e.current):-1,i=r&&r[n+1];return(!t.current||!t.current.contains(i||null))&&i}(0,r.useEffect)((function(){return a.addEventListener("keydown",n),function(){a.removeEventListener("keydown",n)}}),[]);var o=[];function s(){var e=t.current&&ui()(t.current);e&&(e.forEach((function(e){o.push([e,e.tabIndex]),e.tabIndex=-1})),a.addEventListener("focusin",l))}function l(){a.removeEventListener("focusin",l),o.forEach((function(e){var r=e[0],t=e[1];r.tabIndex=t}))}}(i,f),(0,r.createElement)(n,ci({"data-reach-popover":"",ref:h},c,{style:ci({position:"absolute"},hi.apply(void 0,[s,d,v].concat(u)),c.style)}))}));function hi(e,r,t){for(var a=arguments.length,n=new Array(a>3?a-3:0),i=3;i<a;i++)n[i-3]=arguments[i];return t?e.apply(void 0,[r,t].concat(n.map((function(e){return e.current})))):{visibility:"hidden"}}var _i=function(e,r){if(!e||!r)return{};var t=function(e,r,t,a){void 0===t&&(t=0),void 0===a&&(a=0);var n={top:e.top-r.height<0,right:window.innerWidth<e.left+r.width-t,bottom:window.innerHeight<e.bottom+r.height-a,left:e.left+e.width-r.width<0};return{directionRight:n.right&&!n.left,directionLeft:n.left&&!n.right,directionUp:n.bottom&&!n.top,directionDown:n.top&&!n.bottom}}(e,r),a=t.directionRight,n=t.directionUp;return ci({left:a?e.right-r.width+window.pageXOffset+"px":e.left+window.pageXOffset+"px"},function(e,r,t){return{top:t?e.top-r.height+window.pageYOffset+"px":e.top+e.height+window.pageYOffset+"px"}}(e,r,n))};function mi(e,t){return(0,r.createContext)(t)}function pi(){}function Si(){return Si=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Si.apply(this,arguments)}var gi=["element","index"];function bi(e,r){return void 0===r&&(r={}),mi(0,Si({descendants:[],registerDescendant:pi,unregisterDescendant:pi},r))}function wi(e){var t=e.context,a=e.children,n=e.items,i=e.set,o=(0,r.useCallback)((function(e){var r=e.element,t=e.index,a=function(e,r){if(null==e)return{};var t,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}(e,gi);r&&i((function(e){var n;if(null!=t)return[].concat(e,[Si({},a,{element:r,index:t})]).sort((function(e,r){return e.index-r.index}));if(0===e.length)n=[Si({},a,{element:r,index:0})];else if(e.find((function(e){return e.element===r})))n=e;else{var i=e.findIndex((function(e){return!(!e.element||!r)&&Boolean(e.element.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING)})),o=Si({},a,{element:r,index:i});n=-1===i?[].concat(e,[o]):[].concat(e.slice(0,i),[o],e.slice(i))}return n.map((function(e,r){return Si({},e,{index:r})}))}))}),[]),s=(0,r.useCallback)((function(e){e&&i((function(r){return r.filter((function(r){return e!==r.element}))}))}),[]);return(0,r.createElement)(t.Provider,{value:(0,r.useMemo)((function(){return{descendants:n,registerDescendant:o,unregisterDescendant:s}}),[n,o,s])},a)}function Ei(e){return"which"in e?3===e.which:"button"in e&&2===e.button}function yi(e){var t=(0,r.useRef)(null);return(0,r.useEffect)((function(){t.current=e}),[e]),t.current}function ki(e,r){if(null==e)return{};var t,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}function Ci(){return Ci=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ci.apply(this,arguments)}var Ai=["onKeyDown","onMouseDown","id","ref"],Mi=["index","isLink","onClick","onDragStart","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseUp","onSelect","disabled","onFocus","valueText","ref"],Di=["id","onKeyDown","ref"],Hi=["onBlur","portal","position","ref"],xi="CLEAR_SELECTION_INDEX",Ti="CLICK_MENU_ITEM",Ni="CLOSE_MENU",Ri="OPEN_MENU_AT_INDEX",Oi="OPEN_MENU_CLEARED",Ii="SEARCH_FOR_ITEM",Fi="SELECT_ITEM_AT_INDEX",Li="SET_BUTTON_ID",Pi=bi(),zi=mi(0,{}),Bi={triggerId:null,isExpanded:!1,typeaheadQuery:"",selectionIndex:-1},Vi=function(e){var t=e.id,a=e.children,n=(0,r.useRef)(null),i=(0,r.useRef)(null),o=(0,r.useRef)(null),s=(0,r.useState)([]),l=s[0],u=s[1],c=Ua(t),f=t||$a("menu",c),v=$a("menu-button",f),d=(0,r.useReducer)($i,Ci({},Bi,{triggerId:v})),h=d[0],_=d[1],m=(0,r.useRef)(!1),p=(0,r.useRef)([]),S=(0,r.useRef)(!1),g=(0,r.useRef)({x:0,y:0}),b={dispatch:_,dropdownId:f,dropdownRef:i,mouseDownStartPosRef:g,popoverRef:o,readyToSelect:S,selectCallbacks:p,state:h,triggerClickedRef:m,triggerRef:n};return(0,r.useEffect)((function(){h.isExpanded?(window.__REACH_DISABLE_TOOLTIPS=!0,window.requestAnimationFrame((function(){Wi(i.current)}))):window.__REACH_DISABLE_TOOLTIPS=!1}),[h.isExpanded]),(0,r.createElement)(wi,{context:Pi,items:l,set:u},(0,r.createElement)(zi.Provider,{value:b},ja(a)?a({isExpanded:h.isExpanded,isOpen:h.isExpanded}):a))};function Ui(e){var t=(0,r.useContext)(zi).dropdownId;return null!=e&&e>-1?$a("option-"+e,t):void 0}function Wi(e){e&&e.focus()}function $i(e,r){switch(void 0===r&&(r={}),r.type){case Ti:case Ni:return Ci({},e,{isExpanded:!1,selectionIndex:-1});case"OPEN_MENU_AT_FIRST_ITEM":return Ci({},e,{isExpanded:!0,selectionIndex:0});case Ri:return Ci({},e,{isExpanded:!0,selectionIndex:r.payload.index});case Oi:return Ci({},e,{isExpanded:!0,selectionIndex:-1});case Fi:var t=r.payload.dropdownRef,a=void 0===t?{current:null}:t;if(r.payload.index>=0&&r.payload.index!==e.selectionIndex){if(a.current){var n=Wa(a.current);a.current!==(null==n?void 0:n.activeElement)&&a.current.focus()}return Ci({},e,{selectionIndex:null!=r.payload.max?Math.min(Math.max(r.payload.index,0),r.payload.max):Math.max(r.payload.index,0)})}return e;case xi:return Ci({},e,{selectionIndex:-1});case Li:return Ci({},e,{triggerId:r.payload});case Ii:return void 0!==r.payload?Ci({},e,{typeaheadQuery:r.payload}):e;default:return e}}function ji(){return(0,r.useContext)(zi)}function Xi(){return e=Pi,(0,r.useContext)(e).descendants;var e}function Ki(){return Ki=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Ki.apply(this,arguments)}function Gi(e,r){if(null==e)return{};var t,a,n={},i=Object.keys(e);for(a=0;a<i.length;a++)t=i[a],r.indexOf(t)>=0||(n[t]=e[t]);return n}var Yi=["as","id","children"],qi=["as"],Qi=["as"],Zi=["as"],Ji=["as"],eo=["portal"],ro=["as"],to=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?r.Fragment:a,i=e.id,o=e.children,s=Gi(e,Yi),l=(0,r.useMemo)((function(){try{return(0,x.isFragment)((0,r.createElement)(n,null))}catch(e){return!1}}),[n])?{}:Ki({ref:t,id:i,"data-reach-menu":""},s);return(0,r.createElement)(n,l,(0,r.createElement)(Vi,{id:i,children:o}))})),ao=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?"button":a,i=function(e){var t=e.onKeyDown,a=e.onMouseDown,n=e.id,i=e.ref,o=ki(e,Ai),s=ji(),l=s.dispatch,u=s.dropdownId,c=s.mouseDownStartPosRef,f=s.triggerClickedRef,v=s.triggerRef,d=s.state,h=d.triggerId,_=d.isExpanded,m=Ga(v,i),p=Xi(),S=(0,r.useMemo)((function(){return p.findIndex((function(e){return!e.disabled}))}),[p]);return(0,r.useEffect)((function(){null!=n&&n!==h&&l({type:Li,payload:n})}),[h,l,n]),{data:{isExpanded:_,controls:u},props:Ci({},o,{ref:m,id:h||void 0,onKeyDown:Ya(t,(function(e){switch(e.key){case"ArrowDown":case"ArrowUp":e.preventDefault(),l({type:Ri,payload:{index:S}});break;case"Enter":case" ":l({type:Ri,payload:{index:S}})}})),onMouseDown:Ya(a,(function(e){Ei(e.nativeEvent)||(c.current={x:e.clientX,y:e.clientY},_||(f.current=!0),l(_?{type:Ni}:{type:Oi}))})),type:"button"})}}(Ki({},Gi(e,qi),{ref:t})),o=i.data,s=o.isExpanded,l=o.controls,u=i.props;return(0,r.createElement)(n,Ki({"aria-expanded":!!s||void 0,"aria-haspopup":!0,"aria-controls":l},u,{"data-reach-menu-button":""}))})),no=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?"div":a,i=function(e){var t=e.index,a=e.isLink,n=void 0!==a&&a,i=e.onClick,o=e.onDragStart,s=e.onMouseDown,l=e.onMouseEnter,u=e.onMouseLeave,c=e.onMouseMove,f=e.onMouseUp,v=e.onSelect,d=e.disabled,h=e.onFocus,_=e.valueText,m=e.ref,p=ki(e,Mi),S=ji(),g=S.dispatch,b=S.dropdownRef,w=S.mouseDownStartPosRef,E=S.readyToSelect,y=S.selectCallbacks,k=S.triggerRef,C=S.state,A=C.selectionIndex,M=C.isExpanded,D=(0,r.useRef)(null),H=(0,r.useState)(_||""),x=H[0],T=H[1],N=(0,r.useCallback)((function(e){!_&&null!=e&&e.textContent&&T(e.textContent)}),[_]),R=(0,r.useRef)(!1),O=function(e,t){var a=(0,r.useState)(null),n=a[0],i=a[1];return[n,(0,r.useCallback)((function(r){e.current=r,i(r)}),[])]}(D),I=O[0],F=O[1],L=function(e,t,a){var n=qa(),i=(0,r.useContext)(t),o=i.registerDescendant,s=i.unregisterDescendant,l=i.descendants,u=null!=a?a:l.findIndex((function(r){return r.element===e.element}));return Pa((function(){return e.element||n(),o(Si({},e,{index:u})),function(){s(e.element)}}),[e,n,u,o,s].concat(Object.values(e))),u}((0,r.useMemo)((function(){return{element:I,key:x,disabled:d,isLink:n}}),[d,I,n,x]),Pi,t),P=L===A&&!d,z=Ga(m,F,N);function B(){Wi(k.current),v&&v(),g({type:Ti})}return y.current[L]=v,(0,r.useEffect)((function(){if(M){var e=window.setTimeout((function(){E.current=!0}),400);return function(){window.clearTimeout(e)}}E.current=!1}),[M,E]),(0,r.useEffect)((function(){var e=Wa(D.current);return e.addEventListener("mouseup",r),function(){e.removeEventListener("mouseup",r)};function r(){R.current=!1}}),[]),{data:{disabled:d},props:Ci({id:Ui(L),tabIndex:-1},p,{ref:z,"data-disabled":d?"":void 0,"data-selected":P?"":void 0,"data-valuetext":x,onClick:Ya(i,(function(e){Ei(e.nativeEvent)||n&&(d?e.preventDefault():B())})),onDragStart:Ya(o,(function(e){n&&e.preventDefault()})),onMouseDown:Ya(s,(function(e){Ei(e.nativeEvent)||(n?R.current=!0:e.preventDefault())})),onMouseEnter:Ya(l,(function(e){var r=Wa(b.current);P||null==L||d||(null!=b&&b.current&&b.current!==r.activeElement&&D.current!==r.activeElement&&b.current.focus(),g({type:Fi,payload:{index:L}}))})),onMouseLeave:Ya(u,(function(e){g({type:xi})})),onMouseMove:Ya(c,(function(e){if(!E.current){var r=Math.abs(e.clientX-w.current.x),t=Math.abs(e.clientY-w.current.y);(r>8||t>8)&&(E.current=!0)}P||null==L||d||g({type:Fi,payload:{index:L,dropdownRef:b}})})),onFocus:Ya(h,(function(){E.current=!0,P||null==L||d||g({type:Fi,payload:{index:L}})})),onMouseUp:Ya(f,(function(e){Ei(e.nativeEvent)||(E.current?n?R.current?R.current=!1:D.current&&D.current.click():d||B():E.current=!0)}))})}}(Ki({},Gi(e,Qi),{ref:t})),o=i.data.disabled,s=i.props;return(0,r.createElement)(n,Ki({role:"menuitem"},s,{"aria-disabled":o||void 0,"data-reach-menu-item":""}))})),io=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?"div":a,i=Gi(e,Zi);return(0,r.createElement)(no,Ki({},i,{ref:t,as:n}))})),oo=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?"div":a,i=function(e){e.id;var t=e.onKeyDown,a=e.ref,n=ki(e,Di),i=ji(),o=i.dispatch,s=i.triggerRef,l=i.dropdownRef,u=i.selectCallbacks,c=i.dropdownId,f=i.state,v=f.isExpanded,d=f.triggerId,h=f.selectionIndex,_=f.typeaheadQuery,m=Xi(),p=Ga(l,a);(0,r.useEffect)((function(){var e=function(e,r){if(void 0===r&&(r=""),!r)return null;var t=e.find((function(e){var t,a,n;return!e.disabled&&(null==(t=e.element)||null==(a=t.dataset)||null==(n=a.valuetext)?void 0:n.toLowerCase().startsWith(r))}));return t?e.indexOf(t):null}(m,_);_&&null!=e&&o({type:Fi,payload:{index:e,dropdownRef:l}});var r=window.setTimeout((function(){return _&&o({type:Ii,payload:""})}),1e3);return function(){return window.clearTimeout(r)}}),[o,m,_,l]);var S=yi(m.length),g=yi(m[h]),b=yi(h);(0,r.useEffect)((function(){h>m.length-1?o({type:Fi,payload:{index:m.length-1,dropdownRef:l}}):S!==m.length&&h>-1&&g&&b===h&&m[h]!==g&&o({type:Fi,payload:{index:m.findIndex((function(e){return e.key===(null==g?void 0:g.key)})),dropdownRef:l}})}),[l,o,m,S,g,b,h]);var w=Ya((function(e){var r=e.key;if(v)switch(r){case"Enter":case" ":var t=m.find((function(e){return e.index===h}));t&&!t.disabled&&(e.preventDefault(),t.isLink&&t.element?t.element.click():(Wi(s.current),u.current[t.index]&&u.current[t.index](),o({type:Ti})));break;case"Escape":Wi(s.current),o({type:Ni});break;case"Tab":e.preventDefault();break;default:if("string"==typeof r&&1===r.length){var a=_+r.toLowerCase();o({type:Ii,payload:a})}}}),function(e,t){var a=(0,r.useContext)(e).descendants,n=t.callback,i=t.currentIndex,o=t.filter,s=t.key,l=void 0===s?"index":s,u=t.orientation,c=void 0===u?"vertical":u,f=t.rotate,v=void 0===f||f,d=t.rtl,h=void 0!==d&&d;return function(e){if(["ArrowDown","ArrowUp","ArrowLeft","ArrowRight","PageUp","PageDown","Home","End"].includes(e.key)){var r=null!=i?i:-1,t=o?a.filter(o):a;if(t.length){var s=t.findIndex((function(e){return e.index===i}));switch(e.key){case"ArrowDown":if("vertical"===c||"both"===c){e.preventDefault();var u=b();n("option"===l?u:u[l])}break;case"ArrowUp":if("vertical"===c||"both"===c){e.preventDefault();var f=w();n("option"===l?f:f[l])}break;case"ArrowLeft":if("horizontal"===c||"both"===c){e.preventDefault();var d=(h?b:w)();n("option"===l?d:d[l])}break;case"ArrowRight":if("horizontal"===c||"both"===c){e.preventDefault();var _=(h?w:b)();n("option"===l?_:_[l])}break;case"PageUp":e.preventDefault();var m=(e.ctrlKey?w:E)();n("option"===l?m:m[l]);break;case"Home":e.preventDefault();var p=E();n("option"===l?p:p[l]);break;case"PageDown":e.preventDefault();var S=(e.ctrlKey?b:y)();n("option"===l?S:S[l]);break;case"End":e.preventDefault();var g=y();n("option"===l?g:g[l])}}}function b(){return r===y().index?v?E():t[s]:t[(s+1)%t.length]}function w(){return r===E().index?v?y():t[s]:t[(s-1+t.length)%t.length]}function E(){return t[0]}function y(){return t[t.length-1]}}}(Pi,{currentIndex:h,orientation:"vertical",rotate:!1,filter:function(e){return!e.disabled},callback:function(e){o({type:Fi,payload:{index:e,dropdownRef:l}})},key:"index"}));return{data:{activeDescendant:Ui(h)||void 0,triggerId:d},props:Ci({tabIndex:-1},n,{ref:p,id:c,onKeyDown:Ya(t,w)})}}(Ki({},Gi(e,Ji),{ref:t})),o=i.data,s=o.activeDescendant,l=o.triggerId,u=i.props;return(0,r.createElement)(n,Ki({"aria-activedescendant":s,"aria-labelledby":l||void 0,role:"menu"},u,{"data-reach-menu-items":""}))})),so=(0,r.forwardRef)((function(e,t){var a=e.portal,n=void 0===a||a,i=Gi(e,eo);return(0,r.createElement)(lo,{portal:n},(0,r.createElement)(oo,Ki({},i,{ref:t,"data-reach-menu-list":""})))})),lo=(0,r.forwardRef)((function(e,t){var a=e.as,n=void 0===a?"div":a,i=function(e){var t=e.onBlur,a=e.portal,n=void 0===a||a,i=e.position,o=e.ref,s=ki(e,Hi),l=ji(),u=l.triggerRef,c=l.triggerClickedRef,f=l.dispatch,v=l.dropdownRef,d=l.popoverRef,h=l.state.isExpanded,_=Ga(d,o);return(0,r.useEffect)((function(){if(h){var e=Wa(d.current);return e.addEventListener("mousedown",r),function(){e.removeEventListener("mousedown",r)}}function r(e){var r,t;c.current?c.current=!1:(r=d.current,t=e.target,r&&r.contains(t)||f({type:Ni}))}}),[c,u,f,v,d,h]),{data:{portal:n,position:i,targetRef:u,isExpanded:h},props:Ci({ref:_,hidden:!h,onBlur:Ya(t,(function(e){e.currentTarget.contains(e.relatedTarget)||f({type:Ni})}))},s)}}(Ki({},Gi(e,ro),{ref:t})),o=i.data,s=o.portal,l=o.targetRef,u=o.position,c=i.props,f={"data-reach-menu-popover":""};return s?(0,r.createElement)(vi,Ki({},c,f,{as:n,targetRef:l,position:u})):(0,r.createElement)(n,Ki({},c,f))}));function uo(){return uo=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},uo.apply(this,arguments)}const co=({children:e,...t})=>{const a=Pn();return r.createElement(so,uo({style:a},t),e)};var fo=a(9515),vo=a.n(fo);function ho(e,r){switch(r.type){case"UPDATE_OWNER_ID":const t=r.owners.findIndex((e=>e.id===r.ownerID));return{ownerID:r.ownerID,owners:r.owners,selectedIndex:t};case"UPDATE_SELECTED_INDEX":return{...e,selectedIndex:r.selectedIndex};default:throw new Error(`Invalid action "${r.type}"`)}}function _o(){const e=(0,r.useContext)(ni),{ownerID:t}=(0,r.useContext)(ot),a=(0,r.useContext)(st),[n,i]=(0,r.useReducer)(ho,{ownerID:null,owners:[],selectedIndex:0});if(null===t)i({type:"UPDATE_OWNER_ID",ownerID:null,owners:[]});else if(t!==n.ownerID){const r=n.owners.findIndex((e=>e.id===t))>=0;i({type:"UPDATE_OWNER_ID",ownerID:t,owners:r?n.owners:e(t)||[]})}const{owners:o,selectedIndex:s}=n,l=(0,r.useCallback)((e=>{if(null!==e){const r=o.indexOf(e);i({type:"UPDATE_SELECTED_INDEX",selectedIndex:r>=0?r:0}),a({type:"SELECT_OWNER",payload:e.id})}else i({type:"UPDATE_SELECTED_INDEX",selectedIndex:0}),a({type:"RESET_OWNER_STACK"})}),[o,a]),[u,c]=(0,r.useState)(0),f=(0,r.useRef)(null),v=function(e,t){const[a,n]=(0,r.useState)(!1);return(0,r.useLayoutEffect)((()=>{if(null===e.current)return()=>{};const r=e.current,a=Lt()((()=>n(r.clientWidth<=t)),100);a();const i=r.ownerDocument.defaultView;return i.addEventListener("resize",a),()=>i.removeEventListener("resize",a)}),[e,t]),a}(f,u),d=o[s];return(0,r.useLayoutEffect)((()=>{if(null===f.current||v)return()=>{};let e=0;for(let r=0;r<o.length;r++){const t=f.current.children[r],a=getComputedStyle(t);e+=t.offsetWidth+parseInt(a.marginLeft,10)+parseInt(a.marginRight,10)}c(e)}),[f,v,o.length]),r.createElement("div",{className:vo().OwnerStack},r.createElement("div",{className:vo().Bar,ref:f},v&&r.createElement(r.Fragment,null,r.createElement(mo,{owners:o,selectedIndex:s,selectOwner:l}),r.createElement(So,{owners:o,selectedIndex:s,selectOwner:l}),null!=d&&r.createElement(po,{owner:d,isSelected:!0,selectOwner:l})),!v&&o.map(((e,t)=>r.createElement(po,{key:t,owner:e,isSelected:t===s,selectOwner:l})))),r.createElement("div",{className:vo().VRule}),r.createElement(Xn,{onClick:()=>l(null),title:"Back to tree view"},r.createElement(Jt,{type:"close"})))}function mo({owners:e,selectedIndex:t,selectOwner:a}){const n=(0,r.useContext)(wr),i=[];for(let t=e.length-1;t>=0;t--){const o=e[t],s=n.containsElement(o.id);i.push(r.createElement(io,{key:o.id,className:`${vo().Component} ${s?"":vo().NotInStore}`,onSelect:()=>s?a(o):null},o.displayName,r.createElement(qt,{className:vo().Badge,hocDisplayNames:o.hocDisplayNames,type:o.type})))}return r.createElement(to,null,r.createElement(ao,{className:vo().MenuButton},r.createElement(Bn,{label:"Open elements dropdown"},r.createElement("span",{className:vo().MenuButtonContent,tabIndex:-1},r.createElement(Jt,{type:"more"})))),r.createElement(co,{className:vo().Modal},i))}function po({isSelected:e,owner:t,selectOwner:a}){const n=(0,r.useContext)(wr),{displayName:i,hocDisplayNames:o,type:s}=t,l=n.containsElement(t.id),u=(0,r.useCallback)((()=>{l&&a(t)}),[l,a,t]);return r.createElement(Vn,{className:`${vo().Component} ${l?"":vo().NotInStore}`,isChecked:e,onChange:u},i,r.createElement(qt,{className:vo().Badge,hocDisplayNames:o,type:s}))}function So({owners:e,selectedIndex:t,selectOwner:a}){const n=(0,r.useContext)(wr);if(t<=0)return null;const i=e[t-1],o=n.containsElement(i.id);return r.createElement(Xn,{className:o?void 0:vo().NotInStore,onClick:()=>o?a(i):null,title:`Up to ${i.displayName||"owner"}`},r.createElement(Jt,{type:"previous"}))}var go=a(9110),bo=a.n(go);function wo({goToNextResult:e,goToPreviousResult:t,placeholder:a,search:n,searchIndex:i,searchResultsCount:o,searchText:s,testName:l}){const u=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(null===u.current)return()=>{};const e=e=>{const{key:r,metaKey:t}=e;"f"===r&&t&&null!==u.current&&(u.current.focus(),e.preventDefault(),e.stopPropagation())},r=u.current.ownerDocument;return r.addEventListener("keydown",e),()=>r.removeEventListener("keydown",e)}),[]),r.createElement("div",{className:bo().SearchInput,"data-testname":l},r.createElement(dt,{className:bo().InputIcon,type:"search"}),r.createElement("input",{"data-testname":l?`${l}-Input`:void 0,className:bo().Input,onChange:({currentTarget:e})=>{n(e.value)},onKeyPress:({key:r,shiftKey:a})=>{"Enter"===r&&(a?t():e())},placeholder:a,ref:u,value:s}),!!s&&r.createElement(r.Fragment,null,r.createElement("span",{className:bo().IndexLabel,"data-testname":l?`${l}-ResultsCount`:void 0},Math.min(i+1,o)," |"," ",o),r.createElement("div",{className:bo().LeftVRule}),r.createElement(Xn,{"data-testname":l?`${l}-PreviousButton`:void 0,disabled:!s,onClick:t,title:r.createElement(r.Fragment,null,"Scroll to previous search result (",r.createElement("kbd",null,"Shift")," +"," ",r.createElement("kbd",null,"Enter"),")")},r.createElement(Jt,{type:"up"})),r.createElement(Xn,{"data-testname":l?`${l}-NextButton`:void 0,disabled:!s,onClick:e,title:r.createElement(r.Fragment,null,"Scroll to next search result (",r.createElement("kbd",null,"Enter"),")")},r.createElement(Jt,{type:"down"})),r.createElement(Xn,{"data-testname":l?`${l}-ResetButton`:void 0,disabled:!s,onClick:()=>n(""),title:"Reset search"},r.createElement(Jt,{type:"close"}))))}function Eo(e){const{searchIndex:t,searchResults:a,searchText:n}=(0,r.useContext)(ot),i=(0,r.useContext)(st);return r.createElement(wo,{goToNextResult:()=>i({type:"GO_TO_NEXT_SEARCH_RESULT"}),goToPreviousResult:()=>i({type:"GO_TO_PREVIOUS_SEARCH_RESULT"}),placeholder:"Search (text or /regex/)",search:e=>i({type:"SET_SEARCH_TEXT",payload:e}),searchIndex:t,searchResultsCount:a.length,searchText:n,testName:"ComponentSearchInput"})}const yo=(0,r.createContext)(null);function ko({children:e}){const[t,a]=(0,r.useState)(!1),n=(0,r.useMemo)((()=>({isModalShowing:t,setIsModalShowing:a})),[t,a]);return r.createElement(yo.Provider,{value:n},e)}function Co(){const{setIsModalShowing:e}=(0,r.useContext)(yo),t=(0,r.useContext)(wr),{profilerStore:a}=t,n=(0,r.useCallback)((()=>e(!0)),[e]),i=Vt((0,r.useMemo)((()=>({getCurrentValue:()=>a.isProfiling,subscribe:e=>(a.addListener("isProfiling",e),()=>a.removeListener("isProfiling",e))})),[a]));return r.createElement(Xn,{disabled:i,onClick:n,title:"View settings"},r.createElement(Jt,{type:"settings"}))}yo.displayName="SettingsModalContext";const Ao=(0,r.createContext)(!1);var Mo=a(7500),Do=a.n(Mo);function Ho(e){const{lineHeight:t}=(0,r.useContext)(Wt),a=(0,r.useContext)(wr),n=(0,r.useContext)(Ao),{ownerID:i,selectedElementID:o}=(0,r.useContext)(ot),s=(0,r.useMemo)((()=>({getCurrentValue:()=>{if(null===o||a.isInsideCollapsedSubTree(o))return null;const e=a.getElementByID(o);if(null===e||e.isCollapsed||0===e.children.length)return null;const r=a.getIndexOfElementID(e.children[0]);if(null===r)return null;let t=null,n=e;for(;null!==n;)if(n.isCollapsed||0===n.children.length)t=a.getIndexOfElementID(n.id),n=null;else{const e=n.children[n.children.length-1];n=a.getElementByID(e)}return null===t?null:{startIndex:r,stopIndex:t}},subscribe:e=>(a.addListener("mutated",e),()=>{a.removeListener("mutated",e)})})),[o,a]),l=Vt(s);if(null!==i)return null;if(null===l)return null;const{startIndex:u,stopIndex:c}=l;return r.createElement("div",{className:n?Do().Active:Do().Inactive,style:{position:"absolute",top:u*t+"px",height:(c+1-u)*t+"px"}})}class xo extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,xo),this.name="TimeoutError"}}class To extends Error{constructor(){super(),Error.captureStackTrace&&Error.captureStackTrace(this,To),this.name="ElementPollingCancellationError"}}let No=0;const Ro=1e4;let Oo=0;function Io(e,r){if(null!==e){const{cleaned:t,data:a,unserializable:n}=e;if(r){const{length:e}=r;if(e>0)return F(a,t.map((r=>r.slice(e))),n.map((r=>r.slice(e))))}return F(a,t,n)}return null}var Fo=a(8633),Lo=a.n(Fo);function Po(){return Po=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},Po.apply(this,arguments)}const zo=12;function Bo(e){const t=(0,r.useContext)(st),{numElements:a,ownerID:n,searchIndex:i,searchResults:o,selectedElementID:s,selectedElementIndex:l}=(0,r.useContext)(ot),u=(0,r.useContext)(br),c=(0,r.useContext)(wr),{hideSettings:f}=(0,r.useContext)(yr),[v,d]=(0,r.useState)(!1),{highlightNativeElement:h,clearHighlightNativeElement:_}=Ut(),m=(0,r.useRef)(null),p=(0,r.useRef)(null),[S,g]=(0,r.useState)(!1),{lineHeight:b,showInlineWarningsAndErrors:w}=(0,r.useContext)(Wt),E=(0,r.useCallback)((e=>{null!=e&&null!==l&&e.scrollToItem(l,"smart")}),[l]);(0,r.useEffect)((()=>{function e(e){e&&null!==p.current&&(p.current.focus(),(0,vr.K)({event_name:"select-element",metadata:{source:"inspector"}}))}return u.addListener("stopInspectingNative",e),()=>u.removeListener("stopInspectingNative",e)}),[u]);const y=(0,r.useRef)(null);(0,r.useEffect)((()=>{if(null===m.current)return()=>{};const e=e=>{if("INPUT"===e.target.tagName||e.defaultPrevented)return;let r;switch(e.key){case"ArrowDown":e.preventDefault(),e.altKey?t({type:"SELECT_NEXT_SIBLING_IN_TREE"}):t({type:"SELECT_NEXT_ELEMENT_IN_TREE"});break;case"ArrowLeft":e.preventDefault(),r=null!==s?c.getElementByID(s):null,null!==r&&(e.altKey?null!==r.ownerID&&t({type:"SELECT_OWNER_LIST_PREVIOUS_ELEMENT_IN_TREE"}):r.children.length>0&&!r.isCollapsed?c.toggleIsCollapsed(r.id,!0):t({type:"SELECT_PARENT_ELEMENT_IN_TREE"}));break;case"ArrowRight":e.preventDefault(),r=null!==s?c.getElementByID(s):null,null!==r&&(e.altKey?t({type:"SELECT_OWNER_LIST_NEXT_ELEMENT_IN_TREE"}):r.children.length>0&&r.isCollapsed?c.toggleIsCollapsed(r.id,!1):t({type:"SELECT_CHILD_ELEMENT_IN_TREE"}));break;case"ArrowUp":e.preventDefault(),e.altKey?t({type:"SELECT_PREVIOUS_SIBLING_IN_TREE"}):t({type:"SELECT_PREVIOUS_ELEMENT_IN_TREE"});break;default:return}d(!0)},r=m.current;return r.addEventListener("keydown",e),()=>{r.removeEventListener("keydown",e)}}),[t,s,c]);const k=(0,r.useCallback)((()=>g(!1)),[]),C=(0,r.useCallback)((()=>{g(!0),null===l&&a>0&&t({type:"SELECT_ELEMENT_AT_INDEX",payload:0})}),[t,a,l]),A=(0,r.useCallback)((e=>{switch(e.key){case"Enter":case" ":null!==s&&t({type:"SELECT_OWNER",payload:s})}}),[t,s]),M=(0,r.useRef)({searchIndex:i,searchResults:o});(0,r.useEffect)((()=>{let e=!1;M.current.searchIndex===i&&M.current.searchResults===o||(M.current.searchIndex=i,M.current.searchResults=o,e=!0),(v||e)&&(null!==s?h(s):_())}),[u,v,h,i,o,s]);const D=(0,r.useCallback)((e=>{v||h(e)}),[v,h]),H=(0,r.useCallback)((()=>{d(!1)}),[]),x=_,T=(0,r.useMemo)((()=>({numElements:a,isNavigatingWithKeyboard:v,onElementMouseEnter:D,lastScrolledIDRef:y,treeFocused:S})),[a,v,D,y,S]),N=(0,r.useCallback)((e=>c.getElementIDAtIndex(e)),[c]),R=r.useCallback((()=>{t({type:"SELECT_PREVIOUS_ELEMENT_WITH_ERROR_OR_WARNING_IN_TREE"})}),[]),O=r.useCallback((()=>{t({type:"SELECT_NEXT_ELEMENT_WITH_ERROR_OR_WARNING_IN_TREE"})}),[]),I=(0,r.useMemo)((()=>({getCurrentValue:()=>({errors:c.errorCount,warnings:c.warningCount}),subscribe:e=>(c.addListener("mutated",e),()=>c.removeListener("mutated",e))})),[c]),{errors:F,warnings:L}=Vt(I),P=r.createElement("div",{className:Lo().ZeroElementsNotice},r.createElement("p",null,"Loading React Element Tree..."),r.createElement("p",null,"If this seems stuck, please follow the"," ",r.createElement("a",{className:Lo().Link,href:"https://github.com/facebook/react/blob/main/packages/react-devtools/README.md#the-react-tab-shows-no-components",target:"_blank"},"troubleshooting instructions"),"."));return r.createElement(Ao.Provider,{value:S},r.createElement("div",{className:Lo().Tree,ref:m},r.createElement("div",{className:Lo().SearchInput},c.supportsNativeInspection&&r.createElement(r.Fragment,null,r.createElement(Un,null),r.createElement("div",{className:Lo().VRule})),r.createElement(r.Suspense,{fallback:r.createElement(Uo,null)},null!==n?r.createElement(_o,null):r.createElement(Eo,null)),w&&null===n&&(F>0||L>0)&&r.createElement(r.Fragment,null,r.createElement("div",{className:Lo().VRule}),F>0&&r.createElement("div",{className:Lo().IconAndCount},r.createElement(dt,{className:Lo().ErrorIcon,type:"error"}),F),L>0&&r.createElement("div",{className:Lo().IconAndCount},r.createElement(dt,{className:Lo().WarningIcon,type:"warning"}),L),r.createElement(Xn,{onClick:R,title:"Scroll to previous error or warning"},r.createElement(Jt,{type:"up"})),r.createElement(Xn,{onClick:O,title:"Scroll to next error or warning"},r.createElement(Jt,{type:"down"})),r.createElement(Xn,{onClick:()=>{!function({bridge:e,store:r}){r.rootIDToRendererID.forEach((r=>{e.send("clearErrorsAndWarnings",{rendererID:r})}))}({bridge:u,store:c})},title:"Clear all errors and warnings"},r.createElement(Jt,{type:"clear"}))),!f&&r.createElement(r.Fragment,null,r.createElement("div",{className:Lo().VRule}),r.createElement(Co,null))),0===a?P:r.createElement("div",{className:Lo().AutoSizerWrapper,onBlur:k,onFocus:C,onKeyPress:A,onMouseMove:H,onMouseLeave:x,ref:p,tabIndex:0},r.createElement(Ir,null,(({height:e,width:t})=>r.createElement(Gr,{className:Lo().List,height:e,innerElementType:Vo,itemCount:a,itemData:T,itemKey:N,itemSize:b,ref:E,width:t},Ta))))))}function Vo({children:e,style:t,...a}){const{ownerID:n}=(0,r.useContext)(ot),i=(0,r.useMemo)((()=>new WeakMap),[]),o=(0,r.useRef)(zo),s=(0,r.useRef)(0),l=(0,r.useRef)(n),u=(0,r.useRef)(null);return n!==l.current&&(l.current=n,o.current=zo),(0,r.useEffect)((()=>{null!==u.current&&function(e,r,t,a){const n=e.parentElement,i=n.clientWidth;if(0===i)return;i>a.current&&(t.current=zo),a.current=i;let o=t.current;for(const t of e.children){const e=parseInt(t.getAttribute("data-depth"),10)||0;let a=0;const n=r.get(t);if(null!=n)a=n;else{const{firstElementChild:e}=t;null!=e&&(a=e.clientWidth,r.set(t,a))}const s=Math.max(0,i-a);o=Math.min(o,s/e)}t.current=o,n.style.setProperty("--indentation-size",`${o}px`)}(u.current,i,o,s)})),r.createElement("div",Po({className:Lo().InnerElementType,ref:u,style:t},a),r.createElement(Ho,null),e)}function Uo(){return r.createElement("div",{className:Lo().Loading},"Loading...")}var Wo=a(5394),$o=a.n(Wo);function jo({callStack:e,children:t,componentStack:a,errorMessage:n}){return r.createElement("div",{className:$o().ErrorBoundary},t,r.createElement("div",{className:$o().ErrorInfo},r.createElement("div",{className:$o().HeaderRow},r.createElement("div",{className:$o().ErrorHeader},n||"Bridge protocol mismatch")),r.createElement("div",{className:$o().InfoBox},"An incompatible version of ",r.createElement("code",null,"react-devtools-core")," has been embedded in a renderer like React Native. To fix this, update the"," ",r.createElement("code",null,"react-devtools-core")," package within the React Native application, or downgrade the ",r.createElement("code",null,"react-devtools")," package you use to open the DevTools UI."),!!e&&r.createElement("div",{className:$o().ErrorStack},"The error was thrown ",e.trim())))}function Xo({callStack:e,children:t,componentStack:a,dismissError:n=null,errorMessage:i}){return r.createElement("div",{className:$o().ErrorBoundary},t,r.createElement("div",{className:$o().ErrorInfo},r.createElement("div",{className:$o().HeaderRow},r.createElement("div",{className:$o().ErrorHeader},"Uncaught Error: ",i||""),null!==n&&r.createElement(Xn,{className:$o().CloseButton,onClick:n},"Dismiss",r.createElement(Jt,{className:$o().CloseButtonIcon,type:"close"}))),!!e&&r.createElement("div",{className:$o().ErrorStack},"The error was thrown ",e.trim()),!!a&&r.createElement("div",{className:$o().ErrorStack},"The error occurred ",a.trim())))}var Ko=a(8818),Go=a.n(Ko);function Yo({className:e=""}){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:`${Go().Icon} ${e}`,width:"24",height:"24",viewBox:"0 0 100 100"},r.createElement("path",{d:"M0 0h100v100H0z",fill:"none"}),r.createElement("circle",{fill:"currentColor",stroke:"none",cx:"20",cy:"50",r:"10"},r.createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.1"})),r.createElement("circle",{fill:"currentColor",stroke:"none",cx:"50",cy:"50",r:"10"},r.createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.2"})),r.createElement("circle",{fill:"currentColor",stroke:"none",cx:"80",cy:"50",r:"10"},r.createElement("animate",{attributeName:"opacity",dur:"1s",values:"0;1;0",repeatCount:"indefinite",begin:"0.3"})))}function qo(){return r.createElement("div",{className:$o().GitHubLinkRow},r.createElement(Yo,{className:$o().LoadingIcon}),"Searching GitHub for reports of this error...")}const Qo="https://api.github.com/search/issues";function Zo(e){return e=e.replace(/"[0-9]+"/g,""),Qo+"?q="+encodeURIComponent(e)+"%20"+["in:title","is:issue","is:open","is:public",'label:"Component: Developer Tools"',"repo:facebook/react"].map(encodeURIComponent).join("%20")}const Jo=3e3,es=0,rs=1,ts=2;function as(){return new Map}function ns({gitHubIssue:e}){const{title:t,url:a}=e;return r.createElement("div",{className:$o().GitHubLinkRow},r.createElement(dt,{className:$o().ReportIcon,type:"bug"}),r.createElement("div",{className:$o().UpdateExistingIssuePrompt},"Update existing issue:"),r.createElement("a",{className:$o().ReportLink,href:a,rel:"noopener noreferrer",target:"_blank",title:"Report bug"},t))}const is=["Component: Developer Tools","Type: Bug","Status: Unconfirmed"],os="devtools_bug_report.yml";function ss({callStack:e,componentStack:t,errorMessage:a}){let n="https://github.com/facebook/react";if(!n)return null;const i=null!==a?Zo(a):"(none)",o=`[DevTools Bug] ${a||""}`;return n+=`/issues/new?${[`template=${os}`,`labels=${encodeURIComponent(is.join(","))}`,`title=${encodeURIComponent(o)}`,"automated_package=react-devtools-core","automated_version=4.28.5-ef8a840bd",`automated_error_message=${encodeURIComponent(a||"")}`,`automated_call_stack=${encodeURIComponent(e||"")}`,`automated_component_stack=${encodeURIComponent(t||"")}`,`automated_github_query_string=${i}`].join("&")}`,r.createElement("div",{className:$o().GitHubLinkRow},r.createElement(dt,{className:$o().ReportIcon,type:"bug"}),r.createElement("a",{className:$o().ReportLink,href:n,rel:"noopener noreferrer",target:"_blank",title:"Report bug"},"Report this issue"),r.createElement("div",{className:$o().ReproSteps},"(Please include steps on how to reproduce it and the components used.)"))}function ls(){return dr.pK?r.createElement("div",{className:$o().WorkplaceGroupRow},r.createElement(dt,{className:$o().ReportIcon,type:"facebook"}),r.createElement("a",{className:$o().ReportLink,href:Nt,rel:"noopener noreferrer",target:"_blank",title:"Report bug"},"Report this on Workplace"),r.createElement("div",{className:$o().FacebookOnly},"(Facebook employees only.)")):null}function us({callStack:e,componentStack:t,errorMessage:a}){const n=null!==a?function(e){e=function(e){return e.replace(/"[0-9]+"/,"")}(e);const t=(0,r.unstable_getCacheForType)(as);let a=t.get(e);if(!a){const r=new Set,n=()=>{r.forEach((e=>e())),r.clear()},i=a={status:es,value:{then(e){r.add(e)},displayName:`Searching GitHub issues for error "${e}"`}};let o=!1;(async function(e){const r=await fetch(Zo(e)),t=await r.json();if(t.items.length>0){const e=t.items[0];return{title:e.title,url:e.html_url}}return null})(e).then((e=>{if(!o){if(e){const r=i;r.status=rs,r.value=e}else{const e=i;e.status=ts,e.value=null}n()}})).catch((e=>{const r=i;r.status=ts,r.value=null,n()})),setTimeout((()=>{o=!0;const e=i;e.status=ts,e.value=null,n()}),Jo),t.set(e,a)}return function(e){if(e.status===rs)return e;if(e.status===ts)return e;throw e.value}(a).value}(a):null;let i;return i=null!=n?r.createElement(ns,{gitHubIssue:n}):r.createElement(ss,{callStack:e,componentStack:t,errorMessage:a}),r.createElement(r.Fragment,null,i,r.createElement(ls,null))}function cs({callStack:e,children:t,componentStack:a,dismissError:n=null,errorMessage:i}){return r.createElement("div",{className:$o().ErrorBoundary},t,r.createElement("div",{className:$o().ErrorInfo},r.createElement("div",{className:$o().HeaderRow},r.createElement("div",{className:$o().TimeoutHeader},i||"Timed out waiting"),r.createElement(Xn,{className:$o().CloseButton,onClick:n},"Retry",r.createElement(Jt,{className:$o().CloseButtonIcon,type:"close"}))),!!a&&r.createElement("div",{className:$o().TimeoutStack},"The timeout occurred ",a.trim())))}function fs({callStack:e,children:t,info:a,componentStack:n,errorMessage:i}){return r.createElement("div",{className:$o().ErrorBoundary},t,r.createElement("div",{className:$o().ErrorInfo},r.createElement("div",{className:$o().HeaderRow},r.createElement("div",{className:$o().ErrorHeader},i)),!!a&&r.createElement("div",{className:$o().InfoBox},a),!!e&&r.createElement("div",{className:$o().ErrorStack},"The error was thrown ",e.trim())))}class vs extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,vs),this.name="UserError"}}class ds extends Error{constructor(e){super(e),Error.captureStackTrace&&Error.captureStackTrace(this,ds),this.name="UnknownHookError"}}function hs(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const _s={callStack:null,canDismiss:!1,componentStack:null,errorMessage:null,hasError:!1,isUnsupportedBridgeOperationError:!1,isTimeout:!1,isUserError:!1,isUnknownHookError:!1};class ms extends r.Component{constructor(...e){super(...e),hs(this,"state",_s),hs(this,"_logError",((e,r)=>{(0,vr.K)({event_name:"error",error_message:e.message??null,error_stack:e.stack??null,error_component_stack:r??null})})),hs(this,"_dismissError",(()=>{const e=this.props.onBeforeDismissCallback;"function"==typeof e&&e(),this.setState(_s)})),hs(this,"_onStoreError",(e=>{this.state.hasError||(this._logError(e,null),this.setState({...ms.getDerivedStateFromError(e),canDismiss:!0}))}))}static getDerivedStateFromError(e){const r="object"==typeof e&&null!==e&&"string"==typeof e.message?e.message:null,t=e instanceof xo,a=e instanceof vs,n=e instanceof ds,i=e instanceof or;return{callStack:"object"==typeof e&&null!==e&&"string"==typeof e.stack?e.stack.split("\n").slice(1).join("\n"):null,errorMessage:r,hasError:!0,isUnsupportedBridgeOperationError:i,isUnknownHookError:n,isTimeout:t,isUserError:a}}componentDidCatch(e,{componentStack:r}){this._logError(e,r),this.setState({componentStack:r})}componentDidMount(){const{store:e}=this.props;null!=e&&e.addListener("error",this._onStoreError)}componentWillUnmount(){const{store:e}=this.props;null!=e&&e.removeListener("error",this._onStoreError)}render(){const{canDismiss:e,children:t}=this.props,{callStack:a,canDismiss:n,componentStack:i,errorMessage:o,hasError:s,isUnsupportedBridgeOperationError:l,isTimeout:u,isUserError:c,isUnknownHookError:f}=this.state;return s?u?r.createElement(cs,{callStack:a,componentStack:i,dismissError:e||n?this._dismissError:null,errorMessage:o}):l?r.createElement(jo,{callStack:a,componentStack:i,errorMessage:o}):c?r.createElement(fs,{callStack:a,componentStack:i,errorMessage:o||"Error occured in inspected element",info:r.createElement(r.Fragment,null,"React DevTools encountered an error while trying to inspect the hooks. This is most likely caused by a developer error in the currently inspected element. Please see your console for logged error.")}):f?r.createElement(fs,{callStack:a,componentStack:i,errorMessage:o||"Encountered an unknown hook",info:r.createElement(r.Fragment,null,"React DevTools encountered an unknown hook. This is probably because the react-debug-tools package is out of date. To fix, upgrade the React DevTools to the most recent version.")}):r.createElement(Xo,{callStack:a,componentStack:i,dismissError:e||n?this._dismissError:null,errorMessage:o},r.createElement(r.Suspense,{fallback:r.createElement(qo,null)},r.createElement(us,{callStack:a,componentStack:i,errorMessage:o}))):t}}const ps=ms;function Ss({children:e}){const t=Pn(),a=r.useMemo((()=>({...t,width:"100%",height:"100%"})),[t]);return r.createElement("div",{style:a},e)}function gs(e){return function({portalContainer:a,...n}){const i=(0,r.useContext)(wr);let o=r.createElement(ps,{store:i},r.createElement(e,n));return null!=a&&(o=r.createElement(Ss,null,r.createElement("div",{"data-react-devtools-portal-root":!0,style:{width:"100vw",height:"100vh"}},o))),null!=a?(0,t.createPortal)(o,a):o}}const bs=new(H())({max:25});function ws(e,r,t,a,n=!1){const{id:i}=r;return function(e,r,t,a,n,i=!1){const o=Oo++,s=function(e,r,t,a,n=!1){return new Promise(((i,o)=>{const s=()=>{t.removeListener(r,c),t.removeListener("shutdown",l),n&&t.removeListener("pauseElementPolling",u),clearTimeout(f)},l=()=>{s(),o(new Error("Failed to inspect element. Try again or restart React DevTools."))},u=()=>{s(),o(new To)},c=r=>{r.responseID===e&&(s(),i(r))};t.addListener(r,c),t.addListener("shutdown",l),n&&t.addListener("pauseElementPolling",u);const f=setTimeout((()=>{s(),o(new xo(a))}),Ro)}))}(o,"inspectedElement",e,`Timed out while inspecting element ${t}.`,i);return e.send("inspectElement",{forceFullData:r,id:t,path:a,rendererID:n,requestID:o}),s}(e,!bs.has(i),i,t,a,n).then((e=>{const{type:r}=e;let a;switch(r){case"error":{const{message:r,stack:t,errorType:a}=e;let n;throw n="user"===a?new vs(r):"unknown-hook"===a?new ds(r):new Error(r),n.stack=t||n.stack,n}case"no-change":if(a=bs.get(i),null!=a)return[a,r];throw Error(`Cached data for element "${i}" not found`);case"not-found":throw bs.del(i),Error(`Element "${i}" not found`);case"full-data":return a=function(e){const{canEditFunctionProps:r,canEditFunctionPropsDeletePaths:t,canEditFunctionPropsRenamePaths:a,canEditHooks:n,canEditHooksAndDeletePaths:i,canEditHooksAndRenamePaths:o,canToggleError:s,isErrored:l,targetErrorBoundaryID:u,canToggleSuspense:c,canViewSource:f,hasLegacyContext:v,id:d,source:h,type:_,owners:m,context:p,hooks:S,plugins:g,props:b,rendererPackageName:w,rendererVersion:E,rootType:y,state:k,key:C,errors:A,warnings:M}=e;return{canEditFunctionProps:r,canEditFunctionPropsDeletePaths:t,canEditFunctionPropsRenamePaths:a,canEditHooks:n,canEditHooksAndDeletePaths:i,canEditHooksAndRenamePaths:o,canToggleError:s,isErrored:l,targetErrorBoundaryID:u,canToggleSuspense:c,canViewSource:f,hasLegacyContext:v,id:d,key:C,plugins:g,rendererPackageName:w,rendererVersion:E,rootType:y,source:h,type:_,owners:null===m?null:m.map((e=>{const[r,t]=X(e.displayName,e.type);return{...e,displayName:r,hocDisplayNames:t}})),context:Io(p),hooks:Io(S),props:Io(b),state:Io(k),errors:A,warnings:M}}(e.value),bs.set(i,a),[a,r];case"hydrated-path":const n=e,{value:o}=n;if(a=bs.get(i)||null,null!==a)return a={...a},null!=t&&function(e,r,t,a){const n=G(e,t);if(null!=n&&(n[I.unserializable]||(delete n[I.inspectable],delete n[I.inspected],delete n[I.name],delete n[I.preview_long],delete n[I.preview_short],delete n[I.readonly],delete n[I.size],delete n[I.type])),null!==a&&r.unserializable.length>0){const e=r.unserializable[0];let n=e.length===t.length;for(let r=0;r<t.length;r++)if(t[r]!==e[r]){n=!1;break}n&&L(a,a)}!function(e,r,t){const a=r.length,n=r[a-1];if(null!=e){const i=G(e,r.slice(0,a-1));i&&(i[n]=t)}}(e,t,a)}(a,o,t,Io(o,t)),bs.set(i,a),[a,r]}throw Error(`Unable to inspect element with id "${i}"`)}))}const Es=0,ys=1,ks=2;function Cs(){return new WeakMap}function As({bridge:e,element:t,refresh:a,store:n}){const{id:i}=t,o=n.getRendererIDForElement(i);if(null!=o)return ws(e,t,null,o,!0).then((([e,n])=>{"full-data"===n&&(0,r.startTransition)((()=>{const[r,n]=function(e,r){const t={status:ys,value:r},a=Cs();return a.set(e,t),[Cs,a]}(t,e);a(r,n)}))}))}var Ms=a(9548),Ds=a.n(Ms);function Hs({children:e}){const{selectedElementID:t}=(0,r.useContext)(ot),a=(0,r.unstable_useCacheRefresh)(),n=(0,r.useCallback)((()=>{!function(e){(0,r.startTransition)((()=>{const r=Cs();e(Cs,r)}))}(a)}),[a]);return r.createElement("div",{className:Ds().Wrapper},r.createElement(ps,{key:t,canDismiss:!0,onBeforeDismissCallback:n},e))}var xs=a(7826),Ts=a.n(xs);const Ns=(0,r.createContext)(null);function Rs(e,r){switch(r.type){case"HIDE":return{dialogs:e.dialogs.filter((e=>e.id!==r.id))};case"SHOW":return{dialogs:[...e.dialogs,{canBeDismissed:!1!==r.canBeDismissed,content:r.content,id:r.id,title:r.title||null}]};default:throw new Error(`Invalid action "${r.type}"`)}}function Os({children:e}){const[t,a]=(0,r.useReducer)(Rs,{dialogs:[]}),n=(0,r.useMemo)((()=>({dialogs:t.dialogs,dispatch:a})),[t,a]);return r.createElement(Ns.Provider,{value:n},e)}function Is(e){const{dialogs:t,dispatch:a}=(0,r.useContext)(Ns);return 0===t.length?null:r.createElement("div",{className:Ts().Background},t.map((e=>r.createElement(Fs,{key:e.id,canBeDismissed:e.canBeDismissed,content:e.content,dispatch:a,id:e.id,title:e.title}))))}function Fs({canBeDismissed:e,content:t,dispatch:a,id:n,title:i}){const o=(0,r.useCallback)((()=>{e&&a({type:"HIDE",id:n})}),[e,a]),s=(0,r.useRef)(null);return Bt(s,o,!1),r.createElement("div",{ref:s,className:Ts().Dialog,onClick:e=>{e.stopPropagation()}},null!==i&&r.createElement("div",{className:Ts().Title},i),t,e&&r.createElement("div",{className:Ts().Buttons},r.createElement(Xn,{autoFocus:!0,className:Ts().Button,onClick:o},"Okay")))}Ns.displayName="ModalDialogContext";const Ls=(0,r.createContext)(null);Ls.displayName="ViewElementSourceContext";const Ps=Ls;function zs(){return(0,r.useContext)(wr).componentFilters.find((e=>e.type===k&&e.value===y&&e.isEnabled))?r.createElement("div",null,"Suspended state cannot be toggled while Suspense components are hidden. Disable the filter and try again."):r.createElement("div",null,"The selected element is not within a Suspense container. Suspending it would cause an error.")}const Bs=new Map,Vs=new Map;let Us=null,Ws=null;function $s(){"function"==typeof Us&&(Us(),"function"==typeof Ws&&Ws(!1)),Us=null,Ws=null}const js=(0,r.createContext)({hideMenu:$s,showMenu:function({data:e,id:r,onChange:t,pageX:a,pageY:n}){const i=Bs.get(r);"function"==typeof i&&($s(),Us=Vs.get(r),i({data:e,pageX:a,pageY:n}),"function"==typeof t&&(Ws=t,t(!0)))},registerMenu:function(e,r,t){if(Bs.has(e))throw Error(`Context menu with id "${e}" already registered.`);return Bs.set(e,r),Vs.set(e,t),function(){Bs.delete(e),Vs.delete(e)}}});var Xs=a(4850),Ks=a.n(Xs);const Gs={data:null,isVisible:!1,pageX:0,pageY:0};function Ys({children:e,id:a}){const{hideMenu:n,registerMenu:i}=(0,r.useContext)(js),[o,s]=(0,r.useState)(Gs),l=(0,r.useRef)(null),u=(0,r.useRef)(null),c=(0,r.useRef)(null);if((0,r.useEffect)((()=>{const e=l.current;if(null!==e){const r=e.ownerDocument;u.current=r.querySelector("[data-react-devtools-portal-root]"),null==u.current&&console.warn("DevTools tooltip root node not found; context menus will be disabled.")}}),[]),(0,r.useEffect)((()=>i(a,(({data:e,pageX:r,pageY:t})=>{s({data:e,isVisible:!0,pageX:r,pageY:t})}),(()=>s(Gs)))),[a]),(0,r.useLayoutEffect)((()=>{if(!o.isVisible)return;const e=c.current,r=u.current;if(null!==r){const t=r=>{e.contains(r.target)||n()},a=r.ownerDocument;a.addEventListener("mousedown",t),a.addEventListener("touchstart",t),a.addEventListener("keydown",t);const i=a.defaultView;return i.addEventListener("resize",n),function(e,r,t){const a=e.ownerDocument.defaultView;null!==e&&(t+e.offsetHeight>=a.innerHeight?t-e.offsetHeight>0?e.style.top=t-e.offsetHeight+"px":e.style.top="0px":e.style.top=`${t}px`,r+e.offsetWidth>=a.innerWidth?r-e.offsetWidth>0?e.style.left=r-e.offsetWidth+"px":e.style.left="0px":e.style.left=`${r}px`)}(e,o.pageX,o.pageY),()=>{a.removeEventListener("mousedown",t),a.removeEventListener("touchstart",t),a.removeEventListener("keydown",t),i.removeEventListener("resize",n)}}}),[o]),o.isVisible){const a=u.current;return null!==a?(0,t.createPortal)(r.createElement("div",{ref:c,className:Ks().ContextMenu},e(o.data)),a):null}return r.createElement("div",{ref:l})}var qs=a(3072),Qs=a.n(qs);function Zs({children:e,onClick:t,title:a}){const{hideMenu:n}=(0,r.useContext)(js),i=e=>{t(),n()};return r.createElement("div",{className:Qs().ContextMenuItem,onClick:i,onTouchEnd:i},e)}var Js=a(1456),el=a.n(Js);function rl({element:e}){const{hocDisplayNames:t}=e;return null===t?null:r.createElement("div",{className:el().HocBadges},null!==t&&t.map((e=>r.createElement("div",{key:e,className:el().Badge},e))))}var tl=a(6747),al=a.n(tl);function nl(){return nl=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},nl.apply(this,arguments)}function il({className:e,onFocus:t,placeholder:a="",testName:n,value:i,...o}){const s=""===i||'""'===i;return r.createElement("input",nl({className:[al().Input,e].join(" "),"data-testname":n,onFocus:e=>{const r=e.target;null!==r&&(r.selectionStart=0,r.selectionEnd=i.length),"function"==typeof t&&t(e)},placeholder:a,style:{width:`calc(${s?a.length:i.length}ch + 1px)`},value:s?"":i},o))}var ol=a(3004),sl=a.n(ol);function ll({allowEmpty:e=!1,allowWhiteSpace:t=!1,autoFocus:a=!1,className:n="",initialValue:i="",overrideName:o,path:s,type:l}){const[u,c]=(0,r.useState)(i),[f,v]=(0,r.useState)(!1),d=(0,r.useCallback)((({target:r})=>{let a=r.value;t||(a=a.trim()),v(!(!e&&""===a)),c(a)}),[o]),h=(0,r.useCallback)((e=>{switch(e.stopPropagation(),e.key){case"Enter":case"Tab":if(f){const e=s.slice(0,s.length-1);o([...e,i],[...e,u])}break;case"Escape":c(i)}}),[u,c,f,i,o]);return r.createElement(il,{autoFocus:a,className:[sl().Input,n].join(" "),onChange:d,onKeyDown:h,placeholder:"new entry",testName:"EditableName",type:"text",value:u})}var ul=a(8490),cl=a.n(ul);function fl({className:e="",overrideValue:t,path:a,value:n}){const[i,o]=function(e){const[t,a]=(0,r.useReducer)(Pt,{editableValue:Be(e),externalValue:e,hasPendingChanges:!1,isValid:!0,parsedValue:e});return Object.is(t.externalValue,e)||(t.hasPendingChanges?a({type:"UPDATE",editableValue:t.editableValue,externalValue:e}):a({type:"RESET",externalValue:e})),[t,a]}(n),{editableValue:s,hasPendingChanges:l,isValid:u,parsedValue:c}=i,f=()=>{u&&l&&t(a,c)};let v="";v=void 0===s?"(undefined)":"Enter valid JSON";const d=!0===c||!1===c;return r.createElement(r.Fragment,null,r.createElement("input",{autoComplete:"new-password",className:`${u?cl().Input:cl().Invalid} ${e}`,"data-testname":"EditableValue",onBlur:f,onChange:({target:e})=>o({type:"UPDATE",editableValue:e.value,externalValue:n}),onKeyDown:e=>{switch(e.stopPropagation(),e.key){case"Enter":f();break;case"Escape":o({type:"RESET",externalValue:n})}},placeholder:v,type:"text",value:s}),d&&r.createElement("input",{className:cl().Checkbox,checked:c,type:"checkbox",onChange:({target:e})=>{o({type:"UPDATE",editableValue:e.checked,externalValue:n}),t(a,e.checked)}}))}function vl(e){let r=0;for(let t=0;t<e.length;t++)if("value"===e[t]){r=t+1;break}return e.slice(r)}var dl=a(6974),hl=a.n(dl);function _l({bridge:e,depth:t,hidden:a,hookID:n,index:i,inspectedElement:o,path:s,store:l,type:u}){const[c,f]=(0,r.useState)(0),[v,d]=(0,r.useState)(!1);return r.createElement("div",{key:c,hidden:a,style:{paddingLeft:.75*(t-1)+"rem"}},r.createElement("div",{className:hl().NewArrayValue},r.createElement(ll,{allowWhiteSpace:!0,autoFocus:c>0,className:[hl().EditableName,v&&hl().Invalid].join(" "),initialValue:"",overrideName:(r,t)=>{const a=t[t.length-1];let h,_=!0;try{h=ze(a),_=!1}catch(e){}if(v!==_&&d(_),!_){f(c+1);const{id:r}=o,t=l.getRendererIDForElement(r);if(null!==t){let a=s;null!=n&&(a=vl(a)),e.send("overrideValueAtPath",{type:u,hookID:n,id:r,path:[...a,i],rendererID:t,value:h})}}},path:s})))}var ml=a(8313),pl=a.n(ml);function Sl({bridge:e,depth:t,hidden:a,hookID:n,inspectedElement:i,path:o,store:s,type:l}){const[u,c]=(0,r.useState)(0),[f,v]=(0,r.useState)("");return r.createElement("div",{key:u,hidden:a,style:{paddingLeft:.75*(t-1)+"rem"}},r.createElement("div",{className:pl().NewKeyValue},r.createElement(ll,{autoFocus:u>0,className:pl().EditableName,overrideName:(e,r)=>{v(r[r.length-1])},path:[]}),": ",r.createElement(fl,{className:pl().EditableValue,overrideValue:(r,t)=>{if(!f)return;v(""),c(u+1);const{id:a}=i,o=s.getRendererIDForElement(a);if(null!==o){let i=r;null!=n&&(i=vl(i)),e.send("overrideValueAtPath",{type:l,hookID:n,id:a,path:i,rendererID:o,value:t})}},path:[...o,f],value:""})))}var gl=a(1774),bl=a.n(gl);function wl({disabled:e,isOpen:t,setIsOpen:a}){return r.createElement(Xn,{className:bl().ExpandCollapseToggle,disabled:e,onClick:()=>a((e=>!e)),title:(t?"Collapse":"Expand")+" prop value"},r.createElement(Jt,{type:t?"expanded":"collapsed"}))}function El({data:e,id:t,onChange:a,ref:n}){const{showMenu:i}=(0,r.useContext)(js);(0,r.useEffect)((()=>{if(null!==n.current){const r=r=>{r.preventDefault(),r.stopPropagation();const n=r.pageX||r.touches&&r.touches[0].pageX,o=r.pageY||r.touches&&r.touches[0].pageY;i({data:e,id:t,onChange:a,pageX:n,pageY:o})},o=n.current;return o.addEventListener("contextmenu",r),()=>{o.removeEventListener("contextmenu",r)}}}),[e,t,i])}var yl=a(5458),kl=a.n(yl),Cl=a(2078);const Al=3e4,Ml=0,Dl=1,Hl=2,xl=new Map;const Tl=(0,r.createContext)(null);Tl.displayName="FetchFileWithCachingContext";const Nl=Tl,Rl=(0,r.createContext)(null);Rl.displayName="HookNamesModuleLoaderContext";const Ol=Rl,Il=(0,r.createContext)(null);function Fl({children:e}){const{selectedElementID:t}=(0,r.useContext)(ot),a=(0,r.useContext)(Nl),n=(0,r.useContext)(br),i=(0,r.useContext)(wr),{parseHookNames:o}=(0,r.useContext)(Wt),s=(0,r.useContext)(Ol),l=(0,r.unstable_useCacheRefresh)(),[u,c]=(0,r.useState)({element:null,path:null}),f=null!==t?i.getElementByID(t):null,v=null!=f&&(0,Cl.YR)(f),[h,_]=(0,r.useState)(o||v),[m,p]=(0,r.useState)(!0),S=null!==f&&f!==u.element;S&&(c({element:f,path:null}),_(o||v));const g=(0,r.useRef)(null);let b=null,w=null;if(!S&&null!==f&&(w=function(e,t,a,n){const i=(0,r.unstable_getCacheForType)(Cs);let o=i.get(e);if(!o){const r=new Set,s={then(e){r.add(e)},displayName:`Inspecting ${e.displayName||"Unknown"}`},l=()=>{r.forEach((e=>e())),r.clear()},u=o={status:Es,value:s},c=a.getRendererIDForElement(e.id);if(null==c){const r=u;return r.status=ks,r.value=new Error(`Could not inspect element with id "${e.id}". No renderer found.`),i.set(e,o),null}ws(n,e,t,c).then((([e])=>{const r=u;r.status=ys,r.value=e,l()}),(e=>{console.error(e);const r=u;r.status=ks,r.value=e,l()})),i.set(e,o)}return function(e){if(e.status===ys)return e;throw e.value}(o).value}(f,u.path,i,n),"function"==typeof s&&(h||v))){const e=function(e){let r=xl.get(e);if(d.p&&console.log(`[dynamicImportCache] loadModule("${e.name}")`),!r){const t=new Set,a={then(e){t.add(e)},displayName:`Loading module "${e.name}"`},n=()=>{s&&(clearTimeout(s),s=null),t.forEach((e=>e())),t.clear()},i=r={status:Ml,value:a};let o=!1;e().then((r=>{if(d.p&&console.log(`[dynamicImportCache] loadModule("${e.name}") then()`),o)return;const t=i;t.status=Dl,t.value=r,n()}),(r=>{if(d.p&&console.log(`[dynamicImportCache] loadModule("${e.name}") catch()`),o)return;console.log(r);const t=i;t.status=Hl,t.value=null,n()}));let s=setTimeout((function(){d.p&&console.log(`[dynamicImportCache] loadModule("${e.name}") onTimeout()`),s=null,o=!0;const r=i;r.status=Hl,r.value=null,n()}),Al);xl.set(e,r)}return function(e){if(e.status===Dl)return e;if(e.status===Hl)return e;throw e.value}(r).value}(s);if(null!==e){const{parseHookNames:r,purgeCachedMetadata:t}=e;g.current=t,null!==w&&null!==w.hooks&&null!==r&&(b=(0,Cl.xg)(f,w.hooks,r,a))}}const E=(0,r.useCallback)((()=>{(0,r.startTransition)((()=>{_((e=>!e)),l()}))}),[_]),y=(0,r.useCallback)((e=>{(0,r.startTransition)((()=>{c({element:u.element,path:e}),l()}))}),[c,u]),k=(0,r.useRef)(null);(0,r.useEffect)((()=>{null!==w&&null!==w.hooks&&k.current!==w&&(k.current=w)}),[w]),(0,r.useEffect)((()=>{const e=g.current;if("function"==typeof e){const t=()=>{(0,r.startTransition)((()=>{(0,Cl.sZ)(),e(),l()}))};return n.addListener("fastRefreshScheduled",t),()=>n.removeListener("fastRefreshScheduled",t)}}),[n]),(0,r.useEffect)((()=>{null!==u.path&&c({element:u.element,path:null})}),[u]),(0,r.useEffect)((()=>{p(!0);const e=()=>p(!1);return n.addListener("shutdown",e),()=>n.removeListener("shutdown",e)}),[n]),(0,r.useEffect)((()=>{if(null!==f&&m){const{abort:e,pause:r,resume:t}=function({bridge:e,element:r,refresh:t,store:a}){let n="idle";function i(){return n="running",Promise.allSettled([As({bridge:e,element:r,refresh:t,store:a}),new Promise((e=>setTimeout(e,1e3)))]).then((([{status:e,reason:r}])=>{if("rejected"===e&&"aborted"!==n){if(r instanceof To)return;console.error(r)}})).finally((()=>{const e="aborted"!==n&&"paused"!==n;if(n="idle",e)return i()}))}return i(),{abort:function(){n="aborted"},resume:function(){"running"!==n&&"aborted"!==n&&(n="idle",i())},pause:function(){"paused"!==n&&"aborted"!==n&&(n="paused")}}}({bridge:n,element:f,refresh:l,store:i});return n.addListener("resumeElementPolling",t),n.addListener("pauseElementPolling",r),()=>{n.removeListener("resumeElementPolling",t),n.removeListener("pauseElementPolling",r),e()}}}),[f,b,w,u,m]);const C=(0,r.useMemo)((()=>({hookNames:b,inspectedElement:w,inspectPaths:y,parseHookNames:h,toggleParseHookNames:E})),[b,w,y,h,E]);return r.createElement(Il.Provider,{value:C},e)}const Ll=["file:///","http://","https://","vscode://"],Pl=Object.prototype.hasOwnProperty;function zl({alphaSort:e,bridge:t,canDeletePaths:a,canEditValues:n,canRenamePaths:i,canRenamePathsAtDepth:o,depth:s,element:l,inspectedElement:u,isDirectChildOfAnArray:c,hidden:f,hookID:v,hookName:d,name:h,path:_,pathRoot:m,store:p,value:S}){const{readOnly:g}=(0,r.useContext)(yr);a=!g&&a,n=!g&&n,i=!g&&i;const{id:b}=u,[w,E]=(0,r.useState)(!1),y=(0,r.useRef)(null),{inspectPaths:k}=(0,r.useContext)(Il);let C=!1,A=!1;null!==S&&"object"==typeof S&&(C=S[I.inspectable]&&0!==S[I.size],A=S[I.readonly]);const[M,D]=(0,r.useTransition)(),H=()=>{w?E(!1):(E(!0),C&&D((()=>{k([m,..._])})))};El({data:{path:[m,..._],type:null!==S&&"object"==typeof S&&Pl.call(S,I.type)?S[I.type]:typeof S},id:"InspectedElement",ref:y});const x=typeof S,T="number"===x||"string"===x||"boolean"===x||null==S,N={paddingLeft:.75*(s-1)+"rem"},R=(e,r)=>{null!=v&&(e=vl(e));const a=p.getRendererIDForElement(b);null!==a&&t.send("overrideValueAtPath",{hookID:v,id:b,path:e,rendererID:a,type:m,value:r})},O=e=>{null!=v&&(e=vl(e));const r=p.getRendererIDForElement(b);null!==r&&t.send("deletePath",{hookID:v,id:b,path:e,rendererID:r,type:m})};let F,L=i;L&&"function"==typeof o&&(L=o(s)),F=c?a?r.createElement(Bl,{name:h,deletePath:O,path:_}):r.createElement("span",{className:kl().Name},h,!!d&&r.createElement("span",{className:kl().HookName},"(",d,")")):L?r.createElement(ll,{allowEmpty:a,className:kl().EditableName,initialValue:h,overrideName:(e,r)=>{if(""===r[r.length-1])a&&O(e);else{null!=v&&(e=vl(e),r=vl(r));const a=p.getRendererIDForElement(b);null!==a&&t.send("renamePath",{hookID:v,id:b,newPath:r,oldPath:e,rendererID:a,type:m})}},path:_}):r.createElement("span",{className:kl().Name,"data-testname":"NonEditableName"},h,!!d&&r.createElement("span",{className:kl().HookName},"(",d,")"));let z=null;if(T){let e=S;"string"===x?e=`"${S}"`:"boolean"===x?e=S?"true":"false":null===S?e="null":void 0===S?e="undefined":isNaN(S)&&(e="NaN");let t=!1;"string"===x&&Ll.some((e=>S.startsWith(e)))&&(t=!0),z=r.createElement("div",{key:"root",className:kl().Item,hidden:f,ref:y,style:N},r.createElement("div",{className:kl().ExpandCollapseToggleSpacer}),F,r.createElement("div",{className:kl().AfterName},":"),n?r.createElement(fl,{overrideValue:R,path:_,value:S}):t?r.createElement("a",{className:kl().Link,href:S,target:"_blank",rel:"noopener noreferrer"},e):r.createElement("span",{className:kl().Value,"data-testname":"NonEditableValue"},e))}else if(Pl.call(S,I.type)&&!Pl.call(S,I.unserializable))z=r.createElement("div",{key:"root",className:kl().Item,hidden:f,ref:y,style:N},C?r.createElement(wl,{isOpen:w,setIsOpen:H}):r.createElement("div",{className:kl().ExpandCollapseToggleSpacer}),F,r.createElement("div",{className:kl().AfterName},":"),r.createElement("span",{className:kl().Value,onClick:C?H:void 0},tt(S))),M&&(z=r.createElement(r.Fragment,null,z,r.createElement("div",{className:kl().Item,style:N},r.createElement("div",{className:kl().ExpandCollapseToggleSpacer}),r.createElement(Yo,null))));else if(P(S)){const c=S.length>0||n,d=tt(S);z=S.map(((c,d)=>r.createElement(zl,{key:d,alphaSort:e,bridge:t,canDeletePaths:a&&!A,canEditValues:n&&!A,canRenamePaths:i&&!A,canRenamePathsAtDepth:o,depth:s+1,element:l,hookID:v,inspectedElement:u,isDirectChildOfAnArray:!0,hidden:f||!w,name:d,path:_.concat(d),pathRoot:m,store:p,value:S[d]}))),n&&!A&&z.push(r.createElement(_l,{key:"NewKeyValue",bridge:t,depth:s+1,hidden:f||!w,hookID:v,index:S.length,element:l,inspectedElement:u,path:_,store:p,type:m})),z.unshift(r.createElement("div",{key:`${s}-root`,className:kl().Item,hidden:f,ref:y,style:N},c?r.createElement(wl,{isOpen:w,setIsOpen:E}):r.createElement("div",{className:kl().ExpandCollapseToggleSpacer}),F,r.createElement("div",{className:kl().AfterName},":"),r.createElement("span",{className:kl().Value,onClick:c?H:void 0},d)))}else{const c=Object.entries(S);e&&c.sort(et);const d=c.length>0||n,h=tt(S);z=c.map((([c,d])=>r.createElement(zl,{key:c,alphaSort:e,bridge:t,canDeletePaths:a&&!A,canEditValues:n&&!A,canRenamePaths:i&&!A,canRenamePathsAtDepth:o,depth:s+1,element:l,hookID:v,inspectedElement:u,hidden:f||!w,name:c,path:_.concat(c),pathRoot:m,store:p,value:d}))),n&&!A&&z.push(r.createElement(Sl,{key:"NewKeyValue",bridge:t,depth:s+1,element:l,hidden:f||!w,hookID:v,inspectedElement:u,path:_,store:p,type:m})),z.unshift(r.createElement("div",{key:`${s}-root`,className:kl().Item,hidden:f,ref:y,style:N},d?r.createElement(wl,{isOpen:w,setIsOpen:E}):r.createElement("div",{className:kl().ExpandCollapseToggleSpacer}),F,r.createElement("div",{className:kl().AfterName},":"),r.createElement("span",{className:kl().Value,onClick:d?H:void 0},h)))}return z}function Bl({deletePath:e,name:t,path:a}){return r.createElement(r.Fragment,null,r.createElement(Xn,{className:kl().DeleteArrayItemButton,onClick:r=>{r.stopPropagation(),e(a)},title:"Delete entry"},r.createElement(Jt,{type:"delete"})),r.createElement("span",{className:kl().Name},t))}var Vl=a(7074),Ul=a.n(Vl);function Wl({bridge:e,element:t,inspectedElement:a,store:n}){const{hasLegacyContext:i,context:o,type:s}=a,l=s!==h&&s!==m,u=null!=o?Object.entries(o):null;null!==u&&u.sort(et);const c=null===u||0===u.length,v=e=>e>1;return c?null:r.createElement("div",{className:Ul().InspectedElementTree},r.createElement("div",{className:Ul().HeaderRow},r.createElement("div",{className:Ul().Header},i?"legacy context":"context"),!c&&r.createElement(Xn,{onClick:()=>(0,f.copy)(nt(o)),title:"Copy to clipboard"},r.createElement(Jt,{type:"copy"}))),c&&r.createElement("div",{className:Ul().Empty},"None"),!c&&u.map((([i,o])=>r.createElement(zl,{key:i,alphaSort:!0,bridge:e,canDeletePaths:!l,canEditValues:!l,canRenamePaths:!l,canRenamePathsAtDepth:v,depth:1,element:t,hidden:!1,inspectedElement:a,name:i,path:[i],pathRoot:"context",store:n,type:"context",value:o}))))}var $l=a(1443),jl=a.n($l);function Xl({bridge:e,inspectedElement:t,store:a}){const n=(0,r.unstable_useCacheRefresh)(),[i,o]=(0,r.useTransition)(),[s,l]=(0,r.useTransition)(),{showInlineWarningsAndErrors:u}=(0,r.useContext)(Wt);if(!u)return null;const{errors:c,warnings:f}=t;return r.createElement(r.Fragment,null,c.length>0&&r.createElement(Kl,{badgeClassName:jl().ErrorBadge,bridge:e,className:jl().ErrorTree,clearMessages:()=>{const{id:r}=t,i=a.getRendererIDForElement(r);null!==i&&o((()=>{!function({bridge:e,id:r,rendererID:t}){e.send("clearErrorsForFiberID",{rendererID:t,id:r})}({bridge:e,id:r,rendererID:i}),n()}))},entries:c,isTransitionPending:i,label:"errors",messageClassName:jl().Error}),f.length>0&&r.createElement(Kl,{badgeClassName:jl().WarningBadge,bridge:e,className:jl().WarningTree,clearMessages:()=>{const{id:r}=t,i=a.getRendererIDForElement(r);null!==i&&l((()=>{!function({bridge:e,id:r,rendererID:t}){e.send("clearWarningsForFiberID",{rendererID:t,id:r})}({bridge:e,id:r,rendererID:i}),n()}))},entries:f,isTransitionPending:s,label:"warnings",messageClassName:jl().Warning}))}function Kl({badgeClassName:e,actions:t,className:a,clearMessages:n,entries:i,isTransitionPending:o,label:s,messageClassName:l}){return 0===i.length?null:r.createElement("div",{className:`${Ul().InspectedElementTree} ${a}`},r.createElement("div",{className:`${Ul().HeaderRow} ${jl().HeaderRow}`},r.createElement("div",{className:Ul().Header},s),r.createElement(Xn,{disabled:o,onClick:n,title:`Clear all ${s} for this component`},r.createElement(Jt,{type:"clear"}))),i.map((([t,a],n)=>r.createElement(Gl,{key:`${s}-${n}`,badgeClassName:e,className:l,count:a,message:t}))))}function Gl({className:e,badgeClassName:t,count:a,message:n}){return r.createElement("div",{className:e},a>1&&r.createElement("div",{className:t},a),r.createElement("div",{className:jl().Message,title:n},n))}var Yl=a(8562),ql=a.n(Yl);function Ql({bridge:e,element:t,hookNames:a,inspectedElement:n,parseHookNames:i,store:o,toggleParseHookNames:s}){const{hooks:l,id:u}=n,[c,v]=(0,r.useState)(i),d=(0,r.useContext)(Ol),h=i&&null===a;let _;_=h?"Hook parsing failed":i?"Parsing hook names ...":"Parse hook names (may be slow)";return null===l?null:r.createElement("div",{className:ql().HooksTreeView,"data-testname":"InspectedElementHooksTree"},r.createElement("div",{className:ql().HeaderRow},r.createElement("div",{className:ql().Header},"hooks"),"function"==typeof d&&(!i||h)&&r.createElement(Vn,{className:h?ql().ToggleError:null,isChecked:c,isDisabled:c||h,onChange:()=>{v(!i),s()},testName:"LoadHookNamesButton",title:_},r.createElement(Jt,{type:"parse-hook-names"})),r.createElement(Xn,{onClick:()=>(0,f.copy)(function(e){const r=Object.assign([],e),t=[...r];for(;t.length>0;){const e=t.pop();delete e.id,delete e.isStateEditable,e.subHooks.length>0&&t.push(...e.subHooks)}at(r);try{return JSON.stringify(r,null,2)}catch(e){return""}}(l)),title:"Copy to clipboard"},r.createElement(Jt,{type:"copy"}))),r.createElement(Zl,{hookNames:a,hooks:l,id:u,element:t,inspectedElement:n,path:[]}))}function Zl({element:e,hookNames:t,hooks:a,id:n,inspectedElement:i,path:o}){return a.map(((s,l)=>r.createElement(Jl,{key:l,element:e,hook:a[l],hookNames:t,id:n,inspectedElement:i,path:o.concat([l])})))}function Jl({element:e,hook:t,hookNames:a,id:n,inspectedElement:i,path:o}){const{canEditHooks:s,canEditHooksAndDeletePaths:l,canEditHooksAndRenamePaths:u}=i,{id:c,isStateEditable:f,subHooks:v,value:d}=t,h=null==c||!f,_=!h&&l,m=!h&&s,p=!h&&u,S=(0,r.useContext)(br),g=(0,r.useContext)(wr),[b,w]=(0,r.useState)(!1),E=(0,r.useCallback)((()=>w((e=>!e))),[]),y=(0,r.useRef)(null);if(El({data:{path:["hooks",...o],type:null!==t&&"object"==typeof t&&t.hasOwnProperty(I.type)?t[I.type]:typeof d},id:"InspectedElement",ref:y}),t.hasOwnProperty(I.inspected))return r.createElement("div",{className:ql().Hook},r.createElement("div",{className:ql().NameValueRow},r.createElement("span",{className:ql().TruncationIndicator},"...")));const k=e=>f&&e>1,C=v.length>0;let A=t.name;null!==c&&(A=r.createElement(r.Fragment,null,r.createElement("span",{className:ql().PrimitiveHookNumber},c+1),A));const M=typeof d;let D,H=!1;const x=t.hookSource,T=null!=a&&null!=x?a.get((0,Cl.qG)(x)):null,N=T?r.createElement(r.Fragment,null,A,!!T&&r.createElement("span",{className:ql().HookName},"(",T,")")):A;if("string"===M?D=`"${d}"`:"boolean"===M?D=d?"true":"false":"number"===M?D=d:null===d?D="null":void 0===d?D=null:P(d)?(H=!0,D="Array"):"object"===M&&(H=!0,D="Object"),C){const t=P(v)?r.createElement(Zl,{element:e,hooks:v,hookNames:a,id:n,inspectedElement:i,path:o.concat(["subHooks"])}):r.createElement(zl,{alphaSort:!1,bridge:S,canDeletePaths:_,canEditValues:m,canRenamePaths:p,canRenamePathsAtDepth:k,depth:1,element:e,hookID:c,hookName:T,inspectedElement:i,name:"subHooks",path:o.concat(["subHooks"]),store:g,type:"hooks",value:v});return H?r.createElement("div",{className:ql().Hook},r.createElement("div",{ref:y,className:ql().NameValueRow},r.createElement(wl,{isOpen:b,setIsOpen:w}),r.createElement("span",{onClick:E,className:""!==A?ql().Name:ql().NameAnonymous},N||"Anonymous"),r.createElement("span",{className:ql().Value,onClick:E},b||tt(d))),r.createElement("div",{className:ql().Children,hidden:!b},r.createElement(zl,{alphaSort:!1,bridge:S,canDeletePaths:_,canEditValues:m,canRenamePaths:p,canRenamePathsAtDepth:k,depth:1,element:e,hookID:c,hookName:T,inspectedElement:i,name:"DebugValue",path:o.concat(["value"]),pathRoot:"hooks",store:g,value:d}),t)):r.createElement("div",{className:ql().Hook},r.createElement("div",{ref:y,className:ql().NameValueRow},r.createElement(wl,{isOpen:b,setIsOpen:w}),r.createElement("span",{onClick:E,className:""!==A?ql().Name:ql().NameAnonymous},N||"Anonymous")," ",r.createElement("span",{className:ql().Value,onClick:E},D)),r.createElement("div",{className:ql().Children,hidden:!b},t))}return H?r.createElement("div",{className:ql().Hook},r.createElement(zl,{alphaSort:!1,bridge:S,canDeletePaths:_,canEditValues:m,canRenamePaths:p,canRenamePathsAtDepth:k,depth:1,element:e,hookID:c,hookName:T,inspectedElement:i,name:A,path:o.concat(["value"]),pathRoot:"hooks",store:g,value:d})):r.createElement("div",{className:ql().Hook},r.createElement(zl,{alphaSort:!1,bridge:S,canDeletePaths:!1,canEditValues:m,canRenamePaths:!1,depth:1,element:e,hookID:c,hookName:T,inspectedElement:i,name:A,path:[],pathRoot:"hooks",store:g,value:d}))}const eu=r.memo(Ql);function ru({bridge:e,element:t,inspectedElement:a,store:n}){const{readOnly:i}=r.useContext(yr),{canEditFunctionProps:o,canEditFunctionPropsDeletePaths:s,canEditFunctionPropsRenamePaths:l,props:u,type:c}=a,v=c===h||s,d=!i&&(c===h||o),_=c===h||l,m=null!=u?Object.entries(u):null;null!==m&&m.sort(et);const p=null===m||0===m.length;return r.createElement("div",{className:Ul().InspectedElementTree,"data-testname":"InspectedElementPropsTree"},r.createElement("div",{className:Ul().HeaderRow},r.createElement("div",{className:Ul().Header},"props"),!p&&r.createElement(Xn,{onClick:()=>(0,f.copy)(nt(u)),title:"Copy to clipboard"},r.createElement(Jt,{type:"copy"}))),!p&&m.map((([i,o])=>r.createElement(zl,{key:i,alphaSort:!0,bridge:e,canDeletePaths:v,canEditValues:d,canRenamePaths:_,depth:1,element:t,hidden:!1,inspectedElement:a,name:i,path:[i],pathRoot:"props",store:n,value:o}))),d&&r.createElement(Sl,{bridge:e,depth:0,hidden:!1,inspectedElement:a,path:[],store:n,type:"props"}))}function tu({bridge:e,element:t,inspectedElement:a,store:n}){const{state:i,type:o}=a,s=o===S,l=null!=i?Object.entries(i):null,u=null===l||0===l.length;return u||s?null:(null!==l&&l.sort(et),r.createElement("div",{className:Ul().InspectedElementTree},r.createElement("div",{className:Ul().HeaderRow},r.createElement("div",{className:Ul().Header},"state"),!u&&r.createElement(Xn,{onClick:()=>(0,f.copy)(nt(i)),title:"Copy to clipboard"},r.createElement(Jt,{type:"copy"}))),u&&r.createElement("div",{className:Ul().Empty},"None"),!u&&l.map((([i,o])=>r.createElement(zl,{key:i,alphaSort:!0,bridge:e,canDeletePaths:!0,canEditValues:!0,canRenamePaths:!0,depth:1,element:t,hidden:!1,inspectedElement:a,name:i,path:[i],pathRoot:"state",store:n,value:o})))))}var au=a(3587),nu=a.n(au);function iu({bridge:e,element:t,inspectedElement:a,store:n}){if(!dr.st)return null;const i=a.plugins.stylex;if(null==i)return null;const{resolvedStyles:o,sources:s}=i;return r.createElement("div",{className:Ul().InspectedElementTree},r.createElement("div",{className:Ul().HeaderRow},r.createElement("div",{className:Ul().Header},"stylex")),s.map((e=>r.createElement("div",{key:e,className:nu().Source},e))),Object.entries(o).map((([i,o])=>r.createElement(zl,{key:i,alphaSort:!0,bridge:e,canDeletePaths:!1,canEditValues:!1,canRenamePaths:!1,depth:1,element:t,hidden:!1,inspectedElement:a,name:i,path:[i],pathRoot:"stylex",store:n,value:o}))))}function ou({bridge:e,inspectedElement:t,store:a}){const{readOnly:n}=r.useContext(yr),{id:i,state:o,type:s}=t,l=!n&&t.canToggleSuspense;if(s!==y)return null;const u=null!==o;return r.createElement("div",{className:Ul().InspectedElementTree},r.createElement("div",{className:Ul().HeaderRow},r.createElement("div",{className:Ul().Header},"suspense")),r.createElement("div",{className:Ul().ToggleSuspenseRow},r.createElement("span",{className:Ul().Name},"Suspended"),l?r.createElement(fl,{key:u,overrideValue:(r,t)=>{const n=a.getRendererIDForElement(i);null!==n&&e.send("overrideSuspense",{id:i,rendererID:n,forceFallback:t})},path:["suspense","Suspended"],value:u}):r.createElement("span",{className:Ul().Value},u?"true":"false")))}const su=(0,r.createContext)(null);su.displayName="NativeStyleContext";const lu=new WeakMap,uu=ai((e=>{const r=lu.get(e);if(null!=r)return r.promise;let t=null;const a=new Promise((e=>{t=e}));return lu.set(e,{promise:a,resolveFn:t}),a}),(e=>e),{useWeakMap:!0});function cu({children:e}){const a=(0,r.useContext)(br),n=(0,r.useContext)(wr),i=(0,r.useCallback)((e=>{const r=n.getElementByID(e);return null!==r?uu.read(r):null}),[n]),{selectedElementID:o}=(0,r.useContext)(ot),[s,l]=(0,r.useState)(null);(0,r.useEffect)((()=>{const e=({id:e,layout:r,style:a})=>{const i=n.getElementByID(e);if(null!==i){const n={layout:r,style:a},s=lu.get(i);null!=s?(lu.delete(i),(0,t.unstable_batchedUpdates)((()=>{s.resolveFn(n),l(n)}))):(uu.write(i,n),e===o&&l(n))}};return a.addListener("NativeStyleEditor_styleAndLayout",e),()=>a.removeListener("NativeStyleEditor_styleAndLayout",e)}),[a,s,o,n]),(0,r.useEffect)((()=>{if(null===o)return()=>{};const e=n.getRendererIDForElement(o);let r=null;const t=()=>{r=null,null!==e&&a.send("NativeStyleEditor_measure",{id:o,rendererID:e})};t();const i=({id:e})=>{e===o&&(null!==r&&clearTimeout(r),r=setTimeout(t,1e3))};return a.addListener("NativeStyleEditor_styleAndLayout",i),()=>{a.removeListener("NativeStyleEditor_styleAndLayout",i),null!==r&&clearTimeout(r)}}),[a,o,n]);const u=(0,r.useMemo)((()=>({getStyleAndLayout:i})),[s,i]);return r.createElement(su.Provider,{value:u},e)}var fu=a(232),vu=a.n(fu);function du({id:e,layout:t}){const{height:a,margin:n,padding:i,y:o,width:s,x:l}=t;return r.createElement("div",{className:vu().LayoutViewer},r.createElement("div",{className:vu().Header},"layout"),r.createElement("div",{className:vu().DashedBox},r.createElement("div",{className:vu().LabelRow},r.createElement("label",{className:vu().Label},"margin"),r.createElement("label",null,n.top||"-")),r.createElement("div",{className:vu().BoxRow},r.createElement("label",null,n.left||"-"),r.createElement("div",{className:vu().SolidBox},r.createElement("div",{className:vu().LabelRow},r.createElement("label",{className:vu().Label},"padding"),r.createElement("label",null,i.top||"-")),r.createElement("div",{className:vu().BoxRow},r.createElement("label",null,i.left||"-"),r.createElement("div",{className:vu().DashedBox},r.createElement("div",{className:vu().LabelRow},hu(s)," x ",hu(a)," (",hu(l),", ",hu(o),")")),r.createElement("label",null,i.right||"-")),r.createElement("label",null,i.bottom||"-")),r.createElement("label",null,n.right||"-")),r.createElement("label",null,n.bottom||"-")))}function hu(e){return Math.round(e)===e?e:e.toFixed(1)}var _u=a(7494),mu=a.n(_u);function pu({id:e,style:t}){const a=(0,r.useContext)(br),n=(0,r.useContext)(wr),i=(r,t,i)=>{const o=n.getRendererIDForElement(e);null!==o&&a.send("NativeStyleEditor_renameAttribute",{id:e,rendererID:o,oldName:r,newName:t,value:i})},o=(r,t)=>{const i=n.getRendererIDForElement(e);null!==i&&a.send("NativeStyleEditor_setValue",{id:e,rendererID:i,name:r,value:t})},s=(0,r.useMemo)((()=>Array.from(Object.keys(t))),[t]);return r.createElement("div",{className:mu().StyleEditor},r.createElement("div",{className:mu().HeaderRow},r.createElement("div",{className:mu().Header},r.createElement("div",{className:mu().Brackets},"style {")),r.createElement(Xn,{onClick:()=>(0,f.copy)(nt(t)),title:"Copy to clipboard"},r.createElement(Jt,{type:"copy"}))),s.length>0&&s.map((e=>r.createElement(gu,{key:e,attribute:e,changeAttribute:i,changeValue:o,validAttributes:n.nativeStyleEditorValidAttributes,value:t[e]}))),r.createElement(Su,{changeAttribute:i,changeValue:o,validAttributes:n.nativeStyleEditorValidAttributes}),r.createElement("div",{className:mu().Brackets},"}"))}function Su({changeAttribute:e,changeValue:t,validAttributes:a}){const[n,i]=(0,r.useState)(0),o=(0,r.useRef)("");return r.createElement(gu,{key:n,attribute:"",attributePlaceholder:"attribute",changeAttribute:(e,r,t)=>{o.current=r},changeValue:(e,r)=>{""!==o.current&&(""!==r&&t(o.current,r),i(n+1))},validAttributes:a,value:"",valuePlaceholder:"value"})}function gu({attribute:e,attributePlaceholder:a,changeAttribute:n,changeValue:i,validAttributes:o,value:s,valuePlaceholder:l}){const[u,c]=(0,r.useState)(e),[f,v]=(0,r.useState)(JSON.stringify(s)),[d,h]=(0,r.useState)(!0),[_,m]=(0,r.useState)(!0);return r.createElement("div",{className:mu().Row},r.createElement(bu,{className:d?mu().Attribute:mu().Invalid,onChange:e=>{const r=""===e||null===o||o.indexOf(e)>=0;(0,t.unstable_batchedUpdates)((()=>{c(e),h(r)}))},onReset:()=>{c(e)},onSubmit:()=>{d&&_&&e!==u&&n(e,u,s)},placeholder:a,value:u}),": ",r.createElement(bu,{className:_?mu().Value:mu().Invalid,onChange:e=>{let r=!1;try{JSON.parse(Pe(e)),r=!0}catch(e){}(0,t.unstable_batchedUpdates)((()=>{v(e),m(r)}))},onReset:()=>{v(s)},onSubmit:()=>{if(d&&_){const r=JSON.parse(Pe(f));s!==r&&i(e,r)}},placeholder:l,value:f}),";")}function bu({className:e,onChange:t,onReset:a,onSubmit:n,placeholder:i,value:o}){return r.createElement(il,{className:`${e} ${mu().Input}`,onBlur:n,onChange:e=>t(e.target.value),onKeyDown:e=>{switch(e.key){case"Enter":n();break;case"Escape":a();break;case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":e.stopPropagation()}},placeholder:i,value:o})}function wu(e){const t=(0,r.useContext)(wr);return Vt((0,r.useMemo)((()=>({getCurrentValue:()=>t.supportsNativeStyleEditor,subscribe:e=>(t.addListener("supportsNativeStyleEditor",e),()=>{t.removeListener("supportsNativeStyleEditor",e)})})),[t]))?r.createElement(Eu,null):null}function Eu(e){const{getStyleAndLayout:t}=(0,r.useContext)(su),{inspectedElementID:a}=(0,r.useContext)(ot);if(null===a)return null;const n=t(a);if(null===n)return null;const{layout:i,style:o}=n;return r.createElement(r.Fragment,null,null!==i&&r.createElement(du,{id:a,layout:i}),null!==o&&r.createElement(pu,{id:a,style:null!==o?o:{}}))}var yu=a(69),ku=a.n(yu);function Cu({element:e,hookNames:t,inspectedElement:a,parseHookNames:n,toggleParseHookNames:i}){const{id:o}=e,{owners:s,rendererPackageName:l,rendererVersion:u,rootType:c,source:f}=a,v=(0,r.useContext)(br),d=(0,r.useContext)(wr),{isEnabledForInspectedElement:h,viewAttributeSourceFunction:_}=(0,r.useContext)(Er),m=null!==l&&null!==u?`${l}@${u}`:null,p=null!==s&&s.length>0,S=p||null!==m||null!==c;return r.createElement(r.Fragment,null,r.createElement("div",{className:ku().InspectedElement},r.createElement(rl,{element:e}),r.createElement(ru,{bridge:v,element:e,inspectedElement:a,store:d}),r.createElement(ou,{bridge:v,inspectedElement:a,store:d}),r.createElement(tu,{bridge:v,element:e,inspectedElement:a,store:d}),r.createElement(eu,{bridge:v,element:e,hookNames:t,inspectedElement:a,parseHookNames:n,store:d,toggleParseHookNames:i}),r.createElement(Wl,{bridge:v,element:e,inspectedElement:a,store:d}),dr.st&&r.createElement(iu,{bridge:v,element:e,inspectedElement:a,store:d}),r.createElement(Xl,{bridge:v,element:e,inspectedElement:a,store:d}),r.createElement(wu,null),S&&r.createElement("div",{className:ku().Owners,"data-testname":"InspectedElementView-Owners"},r.createElement("div",{className:ku().OwnersHeader},"rendered by"),p&&s.map((e=>r.createElement(Mu,{key:e.id,displayName:e.displayName||"Anonymous",hocDisplayNames:e.hocDisplayNames,id:e.id,isInStore:d.containsElement(e.id),type:e.type}))),null!==c&&r.createElement("div",{className:ku().OwnersMetaField},c),null!==m&&r.createElement("div",{className:ku().OwnersMetaField},m)),null!==f&&r.createElement(Au,{fileName:f.fileName,lineNumber:f.lineNumber})),h&&r.createElement(Ys,{id:"InspectedElement"},(({path:e,type:t})=>r.createElement(r.Fragment,null,r.createElement(Zs,{onClick:()=>{const r=d.getRendererIDForElement(o);null!==r&&function({bridge:e,id:r,path:t,rendererID:a}){e.send("copyElementPath",{id:r,path:t,rendererID:a})}({bridge:v,id:o,path:e,rendererID:r})},title:"Copy value to clipboard"},r.createElement(dt,{className:ku().ContextMenuIcon,type:"copy"})," Copy value to clipboard"),r.createElement(Zs,{onClick:()=>{const r=d.getRendererIDForElement(o);null!==r&&function({bridge:e,id:r,path:t,rendererID:a}){e.send("storeAsGlobal",{count:No++,id:r,path:t,rendererID:a})}({bridge:v,id:o,path:e,rendererID:r})},title:"Store as global variable"},r.createElement(dt,{className:ku().ContextMenuIcon,type:"store-as-global-variable"})," ","Store as global variable"),null!==_&&"function"===t&&r.createElement(Zs,{onClick:()=>_(o,e),title:"Go to definition"},r.createElement(dt,{className:ku().ContextMenuIcon,type:"code"})," Go to definition")))))}function Au({fileName:e,lineNumber:t}){return r.createElement("div",{className:ku().Source,"data-testname":"InspectedElementView-Source"},r.createElement("div",{className:ku().SourceHeaderRow},r.createElement("div",{className:ku().SourceHeader},"source"),r.createElement(Xn,{onClick:()=>(0,f.copy)(`${e}:${t}`),title:"Copy to clipboard"},r.createElement(Jt,{type:"copy"}))),r.createElement("div",{className:ku().SourceOneLiner},function(e,r){const t=/^(.*)[\\\/]/;let a=e.replace(t,"");if(/^index\./.test(a)){const r=e.match(t);if(r){const e=r[1];e&&(a=e.replace(t,"")+"/"+a)}}return`${a}:${r}`}(e,t)))}function Mu({displayName:e,hocDisplayNames:t,id:a,isInStore:n,type:i}){const o=(0,r.useContext)(st),{highlightNativeElement:s,clearHighlightNativeElement:l}=Ut(),u=(0,r.useCallback)((()=>{(0,vr.K)({event_name:"select-element",metadata:{source:"owner-view"}}),o({type:"SELECT_ELEMENT_BY_ID",payload:a})}),[o,a]),c=l;return r.createElement(Xn,{key:a,className:ku().OwnerButton,disabled:!n,onClick:u,onMouseEnter:()=>s(a),onMouseLeave:c},r.createElement("span",{className:ku().OwnerContent},r.createElement("span",{className:`${ku().Owner} ${n?"":ku().NotInStore}`,title:e},e),r.createElement(qt,{hocDisplayNames:t,type:i})))}var Du=a(7613),Hu=a.n(Du);function xu(e){const{inspectedElementID:t}=(0,r.useContext)(ot),a=(0,r.useContext)(st),{canViewElementSourceFunction:n,viewElementSourceFunction:i}=(0,r.useContext)(Ps),o=(0,r.useContext)(br),s=(0,r.useContext)(wr),{hideToggleErrorAction:l,hideToggleSuspenseAction:u,hideLogAction:c,hideViewSourceAction:f}=(0,r.useContext)(yr),{dispatch:v}=(0,r.useContext)(Ns),{hookNames:h,inspectedElement:_,parseHookNames:m,toggleParseHookNames:p}=(0,r.useContext)(Il),S=null!==t?s.getElementByID(t):null,g=(0,r.useCallback)((()=>{if(null!==S&&null!==t){const e=s.getRendererIDForElement(t);null!==e&&o.send("highlightNativeElement",{displayName:S.displayName,hideAfterTimeout:!0,id:t,openNativeElementsPanel:!0,rendererID:e,scrollIntoView:!0})}}),[o,S,t,s]),b=(0,r.useCallback)((()=>{if(null!==t){const e=s.getRendererIDForElement(t);null!==e&&o.send("logElementToConsole",{id:t,rendererID:e})}}),[o,t,s]),w=(0,r.useCallback)((()=>{null!=i&&null!==_&&i(_.id,_)}),[_,i]),E=null!==_&&_.canViewSource&&null!==i&&(null===n||n(_)),k=null!=_&&_.isErrored,C=null!=_?_.targetErrorBoundaryID:null,A=null!==S&&S.type===y&&null!=_&&null!=_.state,M=!l&&null!=_&&_.canToggleError,D=!u&&null!=_&&_.canToggleSuspense,H=(0,r.useSyncExternalStore)((function(e){return window.addEventListener(d.sD,e),function(){window.removeEventListener(d.sD,e)}}),(function(){return function(){try{const e=R(d.sD);if(null!=e)return JSON.parse(e)}catch(e){}return""}()})),x=H&&null!=_&&null!=_.source,T=(0,r.useCallback)((()=>{if(null==_||null==C)return;const e=s.getRendererIDForElement(C);null!==e&&(C!==_.id&&a({type:"SELECT_ELEMENT_BY_ID",payload:C}),o.send("overrideError",{id:C,rendererID:e,forceError:!k}))}),[o,a,k,C]),N=(0,r.useCallback)((()=>{let e=null,t=S;for(;null!==t;){if(t.type===y){e=t;break}t=t.parentID>0?s.getElementByID(t.parentID):null}if(null===e)v({id:"InspectedElement",type:"SHOW",content:r.createElement(zs,null)});else{const r=e.id;e!==S&&a({type:"SELECT_ELEMENT_BY_ID",payload:r});const t=s.getRendererIDForElement(r);null!==t&&o.send("overrideSuspense",{id:r,rendererID:t,forceFallback:!A})}}),[o,a,S,A,v,s]),O=(0,r.useCallback)((()=>{const e=_?.source;if(null==e||null==H)return;const r=new URL(H);r.href=r.href.replace("{path}",e.fileName).replace("{line}",String(e.lineNumber)).replace("%7Bpath%7D",e.fileName).replace("%7Bline%7D",String(e.lineNumber)),window.open(r)}),[_,H]);if(null===S)return r.createElement("div",{className:Hu().InspectedElement},r.createElement("div",{className:Hu().TitleRow}));let I=null;return S.isStrictModeNonCompliant&&(I=r.createElement("a",{className:Hu().StrictModeNonCompliant,href:"https://react.dev/reference/react/StrictMode",rel:"noopener noreferrer",target:"_blank",title:"This component is not running in StrictMode. Click to learn more."},r.createElement(dt,{type:"strict-mode-non-compliant"}))),r.createElement("div",{className:Hu().InspectedElement},r.createElement("div",{className:Hu().TitleRow,"data-testname":"InspectedElement-Title"},I,S.key&&r.createElement(r.Fragment,null,r.createElement("div",{className:Hu().Key,title:`key "${S.key}"`},S.key),r.createElement("div",{className:Hu().KeyArrow})),r.createElement("div",{className:Hu().SelectedComponentName},r.createElement("div",{className:S.isStrictModeNonCompliant?Hu().StrictModeNonCompliant:Hu().Component,title:S.displayName},S.displayName)),x&&r.createElement(Xn,{onClick:O,title:"Open in editor"},r.createElement(Jt,{type:"editor"})),M&&r.createElement(Vn,{isChecked:k,onChange:T,title:k?"Clear the forced error":"Force the selected component into an errored state"},r.createElement(Jt,{type:"error"})),D&&r.createElement(Vn,{isChecked:A,onChange:N,title:A?"Unsuspend the selected component":"Suspend the selected component"},r.createElement(Jt,{type:"suspend"})),s.supportsNativeInspection&&r.createElement(Xn,{onClick:g,title:"Inspect the matching DOM element"},r.createElement(Jt,{type:"view-dom"})),!c&&r.createElement(Xn,{onClick:b,title:"Log this component data to the console"},r.createElement(Jt,{type:"log-data"})),!f&&r.createElement(Xn,{disabled:!E,onClick:w,title:"View source for this element"},r.createElement(Jt,{type:"view-source"}))),null===_&&r.createElement("div",{className:Hu().Loading},"Loading..."),null!==_&&r.createElement(Cu,{key:t,element:S,hookNames:h,inspectedElement:_,parseHookNames:m,toggleParseHookNames:p}))}var Tu=a(3617),Nu=a.n(Tu);function Ru({currentTab:e,disabled:t=!1,id:a,selectTab:n,tabs:i,type:o}){if(!i.some((r=>null!==r&&r.id===e))){const e=i.find((e=>null!==e));n(e.id)}const s=(0,r.useCallback)((({currentTarget:e})=>n(e.value)),[n]),l=(0,r.useCallback)((e=>{switch(e.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":e.stopPropagation()}}),[]);let u,c,f;switch(o){case"navigation":u=Nu().IconSizeNavigation,c=Nu().TabLabelNavigation,f=Nu().TabSizeNavigation;break;case"profiler":u=Nu().IconSizeProfiler,c=Nu().TabLabelProfiler,f=Nu().TabSizeProfiler;break;case"settings":u=Nu().IconSizeSettings,c=Nu().TabLabelSettings,f=Nu().TabSizeSettings;break;default:throw Error(`Unsupported type "${o}"`)}return r.createElement(r.Fragment,null,i.map((i=>{if(null===i)return r.createElement("div",{key:"VRule",className:Nu().VRule});const{icon:o,id:v,label:d,title:h}=i;let _=r.createElement("label",{className:[f,t?Nu().TabDisabled:Nu().Tab,t||e!==v?"":Nu().TabCurrent].join(" "),"data-testname":`TabBarButton-${v}`,key:v,onKeyDown:l,onMouseDown:()=>n(v)},r.createElement("input",{type:"radio",className:Nu().Input,checked:e===v,disabled:t,name:a,value:v,onChange:s}),r.createElement(dt,{className:`${t?Nu().IconDisabled:""} ${u}`,type:o}),r.createElement("span",{className:c},d));return h&&(_=r.createElement(Bn,{key:v,label:h},_)),_})))}var Ou=a(1426),Iu=a.n(Ou);const Fu="vscode://file/{path}:{line}";function Lu(e){const t=(0,r.useContext)(wr),{parseHookNames:a,setParseHookNames:n}=(0,r.useContext)(Wt),i=Vt((0,r.useMemo)((()=>({getCurrentValue:()=>t.collapseNodesByDefault,subscribe:e=>(t.addListener("collapseNodesByDefault",e),()=>t.removeListener("collapseNodesByDefault",e))})),[t])),o=(0,r.useCallback)((({currentTarget:e})=>{t.collapseNodesByDefault=!e.checked}),[t]),s=(0,r.useCallback)((({currentTarget:e})=>{n(e.checked)}),[n]),[l,u]=zt(d.Rc,"custom"),[c,f]=zt(d.sD,""),[v,E]=(0,r.useState)((()=>[...t.componentFilters])),D=(0,r.useCallback)((()=>{E((e=>[...e,{type:k,value:S,isEnabled:!0}]))}),[]),H=(0,r.useCallback)(((e,r)=>{E((t=>{const a=[...t],n=t.indexOf(e);return n>=0&&(r===k?a[n]={type:k,isEnabled:e.isEnabled,value:S}:r===C?a[n]={type:C,isEnabled:e.isEnabled,isValid:!0,value:""}:r===A?a[n]={type:A,isEnabled:e.isEnabled,isValid:!0,value:""}:r===M&&(a[n]={type:M,isEnabled:e.isEnabled,isValid:!0})),a}))}),[]),x=(0,r.useCallback)(((e,r)=>{if(e.type!==k)throw Error("Invalid value for element type filter");E((t=>{const a=[...t];if(e.type===k){const n=t.indexOf(e);n>=0&&(a[n]={...e,value:r})}return a}))}),[]),T=(0,r.useCallback)(((e,r)=>{if(e.type===k)throw Error("Invalid value for element type filter");E((t=>{const a=[...t];if(e.type===C||e.type===A){const n=t.indexOf(e);if(n>=0){let t=!0;try{new RegExp(r)}catch(e){t=!1}a[n]={...e,isValid:t,value:r}}}return a}))}),[]),N=(0,r.useCallback)((e=>{E((r=>{const t=[...r];return t.splice(e,1),t}))}),[]),R=(0,r.useCallback)(((e,r)=>{E((t=>{const a=[...t],n=t.indexOf(e);return n>=0&&(e.type===k||e.type===C||e.type===A||e.type===M)&&(a[n]={...a[n],isEnabled:r}),a}))}),[]),O=(0,r.useRef)(v);return(0,r.useEffect)((()=>(O.current=v,()=>{})),[v]),(0,r.useEffect)((()=>()=>{t.componentFilters=[...O.current]}),[t]),r.createElement("div",{className:Iu().Settings},r.createElement("label",{className:Iu().Setting},r.createElement("input",{type:"checkbox",checked:!i,onChange:o})," ","Expand component tree by default"),r.createElement("label",{className:Iu().Setting},r.createElement("input",{type:"checkbox",checked:a,onChange:s})," ","Always parse hook names from source"," ",r.createElement("span",{className:Iu().Warning},"(may be slow)")),r.createElement("label",{className:Iu().OpenInURLSetting},"Open in Editor URL:"," ",r.createElement("select",{className:Iu().Select,value:l,onChange:({currentTarget:e})=>{const r=e.value;u(r),"vscode"===r?f(Fu):"custom"===r&&f("")}},r.createElement("option",{value:"vscode"},"VS Code"),r.createElement("option",{value:"custom"},"Custom")),"custom"===l&&r.createElement("input",{className:Iu().Input,type:"text",placeholder:"",value:c,onChange:e=>{f(e.target.value)}})),r.createElement("div",{className:Iu().Header},"Hide components where..."),r.createElement("table",{className:Iu().Table},r.createElement("tbody",null,0===v.length&&r.createElement("tr",{className:Iu().TableRow},r.createElement("td",{className:Iu().NoFiltersCell},"No filters have been added.")),v.map(((e,t)=>r.createElement("tr",{className:Iu().TableRow,key:t},r.createElement("td",{className:Iu().TableCell},r.createElement(Vn,{className:!1!==e.isValid?"":Iu().InvalidRegExp,isChecked:e.isEnabled,onChange:r=>R(e,r),title:!1===e.isValid?"Filter invalid":e.isEnabled?"Filter enabled":"Filter disabled"},r.createElement(Pu,{isEnabled:e.isEnabled,isValid:null==e.isValid||!0===e.isValid}))),r.createElement("td",{className:Iu().TableCell},r.createElement("select",{className:Iu().Select,value:e.type,onChange:({currentTarget:r})=>H(e,parseInt(r.value,10))},r.createElement("option",{value:A},"location"),r.createElement("option",{value:C},"name"),r.createElement("option",{value:k},"type"),r.createElement("option",{value:M},"hoc"))),r.createElement("td",{className:Iu().TableCell},e.type===k&&"equals",(e.type===A||e.type===C)&&"matches"),r.createElement("td",{className:Iu().TableCell},e.type===k&&r.createElement("select",{className:Iu().Select,value:e.value,onChange:({currentTarget:r})=>x(e,parseInt(r.value,10))},r.createElement("option",{value:h},"class"),r.createElement("option",{value:_},"context"),r.createElement("option",{value:m},"function"),r.createElement("option",{value:p},"forward ref"),r.createElement("option",{value:S},"dom nodes (e.g. <div>)"),r.createElement("option",{value:g},"memo"),r.createElement("option",{value:b},"other"),r.createElement("option",{value:w},"profiler"),r.createElement("option",{value:y},"suspense")),(e.type===A||e.type===C)&&r.createElement("input",{className:Iu().Input,type:"text",placeholder:"Regular expression",onChange:({currentTarget:r})=>T(e,r.value),value:e.value})),r.createElement("td",{className:Iu().TableCell},r.createElement(Xn,{onClick:()=>N(t),title:"Delete filter"},r.createElement(Jt,{type:"delete"})))))))),r.createElement(Xn,{onClick:D,title:"Add filter"},r.createElement(Jt,{className:Iu().ButtonIcon,type:"add"}),"Add filter"),v.length>0&&r.createElement(Xn,{onClick:()=>{E([])},title:"Delete all filters"},r.createElement(Jt,{className:Iu().ButtonIcon,type:"delete"}),"Delete all filters"))}function Pu({isEnabled:e,isValid:t}){let a;return a=t?e?Iu().ToggleOn:Iu().ToggleOff:e?Iu().ToggleOnInvalid:Iu().ToggleOffInvalid,r.createElement("div",{className:a},r.createElement("div",{className:e?Iu().ToggleInsideOn:Iu().ToggleInsideOff}))}function zu(e){const{appendComponentStack:t,breakOnConsoleErrors:a,hideConsoleLogsInStrictMode:n,setAppendComponentStack:i,setBreakOnConsoleErrors:o,setShowInlineWarningsAndErrors:s,showInlineWarningsAndErrors:l,setHideConsoleLogsInStrictMode:u}=(0,r.useContext)(Wt);return r.createElement("div",{className:Iu().Settings},r.createElement("div",{className:Iu().Setting},r.createElement("label",null,r.createElement("input",{type:"checkbox",checked:t,onChange:({currentTarget:e})=>i(e.checked)})," ","Append component stacks to console warnings and errors.")),r.createElement("div",{className:Iu().Setting},r.createElement("label",null,r.createElement("input",{type:"checkbox",checked:l,onChange:({currentTarget:e})=>s(e.checked)})," ","Show inline warnings and errors.")),r.createElement("div",{className:Iu().Setting},r.createElement("label",null,r.createElement("input",{type:"checkbox",checked:a,onChange:({currentTarget:e})=>o(e.checked)})," ","Break on warnings")),r.createElement("div",{className:Iu().Setting},r.createElement("label",null,r.createElement("input",{type:"checkbox",checked:n,onChange:({currentTarget:e})=>u(e.checked)})," ","Hide logs during second render in Strict Mode")))}function Bu(e){const{displayDensity:t,setDisplayDensity:a,setTheme:n,setTraceUpdatesEnabled:i,theme:o,traceUpdatesEnabled:s}=(0,r.useContext)(Wt),{backendVersion:l,supportsTraceUpdates:u}=(0,r.useContext)(wr),c="4.28.5-ef8a840bd",f=l&&l!==c;return r.createElement("div",{className:Iu().Settings},r.createElement("div",{className:Iu().Setting},r.createElement("div",{className:Iu().RadioLabel},"Theme"),r.createElement("select",{className:Iu().Select,value:o,onChange:({currentTarget:e})=>n(e.value)},r.createElement("option",{value:"auto"},"Auto"),r.createElement("option",{value:"light"},"Light"),r.createElement("option",{value:"dark"},"Dark"))),r.createElement("div",{className:Iu().Setting},r.createElement("div",{className:Iu().RadioLabel},"Display density"),r.createElement("select",{className:Iu().Select,value:t,onChange:({currentTarget:e})=>a(e.value)},r.createElement("option",{value:"compact"},"Compact"),r.createElement("option",{value:"comfortable"},"Comfortable"))),u&&r.createElement("div",{className:Iu().Setting},r.createElement("label",null,r.createElement("input",{type:"checkbox",checked:s,onChange:({currentTarget:e})=>i(e.checked)})," ","Highlight updates when components render.")),r.createElement("div",{className:Iu().ReleaseNotes},f&&r.createElement("div",null,r.createElement("ul",{className:Iu().VersionsList},r.createElement("li",null,r.createElement(Vu,{label:"DevTools backend version:",version:l})),r.createElement("li",null,r.createElement(Vu,{label:"DevTools frontend version:",version:c})))),!f&&r.createElement(Vu,{label:"DevTools version:",version:c})))}function Vu({label:e,version:t}){const a=(0,r.useMemo)((()=>function(e){if(!e)return null;const r=e.replace(/^(\d+)\.(\d+)\.(\d+).*/,"$1$2$3");return`${xt}#${r}`}(t)),[t]);return null==t?null:r.createElement(r.Fragment,null,e," ",r.createElement("a",{className:Iu().ReleaseNotesLink,target:"_blank",rel:"noopener noreferrer",href:a},t))}const Uu=(0,r.createContext)(null);function Wu({children:e}){const a=(0,r.useContext)(wr),{selectedElementID:n}=(0,r.useContext)(ot),i=(0,r.useContext)(st),{profilerStore:o}=a,s=(0,r.useMemo)((()=>({getCurrentValue:()=>({didRecordCommits:o.didRecordCommits,isProcessingData:o.isProcessingData,isProfiling:o.isProfiling,profilingData:o.profilingData,supportsProfiling:a.rootSupportsBasicProfiling}),subscribe:e=>(o.addListener("profilingData",e),o.addListener("isProcessingData",e),o.addListener("isProfiling",e),a.addListener("rootSupportsBasicProfiling",e),()=>{o.removeListener("profilingData",e),o.removeListener("isProcessingData",e),o.removeListener("isProfiling",e),a.removeListener("rootSupportsBasicProfiling",e)})})),[o,a]),{didRecordCommits:l,isProcessingData:u,isProfiling:c,profilingData:f,supportsProfiling:v}=Vt(s),[d,h]=(0,r.useState)(null),[_,m]=(0,r.useState)(null),[p,S]=(0,r.useState)(null),[g,b]=(0,r.useState)(null),w=(0,r.useCallback)(((e,r)=>{S(e),b(r),null!==e&&null!==f&&!1===f.imported&&a.containsElement(e)&&i({type:"SELECT_ELEMENT_BY_ID",payload:e})}),[i,S,b,a,f]),E=(0,r.useCallback)((e=>{w(null,null),m(e)}),[m,w]);d!==f&&(0,t.unstable_batchedUpdates)((()=>{h(f);const e=null!==f?f.dataForRoots:null;if(null!=e){const r=e.keys().next().value||null;if(null===_||!e.has(_)){let t=null;null!==n&&(t=a.getRootIDForElement(n)),null!==t&&e.has(t)?E(t):E(r)}}}));const[y,k]=zt("React::DevTools::isCommitFilterEnabled",!1),[C,A]=zt("minCommitDuration",0),[M,D]=(0,r.useState)(null),[H,x]=zt("React::DevTools::Profiler::defaultTab","flame-chart",(e=>{(0,vr.K)({event_name:"profiler-tab-changed",metadata:{tabId:e}})})),T=(0,r.useCallback)((()=>{(0,vr.K)({event_name:"profiling-start",metadata:{current_tab:H}}),a.profilerStore.startProfiling()}),[a,H]),N=(0,r.useCallback)((()=>a.profilerStore.stopProfiling()),[a]);c&&(0,t.unstable_batchedUpdates)((()=>{null!==M&&D(null),null!==p&&(S(null),b(null))}));const R=(0,r.useMemo)((()=>({selectedTabID:H,selectTab:x,didRecordCommits:l,isProcessingData:u,isProfiling:c,profilingData:f,startProfiling:T,stopProfiling:N,supportsProfiling:v,rootID:_,setRootID:E,isCommitFilterEnabled:y,setIsCommitFilterEnabled:k,minCommitDuration:C,setMinCommitDuration:A,selectedCommitIndex:M,selectCommitIndex:D,selectedFiberID:p,selectedFiberName:g,selectFiber:w})),[H,x,l,u,c,f,T,N,v,_,m,E,y,k,C,A,M,D,p,g,w]);return r.createElement(Uu.Provider,{value:R},e)}function $u(e){const{isCommitFilterEnabled:t,minCommitDuration:a,setIsCommitFilterEnabled:n,setMinCommitDuration:i}=(0,r.useContext)(Uu),o=(0,r.useContext)(wr),s=Vt((0,r.useMemo)((()=>({getCurrentValue:()=>o.recordChangeDescriptions,subscribe:e=>(o.addListener("recordChangeDescriptions",e),()=>o.removeListener("recordChangeDescriptions",e))})),[o])),l=(0,r.useCallback)((({currentTarget:e})=>{o.recordChangeDescriptions=e.checked}),[o]),u=(0,r.useCallback)((e=>{const r=parseFloat(e.currentTarget.value);i(Number.isNaN(r)||r<=0?0:r)}),[i]),c=(0,r.useCallback)((e=>{const r=e.currentTarget.checked;n(r),r&&null!==f.current&&f.current.focus()}),[n]),f=(0,r.useRef)(null);return r.createElement("div",{className:Iu().Settings},r.createElement("div",{className:Iu().Setting},r.createElement("label",null,r.createElement("input",{type:"checkbox",checked:s,onChange:l})," ","Record why each component rendered while profiling.")),r.createElement("div",{className:Iu().Setting},r.createElement("label",null,r.createElement("input",{checked:t,onChange:c,type:"checkbox"})," ","Hide commits below")," ",r.createElement("input",{className:Iu().Input,onChange:u,ref:f,type:"number",value:a})," ","(ms)"))}Uu.displayName="ProfilerContext";var ju=a(476),Xu=a.n(ju);function Ku(e){const{isModalShowing:t,setIsModalShowing:a}=(0,r.useContext)(yo),n=(0,r.useContext)(wr),{profilerStore:i}=n;return Vt((0,r.useMemo)((()=>({getCurrentValue:()=>i.isProfiling,subscribe:e=>(i.addListener("isProfiling",e),()=>i.removeListener("isProfiling",e))})),[i]))&&t&&a(!1),t?r.createElement(Gu,null):null}function Gu(e){const{setIsModalShowing:t}=(0,r.useContext)(yo),a=(0,r.useCallback)((()=>t(!1)),[t]),[n,i]=zt("React::DevTools::selectedSettingsTabID","general"),o=(0,r.useRef)(null);Bt(o,a),(0,r.useEffect)((()=>{null!==o.current&&o.current.focus()}),[o]);let s=null;switch(n){case"components":s=r.createElement(Lu,null);break;case"debugging":s=r.createElement(zu,null);break;case"general":s=r.createElement(Bu,null);break;case"profiler":s=r.createElement($u,null)}return r.createElement("div",{className:Xu().Background},r.createElement("div",{className:Xu().Modal,ref:o},r.createElement("div",{className:Xu().Tabs},r.createElement(Ru,{currentTab:n,id:"Settings",selectTab:i,tabs:Yu,type:"settings"}),r.createElement("div",{className:Xu().Spacer}),r.createElement(Xn,{onClick:a,title:"Close settings dialog"},r.createElement(Jt,{type:"close"}))),r.createElement("div",{className:Xu().Content},s)))}const Yu=[{id:"general",icon:"settings",label:"General"},{id:"debugging",icon:"bug",label:"Debugging"},{id:"components",icon:"components",label:"Components"},{id:"profiler",icon:"profiler",label:"Profiler"}];var qu=a(407),Qu=a.n(qu);function Zu(){return r.createElement("div",{className:Qu().Loading},"Loading...")}const Ju="React::DevTools::createResizeReducer";function ec(){let e=.65,r=.5;try{let t=R(Ju);null!=t&&(t=JSON.parse(t),e=t.horizontalPercentage,r=t.verticalPercentage)}catch(e){}return{horizontalPercentage:e,isResizing:!1,verticalPercentage:r}}function rc(e,r){switch(r.type){case"ACTION_SET_IS_RESIZING":return{...e,isResizing:r.payload};case"ACTION_SET_HORIZONTAL_PERCENTAGE":return{...e,horizontalPercentage:r.payload};case"ACTION_SET_VERTICAL_PERCENTAGE":return{...e,verticalPercentage:r.payload};default:return e}}function tc(e,r,t){null!==e&&null!==r&&e.style.setProperty(`--${r}-resize-percentage`,`${t}%`)}const ac=gs((function(e){const t=(0,r.useRef)(null),a=(0,r.useRef)(null),[n,i]=(0,r.useReducer)(rc,null,ec),{horizontalPercentage:o,verticalPercentage:s}=n;(0,r.useLayoutEffect)((()=>{const e=a.current;tc(e,"horizontal",100*o),tc(e,"vertical",100*s)}),[]),(0,r.useEffect)((()=>{const e=setTimeout((()=>{O(Ju,JSON.stringify({horizontalPercentage:o,verticalPercentage:s}))}),500);return()=>clearTimeout(e)}),[o,s]);const{isResizing:l}=n;let u,c;return l&&(c=()=>i({type:"ACTION_SET_IS_RESIZING",payload:!1}),u=e=>{const r=a.current,n=t.current;if(!l||null===n||null===r)return;e.preventDefault();const o=function(e){if(null!=e){const{width:r}=e.getBoundingClientRect();return r>600?"horizontal":"vertical"}return null}(n),{height:s,width:u,left:c,top:f}=n.getBoundingClientRect(),v="horizontal"===o?e.clientX-c:e.clientY-f;if(v>50&&v<("horizontal"===o?u-50:s-50)){const e="horizontal"===o?u:s,t="horizontal"===o?"ACTION_SET_HORIZONTAL_PERCENTAGE":"ACTION_SET_VERTICAL_PERCENTAGE";tc(r,o,v/e*100),i({type:t,payload:v/e})}}),r.createElement(ko,null,r.createElement(si,null,r.createElement("div",{ref:t,className:Qu().Components,onMouseMove:u,onMouseLeave:c,onMouseUp:c},r.createElement(r.Fragment,null,r.createElement("div",{ref:a,className:Qu().TreeWrapper},r.createElement(Bo,null)),r.createElement("div",{className:Qu().ResizeBarWrapper},r.createElement("div",{onMouseDown:()=>i({type:"ACTION_SET_IS_RESIZING",payload:!0}),className:Qu().ResizeBar})),r.createElement("div",{className:Qu().InspectedElementWrapper},r.createElement(cu,null,r.createElement(Hs,null,r.createElement(r.Suspense,{fallback:r.createElement(Zu,null)},r.createElement(Fl,null,r.createElement(xu,null)))))),r.createElement(Is,null),r.createElement(Ku,null)))))})),nc=(0,r.createContext)(null);function ic({children:e}){const t=(0,r.useRef)(null),[a,n]=(0,r.useState)(null),i=(0,r.useContext)(wr),o=(0,r.useSyncExternalStore)((function(e){return i.addListener("rootSupportsTimelineProfiling",e),function(){i.removeListener("rootSupportsTimelineProfiling",e)}}),(function(){return i.rootSupportsTimelineProfiling})),s=(0,r.useSyncExternalStore)((function(e){return i.profilerStore.addListener("isProcessingData",e),i.profilerStore.addListener("profilingData",e),function(){i.profilerStore.removeListener("isProcessingData",e),i.profilerStore.removeListener("profilingData",e)}}),(function(){return i.profilerStore.profilingData?.timelineData||null})),l=(0,r.useMemo)((()=>{const e=new Set,r=new Set,t={offset:0,length:0},a={horizontalScrollState:t,onHorizontalScrollStateChange:r=>{e.add(r)},onSearchRegExpStateChange:e=>{r.add(e)},searchRegExp:null,updateHorizontalScrollState:r=>{t.offset===r.offset&&t.length===r.length||(t.offset=r.offset,t.length=r.length,e.forEach((e=>{e(r)})))},updateSearchRegExpState:e=>{a.searchRegExp=e,r.forEach((r=>{r(e)}))},viewToMutableViewStateMap:new Map};return a}),[a]),[u,c]=(0,r.useState)(null),f=(0,r.useMemo)((()=>({file:a,inMemoryTimelineData:s,isTimelineSupported:o,searchInputContainerRef:t,setFile:n,viewState:l,selectEvent:c,selectedEvent:u})),[a,s,o,n,l,c,u]);return r.createElement(nc.Provider,{value:f},e)}function oc(){const e=(0,r.useContext)(wr),{didRecordCommits:t,isProfiling:a}=(0,r.useContext)(Uu),{file:n,setFile:i}=(0,r.useContext)(nc),{profilerStore:o}=e,s=t,l=null!==n;return r.createElement(Xn,{disabled:a||!(s||l),onClick:()=>{s&&o.clear(),l&&i(null)},title:"Clear profiling data"},r.createElement(Jt,{type:"clear"}))}nc.displayName="TimelineContext";var sc=a(4368),lc=a.n(sc);function uc(e){return r.createElement("div",{className:lc().NoCommitData},r.createElement("div",{className:lc().Header},"There is no data matching the current filter criteria."),r.createElement("div",{className:lc().FilterMessage},"Try adjusting the commit filter in Profiler settings."))}const cc=5;var fc=a(886),vc=a.n(fc);const dc=35;function hc({color:e,height:t,isDimmed:a=!1,label:n,onClick:i,onMouseEnter:o,onMouseLeave:s,onDoubleClick:l,textStyle:u,width:c,x:f,y:v}){return r.createElement("g",{className:vc().Group,transform:`translate(${f},${v})`},r.createElement("rect",{width:c,height:t,fill:e,onClick:i,onMouseEnter:o,onMouseLeave:s,onDoubleClick:l,className:vc().Rect,style:{opacity:a?.5:1}}),c>=dc&&r.createElement("foreignObject",{width:c,height:t,className:vc().ForeignObject,style:{paddingLeft:f<0?-f:0,opacity:a?.75:1,display:c<dc?"none":"block"},y:0},r.createElement("div",{className:vc().Div,style:u},n)))}function _c({data:e,index:t,style:a}){const{chartData:n,onElementMouseEnter:i,onElementMouseLeave:o,scaleX:s,selectedChartNode:l,selectedChartNodeIndex:u,selectFiber:c,width:f}=e,{renderPathNodes:v,maxSelfDuration:d,rows:h}=n,{lineHeight:_}=(0,r.useContext)(Wt),m=(0,r.useCallback)(((e,r,t)=>{e.stopPropagation(),c(r,t)}),[c]),p=()=>{o()},S=parseInt(a.top,10),g=h[t],b=s(null!==l?l.offset:0,f);return r.createElement(r.Fragment,null,g.map((e=>{const{didRender:a,id:n,label:o,name:l,offset:c,selfDuration:h,treeBaseDuration:g}=e,w=s(c,f),E=s(g,f);if(E<2)return null;if(w+E<b||w>b+f)return null;let y="url(#didNotRenderPattern)",k="var(--color-commit-did-not-render-pattern-text)";return a?(y=$e(h/d),k="var(--color-commit-gradient-text)"):v.has(n)&&(y="var(--color-commit-did-not-render-fill)",k="var(--color-commit-did-not-render-fill-text)"),r.createElement(hc,{color:y,height:_,isDimmed:t<u,key:n,label:o,onClick:e=>m(e,n,l),onMouseEnter:()=>(e=>{const{id:r,name:t}=e;i({id:r,name:t})})(e),onMouseLeave:p,textStyle:{color:k},width:E,x:w-b,y:S})})))}const mc=(0,r.memo)(_c,qr);var pc=a(3582),Sc=a.n(pc);function gc({fiberID:e}){const{profilerStore:t}=(0,r.useContext)(wr),{rootID:a,selectedCommitIndex:n}=(0,r.useContext)(Uu);if(null===n)return null;const{changeDescriptions:i}=t.getCommitData(a,n);if(null===i)return null;const o=i.get(e);if(null==o)return null;const{context:s,didHooksChange:l,hooks:u,isFirstMount:c,props:f,state:v}=o;if(c)return r.createElement("div",{className:Sc().Component},r.createElement("label",{className:Sc().Label},"Why did this render?"),r.createElement("div",{className:Sc().Item},"This is the first time the component rendered."));const d=[];return!0===s?d.push(r.createElement("div",{key:"context",className:Sc().Item},"• Context changed")):"object"==typeof s&&null!==s&&0!==s.length&&d.push(r.createElement("div",{key:"context",className:Sc().Item},"• Context changed:",s.map((e=>r.createElement("span",{key:e,className:Sc().Key},e))))),l&&(Array.isArray(u)?d.push(r.createElement("div",{key:"hooks",className:Sc().Item},"• ",function(e){const r=e.map((e=>e+1));switch(r.length){case 0:return"No hooks changed";case 1:return`Hook ${r[0]} changed`;case 2:return`Hooks ${r[0]} and ${r[1]} changed`;default:return`Hooks ${r.slice(0,r.length-1).join(", ")} and ${r[r.length-1]} changed`}}(u))):d.push(r.createElement("div",{key:"hooks",className:Sc().Item},"• Hooks changed"))),null!==f&&0!==f.length&&d.push(r.createElement("div",{key:"props",className:Sc().Item},"• Props changed:",f.map((e=>r.createElement("span",{key:e,className:Sc().Key},e))))),null!==v&&0!==v.length&&d.push(r.createElement("div",{key:"state",className:Sc().Item},"• State changed:",v.map((e=>r.createElement("span",{key:e,className:Sc().Key},e))))),0===d.length&&d.push(r.createElement("div",{key:"nothing",className:Sc().Item},"The parent component rendered.")),r.createElement("div",{className:Sc().Component},r.createElement("label",{className:Sc().Label},"Why did this render?"),d)}var bc=a(6078),wc=a.n(bc);function Ec({fiberData:e}){const{profilerStore:t}=(0,r.useContext)(wr),{rootID:a,selectedCommitIndex:n}=(0,r.useContext)(Uu),{id:i,name:o}=e,{profilingCache:s}=t,l=s.getFiberCommits({fiberID:i,rootID:a});let u=null,c=0;for(c=0;c<l.length;c++){const e=l[c];if(n===e){const{fiberActualDurations:n,fiberSelfDurations:o}=t.getCommitData(a,e),s=n.get(i)||0,l=o.get(i)||0;u=r.createElement("div",{key:e,className:wc().CurrentCommit},je(l),"ms of ",je(s),"ms");break}}return r.createElement(r.Fragment,null,r.createElement("div",{className:wc().Toolbar},r.createElement("div",{className:wc().Component},o)),r.createElement("div",{className:wc().Content},u||r.createElement("div",null,"Did not render."),r.createElement(gc,{fiberID:i})))}var yc=a(1680),kc=a.n(yc);const Cc={height:0,mouseX:0,mouseY:0,width:0};function Ac({children:e,className:t,label:a,style:n}){const i=(0,r.useRef)(null),o=(0,r.useRef)(null),s=null===a?kc().hidden:"";return r.createElement("div",{className:kc().Container,onMouseMove:e=>{(e=>{const r=o.current;if(null!=r){const t=function(e,r){if(null!==e){let t=e;for(;null!=t.parentElement&&"relative"!==t.style.position;)t=t.parentElement;const{height:a,left:n,top:i,width:o}=t.getBoundingClientRect();return{height:a,mouseX:r.clientX-n,mouseY:r.clientY-i,width:o}}return Cc}(i.current,e),{left:a,top:n}=function(e,r){const{height:t,mouseX:a,mouseY:n,width:i}=r;let o=0,s=0;return o=n+Mc+e.offsetHeight>=t?n-Mc-e.offsetHeight>0?n-e.offsetHeight-Mc+"px":"0px":`${n+Mc}px`,s=a+Mc+e.offsetWidth>=i?a-Mc-e.offsetWidth>0?a-e.offsetWidth-Mc+"px":"0px":`${a+2*Mc}px`,{left:s,top:o}}(r,t);r.style.left=a,r.style.top=n}})(e)},ref:i},r.createElement("div",{className:`${kc().Tooltip} ${s} ${t||""}`,ref:o,style:n},a),e)}const Mc=5;var Dc=a(2350),Hc=a.n(Dc);function xc(){return xc=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a])}return e},xc.apply(this,arguments)}function Tc(e){const{profilerStore:t}=(0,r.useContext)(wr),{rootID:a,selectedCommitIndex:n,selectFiber:i}=(0,r.useContext)(Uu),{profilingCache:o}=t,s=(0,r.useCallback)((e=>{e.stopPropagation(),i(null,null)}),[i]);let l=null,u=null;return null!==n&&(l=o.getCommitTree({commitIndex:n,rootID:a}),u=o.getFlamegraphChartData({commitIndex:n,commitTree:l,rootID:a})),null!=l&&null!=u&&u.depth>0?r.createElement("div",{className:Hc().Container,onClick:s},r.createElement(Ir,null,(({height:e,width:t})=>r.createElement(Nc,{chartData:u,commitTree:l,height:e,width:t})))):r.createElement(uc,null)}function Nc({chartData:e,commitTree:t,height:a,width:n}){const[i,o]=(0,r.useState)(null),{lineHeight:s}=(0,r.useContext)(Wt),{selectFiber:l,selectedFiberID:u}=(0,r.useContext)(Uu),{highlightNativeElement:c,clearHighlightNativeElement:f}=Ut(),v=(0,r.useMemo)((()=>{if(null===u)return 0;const r=e.idToDepthMap.get(u);return void 0!==r?r-1:0}),[e,u]),d=(0,r.useMemo)((()=>null!==u&&e.rows[v].find((e=>e.id===u))||null),[e,u,v]),h=(0,r.useCallback)((({id:e,name:r})=>{c(e),o({id:e,name:r})}),[c]),_=(0,r.useCallback)((()=>{f(),o(null)}),[f]),m=(0,r.useMemo)((()=>({chartData:e,onElementMouseEnter:h,onElementMouseLeave:_,scaleX:Ke(0,null!==d?d.treeBaseDuration:e.baseDuration,0,n),selectedChartNode:d,selectedChartNodeIndex:v,selectFiber:l,width:n})),[e,h,_,d,v,l,n]),p=(0,r.useMemo)((()=>null!==i?r.createElement(Ec,{fiberData:i}):null),[i]);return r.createElement(Ac,{label:p},r.createElement(Gr,{height:a,innerElementType:Rc,itemCount:e.depth,itemData:m,itemSize:s,width:n},mc))}const Rc=(0,r.forwardRef)((({children:e,...t},a)=>r.createElement("svg",xc({ref:a},t),r.createElement("defs",null,r.createElement("pattern",{id:"didNotRenderPattern",patternUnits:"userSpaceOnUse",width:"4",height:"4"},r.createElement("path",{d:"M-1,1 l2,-2 M0,4 l4,-4 M3,5 l2,-2",className:Hc().PatternPath}))),e)));function Oc({data:e,index:t,style:a}){const{chartData:n,onElementMouseEnter:i,onElementMouseLeave:o,scaleX:s,selectedFiberIndex:l,selectFiber:u,width:c}=e,f=n.nodes[t],{lineHeight:v}=(0,r.useContext)(Wt),d=(0,r.useCallback)((e=>{e.stopPropagation();const{id:r,name:t}=f;u(r,t)}),[f,u]),h=parseInt(a.top,10);return r.createElement(hc,{color:$e(f.value/n.maxValue),height:v,isDimmed:t<l,key:f.id,label:f.label,onClick:d,onMouseEnter:()=>{const{id:e,name:r}=f;i({id:e,name:r})},onMouseLeave:()=>{o()},width:Math.max(cc,s(f.value,c)),x:0,y:h})}const Ic=(0,r.memo)(Oc,qr);var Fc=a(5292),Lc=a.n(Fc);function Pc(e){const{profilerStore:t}=(0,r.useContext)(wr),{rootID:a,selectedCommitIndex:n,selectFiber:i}=(0,r.useContext)(Uu),{profilingCache:o}=t,s=(0,r.useCallback)((e=>{e.stopPropagation(),i(null,null)}),[i]);let l=null,u=null;return null!==n&&(l=o.getCommitTree({commitIndex:n,rootID:a}),u=o.getRankedChartData({commitIndex:n,commitTree:l,rootID:a})),null!=l&&null!=u&&u.nodes.length>0?r.createElement("div",{className:Lc().Container,onClick:s},r.createElement(Ir,null,(({height:e,width:t})=>r.createElement(zc,{chartData:u,commitTree:l,height:e,width:t})))):r.createElement(uc,null)}function zc({chartData:e,commitTree:t,height:a,width:n}){const[i,o]=(0,r.useState)(null),{lineHeight:s}=(0,r.useContext)(Wt),{selectedFiberID:l,selectFiber:u}=(0,r.useContext)(Uu),{highlightNativeElement:c,clearHighlightNativeElement:f}=Ut(),v=(0,r.useMemo)((()=>Bc(e,l)),[e,l]),d=(0,r.useCallback)((({id:e,name:r})=>{c(e),o({id:e,name:r})}),[c]),h=(0,r.useCallback)((()=>{f(),o(null)}),[f]),_=(0,r.useMemo)((()=>({chartData:e,onElementMouseEnter:d,onElementMouseLeave:h,scaleX:Ke(0,e.nodes[v].value,0,n),selectedFiberID:l,selectedFiberIndex:v,selectFiber:u,width:n})),[e,d,h,l,v,u,n]),m=(0,r.useMemo)((()=>null!==i?r.createElement(Ec,{fiberData:i}):null),[i]);return r.createElement(Ac,{label:m},r.createElement(Gr,{height:a,innerElementType:"svg",itemCount:e.nodes.length,itemData:_,itemSize:s,width:n},Ic))}const Bc=(e,r)=>{if(null===r)return 0;const{nodes:t}=e;for(let e=0;e<t.length;e++)if(t[e].id===r)return e;return 0};var Vc=a(4594),Uc=a.n(Vc);function Wc(e){const{profilingData:t,rootID:a,setRootID:n}=(0,r.useContext)(Uu),i=[];null!==t&&t.dataForRoots.forEach(((e,t)=>{i.push(r.createElement("option",{key:t,value:t},e.displayName))}));const o=(0,r.useCallback)((({currentTarget:e})=>{n(parseInt(e.value,10))}),[n]);return null===t||t.dataForRoots.size<=1?null:r.createElement(r.Fragment,null,r.createElement("div",{className:Uc().Spacer}),r.createElement("select",{value:a,onChange:o},i))}var $c=a(1909),jc=a.n($c);function Xc({disabled:e}){const{isProfiling:t,startProfiling:a,stopProfiling:n}=(0,r.useContext)(Uu);let i=jc().InactiveRecordToggle;return e?i=jc().DisabledRecordToggle:t&&(i=jc().ActiveRecordToggle),r.createElement(Xn,{className:i,disabled:e,onClick:t?n:a,testName:"ProfilerToggleButton",title:t?"Stop profiling":"Start profiling"},r.createElement(Jt,{type:"record"}))}var Kc=a(6670),Gc=a.n(Kc);function Yc(){return r.createElement("div",{className:Gc().Column},r.createElement("div",{className:Gc().Header},"No profiling data has been recorded."),r.createElement("div",{className:Gc().Row},"Click the record button ",r.createElement(Xc,null)," to start recording."),r.createElement("div",{className:`${Gc().Row} ${Gc().LearnMoreRow}`},"Click"," ",r.createElement("a",{className:Gc().LearnMoreLink,href:"https://fb.me/react-devtools-profiling",rel:"noopener noreferrer",target:"_blank"},"here")," ","to learn more about profiling."))}function qc(){return r.createElement("div",{className:Gc().Column},r.createElement("div",{className:Gc().Header},"Profiling is in progress..."),r.createElement("div",{className:Gc().Row},"Click the record button ",r.createElement(Xc,null)," to stop recording."))}const Qc=window.devicePixelRatio||1,Zc=10,Jc=1/Qc,ef=[1,2,5,10,20,50,100,200,500,1e3,2e3,5e3];let rf={BACKGROUND:"",INTERNAL_MODULE_FRAME:"",INTERNAL_MODULE_FRAME_HOVER:"",INTERNAL_MODULE_FRAME_TEXT:"",NATIVE_EVENT:"",NATIVE_EVENT_HOVER:"",NETWORK_PRIMARY:"",NETWORK_PRIMARY_HOVER:"",NETWORK_SECONDARY:"",NETWORK_SECONDARY_HOVER:"",PRIORITY_BACKGROUND:"",PRIORITY_BORDER:"",PRIORITY_LABEL:"",USER_TIMING:"",USER_TIMING_HOVER:"",REACT_IDLE:"",REACT_IDLE_HOVER:"",REACT_RENDER:"",REACT_RENDER_HOVER:"",REACT_RENDER_TEXT:"",REACT_COMMIT:"",REACT_COMMIT_HOVER:"",REACT_COMMIT_TEXT:"",REACT_LAYOUT_EFFECTS:"",REACT_LAYOUT_EFFECTS_HOVER:"",REACT_LAYOUT_EFFECTS_TEXT:"",REACT_PASSIVE_EFFECTS:"",REACT_PASSIVE_EFFECTS_HOVER:"",REACT_PASSIVE_EFFECTS_TEXT:"",REACT_RESIZE_BAR:"",REACT_RESIZE_BAR_ACTIVE:"",REACT_RESIZE_BAR_BORDER:"",REACT_RESIZE_BAR_DOT:"",REACT_SCHEDULE:"",REACT_SCHEDULE_HOVER:"",REACT_SUSPENSE_REJECTED_EVENT:"",REACT_SUSPENSE_REJECTED_EVENT_HOVER:"",REACT_SUSPENSE_RESOLVED_EVENT:"",REACT_SUSPENSE_RESOLVED_EVENT_HOVER:"",REACT_SUSPENSE_UNRESOLVED_EVENT:"",REACT_SUSPENSE_UNRESOLVED_EVENT_HOVER:"",REACT_THROWN_ERROR:"",REACT_THROWN_ERROR_HOVER:"",REACT_WORK_BORDER:"",SCROLL_CARET:"",SCRUBBER_BACKGROUND:"",SCRUBBER_BORDER:"",SEARCH_RESULT_FILL:"",TEXT_COLOR:"",TEXT_DIM_COLOR:"",TIME_MARKER_LABEL:"",WARNING_BACKGROUND:"",WARNING_BACKGROUND_HOVER:"",WARNING_TEXT:"",WARNING_TEXT_INVERED:""};var tf=a(894),af=a.n(tf);function nf(e,r){if(e.length!==r.length)return!1;for(var t=0;t<e.length;t++)if(e[t]!==r[t])return!1;return!0}const of=function(e,r){var t;void 0===r&&(r=nf);var a,n=[],i=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return i&&t===this&&r(o,n)||(a=e.apply(this,o),i=!0,t=this,n=o),a}},sf=Object.freeze({x:0,y:0}),lf=Object.freeze({width:0,height:0}),uf=Object.freeze({origin:sf,size:lf});function cf(e,r){return n=e.origin,i=r.origin,n.x===i.x&&n.y===i.y&&(t=e.size,a=r.size,t.width===a.width&&t.height===a.height);var t,a,n,i}function ff({width:e,height:r}){return e>=0&&r>=0}function vf(e){return[e.origin.y,e.origin.x+e.size.width,e.origin.y+e.size.height,e.origin.x]}function df(e){const[r,t,a,n]=e;return{origin:{x:n,y:r},size:{width:t-n,height:a-r}}}function hf(e,r){if(0===e.size.width||0===e.size.height||0===r.size.width||0===r.size.height)return!1;const[t,a,n,i]=vf(e),[o,s,l,u]=vf(r);return!(a<u||s<i||n<o||l<t)}function _f(e,r){const[t,a,n,i]=vf(e),[o,s,l,u]=vf(r);return df([Math.max(t,o),Math.min(a,s),Math.min(n,l),Math.max(i,u)])}function mf({x:e,y:r},t){const[a,n,i,o]=vf(t);return o<=e&&e<=n&&a<=r&&r<=i}const pf=of(((e,r,t,a=!0)=>{const n=e.getContext("2d",{alpha:!1});return a&&(function(e,r,t){e.width=t*Qc,e.height=r*Qc,e.style.width=`${t}px`,e.style.height=`${r}px`}(e,r,t),n.scale(Qc,Qc)),n}));class Sf{constructor(e){!function(e,r,t){r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t}(this,"_viewRefs",{activeView:null,hoveredView:null}),this._resetHoveredEvent=e}hasActiveView(){return null!==this._viewRefs.activeView}setCanvas(e,r){this._context=pf(e,r.height,r.width),this._canvasSize=r,this.rootView&&this.rootView.setNeedsDisplay()}displayIfNeeded(){const{rootView:e,_canvasSize:r,_context:t}=this;e&&t&&r&&(e.setFrame({origin:sf,size:r}),e.setVisibleArea({origin:sf,size:r}),e.displayIfNeeded(t,this._viewRefs))}getCurrentCursor(){const{activeView:e,hoveredView:r}=this._viewRefs;return null!==e?e.currentCursor:null!==r?r.currentCursor:null}handleInteraction(e){const r=this.rootView;if(null!=r){const t=this._viewRefs;switch(e.type){case"mousemove":case"wheel-control":case"wheel-meta":case"wheel-plain":case"wheel-shift":const a=t.hoveredView;t.hoveredView=null,r.handleInteractionAndPropagateToSubviews(e,t),null!==a&&null===t.hoveredView&&this._resetHoveredEvent();break;default:r.handleInteractionAndPropagateToSubviews(e,t)}}}}function gf(e){return{view:e,frame:e.frame}}const bf=e=>e,wf=(e,r)=>e.map((e=>({...e,frame:r}))),Ef=(e,r)=>{let t=r.origin.y;return e.map((e=>{const a=e.view.desiredSize(),n=a?a.height:r.origin.y+r.size.height-t,i={origin:{x:r.origin.x,y:t},size:{width:r.size.width,height:n}};return t+=n,{...e,frame:i}}))};function yf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class kf{constructor(e,r,t=bf,a=r,n=null){yf(this,"currentCursor",null),yf(this,"subviews",[]),yf(this,"_needsDisplay",!0),yf(this,"_subviewsNeedDisplay",!1),this._backgroundColor=n||null,this.surface=e,this.frame=r,this._layouter=t,this.visibleArea=a}setNeedsDisplay(){this._needsDisplay=!0,this.superview&&this.superview._setSubviewsNeedDisplay(),this.subviews.forEach((e=>e.setNeedsDisplay()))}_setSubviewsNeedDisplay(){this._subviewsNeedDisplay=!0,this.superview&&this.superview._setSubviewsNeedDisplay()}setFrame(e){cf(this.frame,e)||(this.frame=e,ff(e.size)?this.frame=e:this.frame=uf,this.setNeedsDisplay())}setVisibleArea(e){cf(this.visibleArea,e)||(ff(e.size)?this.visibleArea=e:this.visibleArea=uf,this.setNeedsDisplay())}desiredSize(){return this._needsDisplay&&this.layoutSubviews(),function(...e){if(0===e.length)return uf;const[r,...t]=e;return df(t.map(vf).reduce(((e,r)=>{const[t,a,n,i]=e,[o,s,l,u]=r;return[Math.min(t,o),Math.max(a,s),Math.max(n,l),Math.min(i,u)]}),vf(r)))}(...this.subviews.map((e=>e.frame))).size}addSubview(e){this.subviews.includes(e)||(this.subviews.push(e),e.superview=this)}removeSubview(e){const r=this.subviews.indexOf(e);-1!==r&&(e.superview=void 0,this.subviews.splice(r,1))}removeAllSubviews(){this.subviews.forEach((e=>e.superview=void 0)),this.subviews=[]}displayIfNeeded(e,r){if((this._needsDisplay||this._subviewsNeedDisplay)&&hf(this.frame,this.visibleArea)&&!function({width:e,height:r}){return e<=0||r<=0}(this.visibleArea.size)){this.layoutSubviews(),this._needsDisplay&&(this._needsDisplay=!1),this._subviewsNeedDisplay&&(this._subviewsNeedDisplay=!1);const t=this.visibleArea,a=new Path2D;a.rect(t.origin.x,t.origin.y,t.size.width,t.size.height),e.save(),e.clip(a),e.beginPath(),this.draw(e,r),e.restore()}}layoutSubviews(){const{frame:e,_layouter:r,subviews:t,visibleArea:a}=this;r(t.map(gf),e).forEach((({view:e,frame:r})=>e.setFrame(r))),t.forEach(((e,r)=>{hf(a,e.frame)?e.setVisibleArea(_f(a,e.frame)):e.setVisibleArea(uf)}))}draw(e,r){const{subviews:t,visibleArea:a}=this;t.forEach((t=>{hf(a,t.visibleArea)&&t.displayIfNeeded(e,r)}));const n=this._backgroundColor;if(null!==n){const r=this.desiredSize();a.size.height>r.height&&(e.fillStyle=n,e.fillRect(a.origin.x,a.origin.y+r.height,a.size.width,a.size.height-r.height))}}handleInteraction(e,r){}handleInteractionAndPropagateToSubviews(e,r){const{subviews:t,visibleArea:a}=this;if(0===a.size.height)return!1;for(let n=t.length-1;n>=0;n--){const i=t[n];if(hf(a,i.visibleArea)&&!0===i.handleInteractionAndPropagateToSubviews(e,r))return!0}return!(!0!==this.handleInteraction(e,r))}}class Cf extends kf{draw(e){const{visibleArea:r}=this;e.fillStyle=rf.BACKGROUND,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}function Af(e,r,t){if(Number.isNaN(e)||Number.isNaN(r)||Number.isNaN(t))throw new Error(`Clamp was called with NaN. Args: min: ${e}, max: ${r}, value: ${t}.`);return Math.min(r,Math.max(e,t))}function Mf(e,r){return{offset:Af(-(e.length-r),0,e.offset),length:e.length}}function Df({state:e,minContentLength:r,maxContentLength:t,containerLength:a}){return{offset:e.offset,length:Af(Math.max(r,a),Math.max(a,t),e.length)}}function Hf({state:e,minContentLength:r,maxContentLength:t,containerLength:a}){return Mf(Df({state:e,minContentLength:r,maxContentLength:t,containerLength:a}),a)}function xf({state:e,delta:r,containerLength:t}){return Mf({offset:e.offset+r,length:e.length},t)}function Tf({state:e,rangeStart:r,rangeEnd:t,contentLength:a,minContentLength:n,maxContentLength:i,containerLength:o}){const s=Df({state:{offset:e.offset,length:a*(o/(t-r))},minContentLength:n,maxContentLength:i,containerLength:o});return Mf({offset:-r*(s.length/a),length:s.length},o)}function Nf(e,r){return e.offset===r.offset&&e.length===r.length}const Rf=.25,Of=1e3;class If extends kf{constructor(e,r,t,a,n){super(e,r),function(e,r,t){r in e?Object.defineProperty(e,r,{value:false,enumerable:!0,configurable:!0,writable:!0}):e[r]=false}(this,"_isPanning"),this._contentView=t,this._intrinsicContentWidth=a,this._viewState=n,n.onHorizontalScrollStateChange((e=>{this.zoomToRange(e.offset,e.length)})),this.addSubview(t)}setScrollState(e){Nf(Hf({state:e,minContentLength:this._intrinsicContentWidth*Rf,maxContentLength:this._intrinsicContentWidth*Of,containerLength:this.frame.size.width}),this._viewState.horizontalScrollState)||this.setNeedsDisplay()}zoomToRange(e,r){const t=Tf({state:this._viewState.horizontalScrollState,rangeStart:e,rangeEnd:r,contentLength:this._intrinsicContentWidth,minContentLength:this._intrinsicContentWidth*Rf,maxContentLength:this._intrinsicContentWidth*Of,containerLength:this.frame.size.width});this.setScrollState(t)}desiredSize(){return this._contentView.desiredSize()}layoutSubviews(){const{offset:e,length:r}=this._viewState.horizontalScrollState,t={origin:{x:this.frame.origin.x+e,y:this.frame.origin.y},size:{width:r,height:this.frame.size.height}};this._contentView.setFrame(t),super.layoutSubviews()}handleInteraction(e,r){switch(e.type){case"mousedown":this._handleMouseDown(e,r);break;case"mousemove":this._handleMouseMove(e,r);break;case"mouseup":this._handleMouseUp(e,r);break;case"wheel-plain":case"wheel-shift":this._handleWheel(e)}}_handleMouseDown(e,r){mf(e.payload.location,this.frame)&&(this._isPanning=!0,r.activeView=this,this.currentCursor="grabbing")}_handleMouseMove(e,r){const t=mf(e.payload.location,this.frame);if(t&&null===r.hoveredView&&(r.hoveredView=this),r.activeView===this?this.currentCursor="grabbing":t&&(this.currentCursor="grab"),!this._isPanning)return;const{movementX:a,movementY:n}=e.payload.event;if(Math.abs(a)<Math.abs(n))return;const i=xf({state:this._viewState.horizontalScrollState,delta:a,containerLength:this.frame.size.width});this._viewState.updateHorizontalScrollState(i)}_handleMouseUp(e,r){this._isPanning&&(this._isPanning=!1),r.activeView===this&&(r.activeView=null)}_handleWheel(e){const{location:r,delta:{deltaX:t,deltaY:a}}=e.payload;if(!mf(r,this.frame))return;const n=Math.abs(t),i=Math.abs(a);if(i>n){if(i<1)return;if("wheel-shift"===e.type)return;const t=function({state:e,multiplier:r,fixedPoint:t,minContentLength:a,maxContentLength:n,containerLength:i}){const o=Df({state:{offset:e.offset,length:e.length*r},minContentLength:a,maxContentLength:n,containerLength:i});return Mf({offset:t+e.offset-t*(o.length/e.length),length:o.length},i)}({state:this._viewState.horizontalScrollState,multiplier:1+.005*-a,fixedPoint:r.x-this._viewState.horizontalScrollState.offset,minContentLength:this._intrinsicContentWidth*Rf,maxContentLength:this._intrinsicContentWidth*Of,containerLength:this.frame.size.width});this._viewState.updateHorizontalScrollState(t)}else{if(n<1)return;const e=xf({state:this._viewState.horizontalScrollState,delta:-t,containerLength:this.frame.size.width});this._viewState.updateHorizontalScrollState(e)}}}class Ff extends kf{constructor(e,r,t,a,n){super(e,r),this._contentView=t,this._isPanning=!1,this._mutableViewStateKey=n+":VerticalScrollView",this._onChangeCallback=null,this._scrollState={offset:0,length:0},this._viewState=a,this.addSubview(t),this._restoreMutableViewState()}setFrame(e){super.setFrame(e),this._setScrollState(this._scrollState)}desiredSize(){return this._contentView.desiredSize()}draw(e,r){if(super.draw(e,r),this.frame.size.height>15){const r=this._scrollState.offset,t=this._contentView.desiredSize(),a=r,n=this.frame.size.height-t.height-r;if(a<0||n<0){const{visibleArea:r}=this,{x:t,y:i}=r.origin,{width:o,height:s}=r.size,l=t+o/2,u=5,c=l+u,f=l-u;if(a<0){const r=i+3;e.beginPath(),e.moveTo(l,r),e.lineTo(c,r+3),e.lineTo(f,r+3),e.closePath(),e.fillStyle=rf.SCROLL_CARET,e.fill()}if(n<0){const r=i+s-3;e.beginPath(),e.moveTo(l,r),e.lineTo(c,r-3),e.lineTo(f,r-3),e.closePath(),e.fillStyle=rf.SCROLL_CARET,e.fill()}}}}layoutSubviews(){const{offset:e}=this._scrollState,r=this._contentView.desiredSize(),t=this.frame.size.height,a=r?r.height:0,n=Math.max(a,t),i={origin:{x:this.frame.origin.x,y:this.frame.origin.y+e},size:{width:this.frame.size.width,height:n}};this._contentView.setFrame(i),super.layoutSubviews()}handleInteraction(e){switch(e.type){case"mousedown":return this._handleMouseDown(e);case"mousemove":return this._handleMouseMove(e);case"mouseup":return this._handleMouseUp(e);case"wheel-shift":return this._handleWheelShift(e)}}onChange(e){this._onChangeCallback=e}scrollBy(e){const r=xf({state:this._scrollState,delta:-e,containerLength:this.frame.size.height});return this._setScrollState(r)}_handleMouseDown(e){mf(e.payload.location,this.frame)&&this.frame.size.height<this._contentView.desiredSize().height&&(this._isPanning=!0)}_handleMouseMove(e){if(!this._isPanning)return;const{movementX:r,movementY:t}=e.payload.event;if(Math.abs(r)>Math.abs(t))return;const a=xf({state:this._scrollState,delta:e.payload.event.movementY,containerLength:this.frame.size.height});return this._setScrollState(a),!0}_handleMouseUp(e){this._isPanning&&(this._isPanning=!1)}_handleWheelShift(e){const{location:r,delta:{deltaX:t,deltaY:a}}=e.payload;if(!mf(r,this.frame))return!1;const n=Math.abs(t),i=Math.abs(a);return!(n>i)&&!(i<1)&&this.scrollBy(a)}_restoreMutableViewState(){this._viewState.viewToMutableViewStateMap.has(this._mutableViewStateKey)?this._scrollState=this._viewState.viewToMutableViewStateMap.get(this._mutableViewStateKey):this._viewState.viewToMutableViewStateMap.set(this._mutableViewStateKey,this._scrollState),this.setNeedsDisplay()}_setScrollState(e){const r=this._contentView.frame.size.height,t=this.frame.size.height,a=Hf({state:e,minContentLength:r,maxContentLength:r,containerLength:t});return Nf(a,this._scrollState)?r!==t:(this._scrollState.offset=a.offset,this._scrollState.length=a.length,this.setNeedsDisplay(),null!==this._onChangeCallback&&this._onChangeCallback(a,this.frame.size.height),!0)}}const Lf=new Map;function Pf(e,r){let t=Lf.get(r);return null==t&&(t=e.measureText(r).width,Lf.set(r,t)),t}function zf(e,r,t,a,n){const{fillStyle:i=rf.TEXT_COLOR,fontSize:o=Zc,textAlign:s="left"}=n||{};if(t.size.width>6){r.textAlign=s,r.textBaseline="middle",r.font=`${o}px sans-serif`;const{x:n,y:l}=t.origin,u=function(e,r,t){const a=r.length-1;let n=0,i=a,o=0,s=null;for(;n<=i;){const l=Math.floor((n+i)/2),u=l===a?r:r.slice(0,l)+"…";Pf(e,u)<=t?(o<l&&(o=l,s=u),n=l+1):i=l-1}return s}(r,e,t.size.width-6+(n<0?n:0));if(null!==u){r.fillStyle=i;const e=!cf(a,t);let o;e&&(r.save(),r.beginPath(),r.rect(a.origin.x,a.origin.y,a.size.width,a.size.height),r.closePath(),r.clip()),o="center"===s?n+t.size.width/2+3-(n<0?n:0):n+3-(n<0?n:0);const c=l+t.size.height/2;r.fillText(u,o,c),e&&r.restore()}}}function Bf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class Vf extends kf{constructor(e,r,t){super(e,r,bf),Bf(this,"_interactionState","normal"),Bf(this,"showLabel",!1),this._label=t}desiredSize(){return this.showLabel?{height:16,width:0}:{height:8,width:0}}draw(e,r){const{frame:t}=this,{x:a,y:n}=t.origin,{width:i,height:o}=t.size,s="dragging"===this._interactionState||"hovered"===this._interactionState&&null===r.activeView;e.fillStyle=s?rf.REACT_RESIZE_BAR_ACTIVE:rf.REACT_RESIZE_BAR,e.fillRect(a,n,i,o),e.fillStyle=rf.REACT_RESIZE_BAR_BORDER,e.fillRect(a,n,i,Jc),e.fillRect(a,n+o-Jc,i,Jc);const l=a+i/2,u=n+o/2;if(this.showLabel){const r={origin:{x:0,y:n+o-16},size:{width:t.size.width,height:16}};zf(this._label,e,r,t,{fillStyle:rf.REACT_RESIZE_BAR_DOT,textAlign:"center"})}else e.beginPath(),e.fillStyle=rf.REACT_RESIZE_BAR_DOT,e.arc(l,u,1,0,2*Math.PI),e.arc(l+4,u,1,0,2*Math.PI),e.arc(l-4,u,1,0,2*Math.PI),e.fill()}_setInteractionState(e){this._interactionState!==e&&(this._interactionState=e,this.setNeedsDisplay())}_handleMouseDown(e,r){mf(e.payload.location,this.frame)&&(this._setInteractionState("dragging"),r.activeView=this)}_handleMouseMove(e,r){const t=mf(e.payload.location,this.frame);r.activeView===this?this.currentCursor="ns-resize":t&&(this.showLabel?this.currentCursor="pointer":this.currentCursor="ns-resize"),t&&(r.hoveredView=this),"dragging"!==this._interactionState&&this._setInteractionState(t?"hovered":"normal")}_handleMouseUp(e,r){const t=mf(e.payload.location,this.frame);"dragging"===this._interactionState&&this._setInteractionState(t?"hovered":"normal"),r.activeView===this&&(r.activeView=null)}handleInteraction(e,r){switch(e.type){case"mousedown":this._handleMouseDown(e,r);break;case"mousemove":this._handleMouseMove(e,r);break;case"mouseup":this._handleMouseUp(e,r)}}}const Uf={origin:{x:0,y:0},size:{width:0,height:0}};class Wf extends kf{constructor(e,r,t,a,n,i){super(e,r,bf),function(e,r,t){r in e?Object.defineProperty(e,r,{value:null,enumerable:!0,configurable:!0,writable:!0}):e[r]=null}(this,"_resizingState"),this._canvasRef=n,this._layoutState={barOffsetY:0},this._mutableViewStateKey=i+":ResizableView",this._subview=t,this._resizeBar=new Vf(e,r,i),this._viewState=a,this.addSubview(this._subview),this.addSubview(this._resizeBar),this._restoreMutableViewState()}desiredSize(){const e=this._subview.desiredSize();if(this._shouldRenderResizeBar()){const e=this._resizeBar.desiredSize();return{width:this.frame.size.width,height:this._layoutState.barOffsetY+e.height}}return{width:this.frame.size.width,height:e.height}}layoutSubviews(){this._updateLayoutState(),this._updateSubviewFrames(),super.layoutSubviews()}_restoreMutableViewState(){if(this._viewState.viewToMutableViewStateMap.has(this._mutableViewStateKey))this._layoutState=this._viewState.viewToMutableViewStateMap.get(this._mutableViewStateKey),this._updateLayoutStateAndResizeBar(this._layoutState.barOffsetY);else{this._viewState.viewToMutableViewStateMap.set(this._mutableViewStateKey,this._layoutState);const e=this._subview.desiredSize();this._updateLayoutStateAndResizeBar(null!=e.maxInitialHeight?Math.min(e.maxInitialHeight,e.height):e.height)}this.setNeedsDisplay()}_shouldRenderResizeBar(){const e=this._subview.desiredSize();return null==e.hideScrollBarIfLessThanHeight||e.height>e.hideScrollBarIfLessThanHeight}_updateLayoutStateAndResizeBar(e){e<=8&&(e=0),this._layoutState.barOffsetY=e,this._resizeBar.showLabel=0===e}_updateLayoutState(){const{frame:e,_resizingState:r}=this,t=this._subview.desiredSize().height;let a=this._layoutState.barOffsetY;if(r){const{mouseY:t,cursorOffsetInBarFrame:n}=r;a=t-e.origin.y-n}this._updateLayoutStateAndResizeBar(Af(0,t,a))}_updateSubviewFrames(){const{frame:{origin:{x:e,y:r},size:{width:t}},_layoutState:{barOffsetY:a}}=this,n=this._resizeBar.desiredSize();0===a?this._subview.setFrame(Uf):this._subview.setFrame({origin:{x:e,y:r},size:{width:t,height:a}}),this._resizeBar.setFrame({origin:{x:e,y:r+a},size:{width:t,height:n.height}})}_handleClick(e){if(this._shouldRenderResizeBar()&&mf(e.payload.location,this.frame)&&0===this._layoutState.barOffsetY){const e=this._subview.desiredSize();return this._updateLayoutStateAndResizeBar(e.height),this.setNeedsDisplay(),!0}}_handleDoubleClick(e){if(this._shouldRenderResizeBar())return mf(e.payload.location,this.frame)&&this._layoutState.barOffsetY>0?(this._updateLayoutStateAndResizeBar(0),this.setNeedsDisplay(),!0):void 0}_handleMouseDown(e){const r=e.payload.location,t=this._resizeBar.frame;if(mf(r,t)){const e=r.y;return this._resizingState={cursorOffsetInBarFrame:e-t.origin.y,mouseY:e},!0}}_handleMouseMove(e){const{_resizingState:r}=this;if(r)return this._resizingState={...r,mouseY:e.payload.location.y},this.setNeedsDisplay(),!0}_handleMouseUp(e){this._resizingState&&(this._resizingState=null)}getCursorActiveSubView(e){return mf(e.payload.location,this._resizeBar.frame)?this:null}handleInteraction(e,r){switch(e.type){case"click":return this._handleClick(e);case"double-click":return this._handleDoubleClick(e);case"mousedown":return this._handleMouseDown(e);case"mousemove":return this._handleMouseMove(e);case"mouseup":return this._handleMouseUp(e)}}}const $f=40,jf=800;let Xf=null;const Kf=(e,r)=>{const[t,a]=e,n=t.view.desiredSize().height>r.size.height?a.view.desiredSize().width:0,i={...t,frame:{origin:t.view.frame.origin,size:{width:r.size.width-n,height:r.size.height}}};return[i,{...a,frame:{origin:{x:i.frame.origin.x+i.frame.size.width,y:r.origin.y},size:{width:n,height:r.size.height}}}]};function Gf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class Yf extends kf{constructor(e,r,t,a){super(e,r,Kf),Gf(this,"_isProcessingOnChange",!1),Gf(this,"_isScrolling",!1),Gf(this,"_scrollOffset",0),Gf(this,"_onVerticalScrollViewChange",((e,r)=>{const t=e.length-r;if(0===t)return;const a=Math.abs(e.offset)/t,n=this._scrollBarView.getMaxScrollThumbY();this._isProcessingOnChange=!0,this._scrollBarView.setScrollThumbY(a*n),this._isProcessingOnChange=!1})),this._contentView=t,this._verticalScrollView=new Ff(e,r,t,a,"VerticalScrollOverflowView"),this._verticalScrollView.onChange(this._onVerticalScrollViewChange),this._scrollBarView=new Zf(e,r,this),this.addSubview(this._verticalScrollView),this.addSubview(this._scrollBarView)}layoutSubviews(){super.layoutSubviews();const e=this._contentView.desiredSize();this._scrollBarView.setContentHeight(e.height)}setScrollOffset(e,r){const t=e-this._scrollOffset;this._isProcessingOnChange||this._verticalScrollView.scrollBy(-t),this._scrollOffset=e,this.setNeedsDisplay()}}function qf(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const Qf={origin:{x:0,y:0},size:{width:0,height:0}};class Zf extends kf{constructor(e,r,t){super(e,r),qf(this,"_contentHeight",0),qf(this,"_isScrolling",!1),qf(this,"_scrollBarRect",Qf),qf(this,"_scrollThumbRect",Qf),this._verticalScrollOverflowView=t}desiredSize(){return{width:14,height:0}}getMaxScrollThumbY(){const{height:e}=this.frame.size;return e-this._scrollThumbRect.size.height}setContentHeight(e){this._contentHeight=e;const{height:r,width:t}=this.frame.size,a={origin:{x:this.frame.origin.x,y:this._scrollThumbRect.origin.y},size:{width:t,height:r*(r/e)}};cf(this._scrollThumbRect,a)||(this._scrollThumbRect=a,this.setNeedsDisplay())}setScrollThumbY(e){const{height:r}=this.frame.size,t=this.getMaxScrollThumbY(),a=Math.max(0,Math.min(t,e));this._scrollThumbRect={...this._scrollThumbRect,origin:{x:this.frame.origin.x,y:a}};const n=a/t*(this._contentHeight-r)*-1;this._verticalScrollOverflowView.setScrollOffset(n,t)}draw(e,r){const{x:t,y:a}=this.frame.origin,{width:n,height:i}=this.frame.size;e.fillStyle=rf.REACT_RESIZE_BAR,e.fillRect(t,a,n,i),e.fillStyle=rf.SCROLL_CARET,e.fillRect(this._scrollThumbRect.origin.x,this._scrollThumbRect.origin.y,this._scrollThumbRect.size.width,this._scrollThumbRect.size.height),e.fillStyle=rf.REACT_RESIZE_BAR_BORDER,e.fillRect(t,a,Jc,i)}handleInteraction(e,r){switch(e.type){case"click":this._handleClick(e,r);break;case"mousedown":this._handleMouseDown(e,r);break;case"mousemove":this._handleMouseMove(e,r);break;case"mouseup":this._handleMouseUp(e,r)}}_handleClick(e,r){const{location:t}=e.payload;if(mf(t,this.frame)){if(mf(t,this._scrollThumbRect))return;const e=this._scrollThumbRect.origin.y,r=t.y,{height:a}=this.frame.size,n=a/this._contentHeight*a*.8;this.setScrollThumbY(r>e?this._scrollThumbRect.origin.y+n:this._scrollThumbRect.origin.y-n)}}_handleMouseDown(e,r){const{location:t}=e.payload;mf(t,this._scrollThumbRect)&&(r.activeView=this,this.currentCursor="default",this._isScrolling=!0,this.setNeedsDisplay())}_handleMouseMove(e,r){const{event:t,location:a}=e.payload;mf(a,this.frame)&&(r.hoveredView!==this&&(r.hoveredView=this),this.currentCursor="default"),r.activeView===this&&(this.currentCursor="default",this.setScrollThumbY(this._scrollThumbRect.origin.y+t.movementY))}_handleMouseUp(e,r){r.activeView===this&&(r.activeView=null),this._isScrolling&&(this._isScrolling=!1,this.setNeedsDisplay())}}function Jf(e,r){return r.size.width/e}function ev(e,r,t){return t.origin.x+e*r}function rv(e,r,t){return(e-t.origin.x)/r}function tv(e,r){return e*r}function av(e,r){return e/r}function nv(e){return e.toLocaleString(void 0,{minimumFractionDigits:1,maximumFractionDigits:1})+"ms"}function iv(e){return af()(e,{millisecondsDecimalDigits:1})}function ov(e,r){return e.length>r?`${e.slice(0,r-1)}…`:e}function sv(e){switch(e.type){case"schedule-render":return"render scheduled";case"schedule-state-update":return"state update scheduled";case"schedule-force-update":return"force update scheduled";default:return null}}function lv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const uv=14+Jc;class cv extends kf{constructor(e,r,t,a){super(e,r),lv(this,"_cachedSearchRegExp",null),lv(this,"_hoveredComponentMeasure",null),lv(this,"onHover",null),this._profilerData=t,this._viewState=a,this._cachedSearchMatches=new Map,this._cachedSearchRegExp=null,a.onSearchRegExpStateChange((()=>{this.setNeedsDisplay()})),this._intrinsicSize={width:t.duration,height:uv}}desiredSize(){return this._intrinsicSize}setHoveredEvent(e){this._hoveredComponentMeasure!==e&&(this._hoveredComponentMeasure=e,this.setNeedsDisplay())}_drawSingleReactComponentMeasure(e,r,t,a,n){const{frame:i}=this,{componentName:o,duration:s,timestamp:l,type:u,warning:c}=t,f=ev(l,a,i),v=ev(l+s,a,i),d={origin:{x:f,y:i.origin.y},size:{width:v-f,height:14}};if(!hf(d,r))return!1;if(tv(s,a)<1)return!1;let h=null,_=null;const m=_f(d,r);if(e.beginPath(),null!==c)e.fillStyle=n?rf.WARNING_BACKGROUND_HOVER:rf.WARNING_BACKGROUND;else switch(u){case"render":e.fillStyle=n?rf.REACT_RENDER_HOVER:rf.REACT_RENDER,h=rf.REACT_RENDER_TEXT,_="rendered";break;case"layout-effect-mount":e.fillStyle=n?rf.REACT_LAYOUT_EFFECTS_HOVER:rf.REACT_LAYOUT_EFFECTS,h=rf.REACT_LAYOUT_EFFECTS_TEXT,_="mounted layout effect";break;case"layout-effect-unmount":e.fillStyle=n?rf.REACT_LAYOUT_EFFECTS_HOVER:rf.REACT_LAYOUT_EFFECTS,h=rf.REACT_LAYOUT_EFFECTS_TEXT,_="unmounted layout effect";break;case"passive-effect-mount":e.fillStyle=n?rf.REACT_PASSIVE_EFFECTS_HOVER:rf.REACT_PASSIVE_EFFECTS,h=rf.REACT_PASSIVE_EFFECTS_TEXT,_="mounted passive effect";break;case"passive-effect-unmount":e.fillStyle=n?rf.REACT_PASSIVE_EFFECTS_HOVER:rf.REACT_PASSIVE_EFFECTS,h=rf.REACT_PASSIVE_EFFECTS_TEXT,_="unmounted passive effect"}let p=!1;const S=this._cachedSearchRegExp;if(null!==S){const e=this._cachedSearchMatches,r=e.get(o);null!=r?p=r:(p=null!==o.match(S),e.set(o,p))}return p&&(e.fillStyle=rf.SEARCH_RESULT_FILL),e.fillRect(m.origin.x,m.origin.y,m.size.width,m.size.height),zf(`${o} ${_} - ${iv(s)}`,e,d,m,{fillStyle:h}),!0}draw(e){const{frame:r,_profilerData:{componentMeasures:t},_hoveredComponentMeasure:a,visibleArea:n}=this,i=this._viewState.searchRegExp;this._cachedSearchRegExp!==i&&(this._cachedSearchMatches=new Map,this._cachedSearchRegExp=i),e.fillStyle=rf.BACKGROUND,e.fillRect(n.origin.x,n.origin.y,n.size.width,n.size.height);const o=Jf(this._intrinsicSize.width,r);let s=!1;t.forEach((r=>{s=this._drawSingleReactComponentMeasure(e,n,r,o,r===a)||s})),s||zf("(zoom or pan to see React components)",e,n,n,{fillStyle:rf.TEXT_DIM_COLOR,textAlign:"center"}),e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(n.origin.x,n.origin.y+uv-Jc,n.size.width,Jc)}_handleMouseMove(e,r){const{frame:t,_intrinsicSize:a,onHover:n,visibleArea:i}=this;if(!n)return;const{location:o}=e.payload;if(!mf(o,i))return void n(null);const s=Jf(a.width,t),l=rv(o.x,s,t),u=this._profilerData.componentMeasures;for(let e=u.length-1;e>=0;e--){const t=u[e],{duration:a,timestamp:i}=t;if(l>=i&&l<=i+a)return this.currentCursor="context-menu",r.hoveredView=this,void n(t)}n(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}function fv(e,r){const{locationColumn:t,locationLine:a,scriptUrl:n}=r;if(null==n||null==t||null==a)return!1;if(n.includes("/react-devtools")||n.includes("/react_devtools")||n.includes(d.GC)||n.includes(d.N2)||n.includes(d.nL))return!0;const i=e.get(n);if(null!=i)for(let e=0;e<i.length;e++){const[r,n]=i[e],o=a>r.lineNumber||a===r.lineNumber&&t>=r.columnNumber,s=a<n.lineNumber||a===n.lineNumber&&t<=n.columnNumber;if(o&&s)return!0}return!1}function vv({h:e,s:r,l:t,a}){return`hsl(${e}deg ${r}% ${t}% / ${a})`}function dv(e,r){if("number"==typeof r)return r;const t=r.count||r.max-r.min;return e%=t,r.min+Math.floor(e/(t-1)*(r.max-r.min))}function hv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const _v=new class{constructor(e,r,t,a){this._hueSpace=e||{min:0,max:360},this._satSpace=r||67,this._lightnessSpace=t||80,this._alphaSpace=a||1,this._colors=new Map}setColorForID(e,r){this._colors.set(e,r)}colorForID(e){const r=this._colors.get(e);if(r)return r;const t=this._generateColorForID(e);return this._colors.set(e,t),t}_generateColorForID(e){const r=function(e){const r=4294967291;let t=0,a=1;for(let n=0;n<e.length;n++)t=(t+a*(1506996573*e.charCodeAt(n)))%r,a=1345575271*a%r;return t=(t+a*(r-1))%r,Math.abs(0|t)}(e);return{h:dv(r,this._hueSpace),s:dv(r>>8,this._satSpace),l:dv(r>>16,this._lightnessSpace),a:dv(r>>24,this._alphaSpace)}}}({min:30,max:330},{min:50,max:80,count:3},85);function mv({scriptUrl:e}){return _v.colorForID(e??"")}function pv(e){return vv(mv(e))}function Sv(e){return vv((r=mv(e),{...r,l:r.l-5}));var r}_v.setColorForID("",{h:43.6,s:45.8,l:90.6,a:100});class gv extends kf{constructor(e,r,t,a,n){super(e,r),hv(this,"_hoveredStackFrame",null),hv(this,"_onHover",null),hv(this,"_didGrab",!1),this._stackLayer=t,this._stackFrameSet=new Set(t),this._internalModuleSourceToRanges=a,this._intrinsicSize={width:n,height:14}}desiredSize(){return this._intrinsicSize}setHoveredFlamechartStackFrame(e){if(this._hoveredStackFrame===e)return;const r=e&&this._stackFrameSet.has(e)?e:null;this._hoveredStackFrame!==r&&(this._hoveredStackFrame=r,this.setNeedsDisplay())}draw(e){const{frame:r,_stackLayer:t,_hoveredStackFrame:a,_intrinsicSize:n,visibleArea:i}=this;e.fillStyle=rf.PRIORITY_BACKGROUND,e.fillRect(i.origin.x,i.origin.y,i.size.width,i.size.height);const o=Jf(n.width,r);for(let n=0;n<t.length;n++){const s=t[n],{name:l,timestamp:u,duration:c}=s,f=tv(c,o);if(f<1)continue;const v={origin:{x:Math.floor(ev(u,o,r)),y:r.origin.y},size:{width:Math.floor(f-Jc),height:Math.floor(14-Jc)}};if(!hf(v,i))continue;const d=a===t[n];let h;fv(this._internalModuleSourceToRanges,s)?(e.fillStyle=d?rf.INTERNAL_MODULE_FRAME_HOVER:rf.INTERNAL_MODULE_FRAME,h=rf.INTERNAL_MODULE_FRAME_TEXT):(e.fillStyle=d?Sv(s):pv(s),h=rf.TEXT_COLOR);const _=_f(v,i);e.fillRect(_.origin.x,_.origin.y,_.size.width,_.size.height),zf(l,e,v,_,{fillStyle:h})}const s={origin:{x:r.origin.x,y:r.origin.y+14-Jc},size:{width:r.size.width,height:Jc}};if(hf(s,i)){const r=_f(s,i);e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}_handleMouseMove(e,r){const{_stackLayer:t,frame:a,_intrinsicSize:n,_onHover:i,visibleArea:o}=this,{location:s}=e.payload;if(!i||!mf(s,o))return;const l=Jf(n.width,a);let u=0,c=t.length-1;for(;u<=c;){const e=Math.floor((u+c)/2),n=t[e],{timestamp:o,duration:f}=n,v=Math.floor(ev(o,l,a)),d=tv(f,l);if(Math.floor(d-Jc)>=1&&v<=s.x&&v+d>=s.x)return this.currentCursor="context-menu",r.hoveredView=this,void i(n);v>s.x?c=e-1:u=e+1}i(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}class bv extends kf{constructor(e,r,t,a,n){super(e,r,wf),hv(this,"_flamechartRowViews",[]),hv(this,"_hoveredStackFrame",null),hv(this,"_onHover",null),this.setDataAndUpdateSubviews(t,a,n)}setDataAndUpdateSubviews(e,r,t){const{surface:a,frame:n,_onHover:i,_hoveredStackFrame:o}=this;this._verticalStackView&&(this.removeAllSubviews(),this._flamechartRowViews=[]),this._verticalStackView=new kf(a,n,Ef),this._flamechartRowViews=e.map((e=>{const s=new gv(a,n,e,r,t);return this._verticalStackView.addSubview(s),s._onHover=i,s.setHoveredFlamechartStackFrame(o),s})),this.addSubview(new Cf(a,n)),this.addSubview(this._verticalStackView)}setHoveredFlamechartStackFrame(e){this._hoveredStackFrame=e,this._flamechartRowViews.forEach((r=>r.setHoveredFlamechartStackFrame(e)))}setOnHover(e){this._onHover=e,this._flamechartRowViews.forEach((r=>r._onHover=e))}desiredSize(){return{...this._verticalStackView.desiredSize(),maxInitialHeight:0}}_handleMouseMove(e){const{_onHover:r,visibleArea:t}=this;if(!r)return;const{location:a}=e.payload;mf(a,t)||r(null)}handleInteraction(e){"mousemove"===e.type&&this._handleMouseMove(e)}}function wv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const Ev=14+Jc;class yv extends kf{constructor(e,r,t){super(e,r),wv(this,"_hoveredEvent",null),wv(this,"_maxDepth",0),wv(this,"onHover",null),this._profilerData=t,this._performPreflightComputations()}_performPreflightComputations(){this._depthToNativeEvent=new Map;const{duration:e,nativeEvents:r}=this._profilerData;r.forEach((e=>{const r=e.depth;this._maxDepth=Math.max(this._maxDepth,r),this._depthToNativeEvent.has(r)?this._depthToNativeEvent.get(r).push(e):this._depthToNativeEvent.set(r,[e])})),this._intrinsicSize={width:e,height:(this._maxDepth+1)*Ev,hideScrollBarIfLessThanHeight:Ev}}desiredSize(){return this._intrinsicSize}setHoveredEvent(e){this._hoveredEvent!==e&&(this._hoveredEvent=e,this.setNeedsDisplay())}_drawSingleNativeEvent(e,r,t,a,n,i){const{frame:o}=this,{depth:s,duration:l,timestamp:u,type:c,warning:f}=t;a+=s*Ev;const v=ev(u,n,o),d={origin:{x:v,y:a},size:{width:ev(u+l,n,o)-v,height:14}};if(!hf(d,r))return;if(tv(l,n)<1)return;const h=_f(d,r);e.beginPath(),e.fillStyle=null!==f?i?rf.WARNING_BACKGROUND_HOVER:rf.WARNING_BACKGROUND:i?rf.NATIVE_EVENT_HOVER:rf.NATIVE_EVENT,e.fillRect(h.origin.x,h.origin.y,h.size.width,h.size.height),zf(`${c} - ${iv(l)}`,e,d,h)}draw(e){const{frame:r,_profilerData:{nativeEvents:t},_hoveredEvent:a,visibleArea:n}=this;e.fillStyle=rf.PRIORITY_BACKGROUND,e.fillRect(n.origin.x,n.origin.y,n.size.width,n.size.height);const i=Jf(this._intrinsicSize.width,r);t.forEach((t=>{this._drawSingleNativeEvent(e,n,t,r.origin.y,i,t===a)}));for(let t=0;t<=this._maxDepth;t++){const t={origin:{x:r.origin.x,y:r.origin.y+14},size:{width:r.size.width,height:Jc}};if(hf(t,n)){const r=_f(t,n);e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}}_handleMouseMove(e,r){const{frame:t,_intrinsicSize:a,onHover:n,visibleArea:i}=this;if(!n)return;const{location:o}=e.payload;if(!mf(o,i))return void n(null);const s=Jf(a.width,t),l=rv(o.x,s,t),u=o.y-t.origin.y,c=Math.floor(u/Ev),f=this._depthToNativeEvent.get(c);if(f)for(let e=f.length-1;e>=0;e--){const t=f[e],{duration:a,timestamp:i}=t;if(l>=i&&l<=i+a)return r.hoveredView=this,void n(t)}n(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}function kv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const Cv=14+Jc,Av=/([^:]+:\/\/[^\/]+)/;class Mv extends kf{constructor(e,r,t){super(e,r),kv(this,"_hoveredNetworkMeasure",null),kv(this,"_maxDepth",0),kv(this,"onHover",null),this._profilerData=t,this._performPreflightComputations()}_performPreflightComputations(){this._depthToNetworkMeasure=new Map;const{duration:e,networkMeasures:r}=this._profilerData;r.forEach((e=>{const r=e.depth;this._maxDepth=Math.max(this._maxDepth,r),this._depthToNetworkMeasure.has(r)?this._depthToNetworkMeasure.get(r).push(e):this._depthToNetworkMeasure.set(r,[e])})),this._intrinsicSize={width:e,height:(this._maxDepth+1)*Cv,maxInitialHeight:0}}desiredSize(){return this._intrinsicSize}setHoveredEvent(e){this._hoveredNetworkMeasure!==e&&(this._hoveredNetworkMeasure=e,this.setNeedsDisplay())}_drawSingleNetworkMeasure(e,r,t,a,n){const{frame:i,visibleArea:o}=this,{depth:s,finishTimestamp:l,firstReceivedDataTimestamp:u,lastReceivedDataTimestamp:c,receiveResponseTimestamp:f,sendRequestTimestamp:v,url:d}=r,h=this._profilerData.duration,_=l||c||h,m=f||u||_,p=ev(v,a,i),S=ev(m,a,i),g=ev(_,a,i);if(tv(g-p,a)<1)return;const b={origin:{x:p,y:t+=s*Cv},size:{width:g-p,height:14}};if(!hf(b,o))return;let w={origin:{x:p,y:t},size:{width:g-p,height:14}};hf(w,o)&&(e.beginPath(),e.fillStyle=this._hoveredNetworkMeasure===r?rf.NETWORK_SECONDARY_HOVER:rf.NETWORK_SECONDARY,e.fillRect(w.origin.x,w.origin.y,w.size.width,w.size.height)),w={origin:{x:p+Jc,y:t+Jc},size:{width:S-p-Jc,height:14-2*Jc}},hf(w,o)&&(e.beginPath(),e.fillStyle=this._hoveredNetworkMeasure===r?rf.NETWORK_PRIMARY_HOVER:rf.NETWORK_PRIMARY,e.fillRect(w.origin.x,w.origin.y,w.size.width,w.size.height));const E=d.match(Av),y=null!==E?E[1]:d;zf((0!==l?`${iv(l-v)} - `:"")+y,e,b,o)}draw(e){const{frame:r,_profilerData:{networkMeasures:t},_hoveredNetworkMeasure:a,visibleArea:n}=this;e.fillStyle=rf.PRIORITY_BACKGROUND,e.fillRect(n.origin.x,n.origin.y,n.size.width,n.size.height);const i=Jf(this._intrinsicSize.width,r);t.forEach((t=>{this._drawSingleNetworkMeasure(e,t,r.origin.y,i,t===a)}));for(let t=0;t<=this._maxDepth;t++){const a={origin:{x:r.origin.x,y:r.origin.y+(t+1)*Cv-Jc},size:{width:r.size.width,height:Jc}};if(hf(a,n)){const r=_f(a,n);e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}}_handleMouseMove(e,r){const{frame:t,_intrinsicSize:a,onHover:n,visibleArea:i}=this;if(!n)return;const{location:o}=e.payload;if(!mf(o,i))return void n(null);const s=Jf(a.width,t),l=rv(o.x,s,t),u=o.y-t.origin.y,c=Math.floor(u/Cv),f=this._depthToNetworkMeasure.get(c),v=this._profilerData.duration;if(f)for(let e=f.length-1;e>=0;e--){const t=f[e],{finishTimestamp:a,lastReceivedDataTimestamp:i,sendRequestTimestamp:o}=t;if(l>=o&&l<=(a||i||v))return this.currentCursor="context-menu",r.hoveredView=this,void n(t)}r.hoveredView===this&&(r.hoveredView=null),n(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}function Dv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const Hv=14+Jc;class xv extends kf{constructor(e,r,t){super(e,r),Dv(this,"_hoveredMeasure",null),Dv(this,"onHover",null),this._profilerData=t,this._performPreflightComputations()}_performPreflightComputations(){this._lanesToRender=[];for(const[e,r]of this._profilerData.laneToReactMeasureMap)r.length>0&&this._lanesToRender.push(e);this._intrinsicSize={width:this._profilerData.duration,height:this._lanesToRender.length*Hv,hideScrollBarIfLessThanHeight:Hv,maxInitialHeight:5*Hv}}desiredSize(){return this._intrinsicSize}setHoveredMeasure(e){this._hoveredMeasure!==e&&(this._hoveredMeasure=e,this.setNeedsDisplay())}_drawSingleReactMeasure(e,r,t,a,n,i,o,s){const{frame:l,visibleArea:u}=this,{timestamp:c,type:f,duration:v}=t;let d=null,h=null,_=null,m=null;const p=tv(v,i);if(p<=0)return;const S=ev(c,i,l),g={origin:{x:S,y:n},size:{width:p,height:14}};if(!hf(g,r))return;const b=_f(g,r);let w=g;switch(f){case"commit":d=rf.REACT_COMMIT,h=rf.REACT_COMMIT_HOVER,_=rf.REACT_COMMIT_HOVER,m=rf.REACT_COMMIT_TEXT,null!=a&&a.timestamp<t.timestamp+t.duration&&(w={...g,size:{width:ev(a.timestamp,i,l)-S,height:14}});break;case"render-idle":d=rf.REACT_IDLE,h=rf.REACT_IDLE_HOVER,_=rf.REACT_IDLE_HOVER;break;case"render":d=rf.REACT_RENDER,h=rf.REACT_RENDER_HOVER,_=rf.REACT_RENDER_HOVER,m=rf.REACT_RENDER_TEXT;break;case"layout-effects":d=rf.REACT_LAYOUT_EFFECTS,h=rf.REACT_LAYOUT_EFFECTS_HOVER,_=rf.REACT_LAYOUT_EFFECTS_HOVER,m=rf.REACT_LAYOUT_EFFECTS_TEXT;break;case"passive-effects":d=rf.REACT_PASSIVE_EFFECTS,h=rf.REACT_PASSIVE_EFFECTS_HOVER,_=rf.REACT_PASSIVE_EFFECTS_HOVER,m=rf.REACT_PASSIVE_EFFECTS_TEXT;break;default:throw new Error(`Unexpected measure type "${f}"`)}e.fillStyle=s?h:o?_:d,e.fillRect(b.origin.x,b.origin.y,b.size.width,b.size.height),null!==m&&zf(iv(v),e,w,u,{fillStyle:m})}draw(e){const{frame:r,_hoveredMeasure:t,_lanesToRender:a,_profilerData:n,visibleArea:i}=this;e.fillStyle=rf.PRIORITY_BACKGROUND,e.fillRect(i.origin.x,i.origin.y,i.size.width,i.size.height);const o=Jf(this._intrinsicSize.width,r);for(let s=0;s<a.length;s++){const l=a[s],u=r.origin.y+s*Hv,c=n.laneToReactMeasureMap.get(l);if(!c)throw new Error("No measures found for a React lane! This is a bug in this profiler tool. Please file an issue.");const f=n.laneToLabelMap.get(l);null==f?console.warn(`Could not find label for lane ${l}.`):zf(f,e,{origin:{x:i.origin.x,y:u},size:{width:i.size.width,height:Hv}},i,{fillStyle:rf.TEXT_DIM_COLOR});for(let r=0;r<c.length;r++){const a=c[r],n=t===a,s=!!t&&t.batchUID===a.batchUID;this._drawSingleReactMeasure(e,i,a,c[r+1]||null,u,o,s,n)}const v={origin:{x:r.origin.x,y:r.origin.y+(s+1)*Hv-Jc},size:{width:r.size.width,height:Jc}};if(hf(v,i)){const r=_f(v,i);e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}}_handleMouseMove(e,r){const{frame:t,_intrinsicSize:a,_lanesToRender:n,onHover:i,_profilerData:o,visibleArea:s}=this;if(!i)return;const{location:l}=e.payload;if(!mf(l,s))return void i(null);const u=l.y-t.origin.y,c=Math.floor(u/Hv);if(c<0||c>=n.length)return void i(null);const f=n[c],v=Jf(a.width,t),d=rv(l.x,v,t),h=o.laneToReactMeasureMap.get(f);if(h){for(let e=h.length-1;e>=0;e--){const t=h[e],{duration:a,timestamp:n}=t;if(d>=n&&d<=n+a)return this.currentCursor="context-menu",r.hoveredView=this,void i(t)}i(null)}else i(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}function Tv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class Nv extends kf{constructor(e,r,t){super(e,r),Tv(this,"_hoveredEvent",null),Tv(this,"onHover",null),Tv(this,"onClick",null),this._profilerData=t,this._intrinsicSize={width:this._profilerData.duration,height:14}}desiredSize(){return this._intrinsicSize}setHoveredEvent(e){this._hoveredEvent!==e&&(this._hoveredEvent=e,this.setNeedsDisplay())}_drawSingleSchedulingEvent(e,r,t,a,n,i){const{frame:o}=this,{timestamp:s,type:l,warning:u}=t,c=ev(s,n,o),f={origin:{x:c-3,y:a},size:{width:6,height:6}};if(!hf(f,r))return;let v=null;if(null!==u)v=i?rf.WARNING_BACKGROUND_HOVER:rf.WARNING_BACKGROUND;else switch(l){case"schedule-render":case"schedule-state-update":case"schedule-force-update":v=i?rf.REACT_SCHEDULE_HOVER:rf.REACT_SCHEDULE}if(null!==v){const r=f.origin.y+3;e.beginPath(),e.fillStyle=v,e.arc(c,r,3,0,2*Math.PI),e.fill()}}draw(e){const{frame:r,_profilerData:{schedulingEvents:t},_hoveredEvent:a,visibleArea:n}=this;e.fillStyle=rf.BACKGROUND,e.fillRect(n.origin.x,n.origin.y,n.size.width,n.size.height);const i=r.origin.y+4,o=Jf(this._intrinsicSize.width,r),s=[];t.forEach((r=>{r!==a?this._drawSingleSchedulingEvent(e,n,r,i,o,!1):s.push(r)})),s.forEach((r=>{this._drawSingleSchedulingEvent(e,n,r,i,o,!0)}));const l={origin:{x:r.origin.x,y:r.origin.y+14-Jc},size:{width:r.size.width,height:Jc}};if(hf(l,n)){const r=_f(l,n);e.fillStyle=rf.REACT_WORK_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}_handleMouseMove(e,r){const{frame:t,onHover:a,visibleArea:n}=this;if(!a)return;const{location:i}=e.payload;if(!mf(i,n))return void a(null);const{_profilerData:{schedulingEvents:o}}=this,s=Jf(this._intrinsicSize.width,t),l=rv(i.x,s,t),u=av(3,s);for(let e=o.length-1;e>=0;e--){const t=o[e],{timestamp:n}=t;if(n-u<=l&&l<=n+u)return this.currentCursor="pointer",r.hoveredView=this,void a(t)}a(null)}_handleClick(e){const{onClick:r}=this;if(r){const{_profilerData:{schedulingEvents:e}}=this,t=e.findIndex((e=>e===this._hoveredEvent));r(this._hoveredEvent,t>=0?t:null)}}handleInteraction(e,r){switch(e.type){case"mousemove":this._handleMouseMove(e,r);break;case"click":this._handleClick(e)}}}function Rv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class Ov extends kf{constructor(e,r,t){super(e,r),Rv(this,"_hoverLocation",null),Rv(this,"onHover",null),this._intrinsicSize={width:t.duration,height:t.snapshotHeight},this._profilerData=t}desiredSize(){return this._intrinsicSize}draw(e){const r=this._profilerData.snapshotHeight,{visibleArea:t}=this;e.fillStyle=rf.BACKGROUND,e.fillRect(t.origin.x,t.origin.y,t.size.width,t.size.height);const a=t.origin.y;let n=t.origin.x;for(;n<t.origin.x+t.size.width;){const t=this._findClosestSnapshot(n);if(null===t)break;const i=r,o=t.width*r/t.height,s={origin:{x:n,y:a},size:{width:o,height:i}};if(null===t.image){const r=t.image=new Image;r.onload=()=>{this._drawSnapshotImage(e,t,s)},r.src=t.imageSource}else this._drawSnapshotImage(e,t,s);n+=o+Jc}const i=this._hoverLocation;if(null!==i){const r=3+2*Jc,a=r/2;e.fillStyle=rf.SCRUBBER_BORDER,e.fillRect(i.x-a,t.origin.y,r,t.size.height),e.fillStyle=rf.SCRUBBER_BACKGROUND,e.fillRect(i.x-a+Jc,t.origin.y,3,t.size.height)}}handleInteraction(e,r){switch(e.type){case"mousemove":case"wheel-control":case"wheel-meta":case"wheel-plain":case"wheel-shift":this._updateHover(e.payload.location,r)}}_drawSnapshotImage(e,r,t){const a=this.visibleArea,n=!cf(t,a);if(n){const r=_f(t,a);e.save(),e.beginPath(),e.rect(r.origin.x,r.origin.y,r.size.width,r.size.height),e.closePath(),e.clip()}e.fillStyle=rf.REACT_RESIZE_BAR_BORDER,e.fillRect(t.origin.x,t.origin.y,t.size.width,t.size.height),e.drawImage(r.image,0,0,r.width,r.height,t.origin.x+Jc,t.origin.y+Jc,t.size.width-2*Jc,t.size.height-2*Jc),n&&e.restore()}_findClosestSnapshot(e){const r=this.frame,t=Jf(this._intrinsicSize.width,r),a=this._profilerData.snapshots;let n=0,i=a.length-1;for(;n<=i;){const o=Math.floor((n+i)/2),s=a[o],{timestamp:l}=s;e<Math.floor(ev(l,t,r))?i=o-1:n=o+1}return a[i]||null}_updateHover(e,r){const{onHover:t,visibleArea:a}=this;if(!t)return;if(!mf(e,a))return null!==this._hoverLocation&&(this._hoverLocation=null,this.setNeedsDisplay()),void t(null);const n=this._findClosestSnapshot(e.x);null!==n?(this._hoverLocation=e,t(n)):(this._hoverLocation=null,t(null)),this.setNeedsDisplay()}}function Iv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}const Fv=14+Jc;class Lv extends kf{constructor(e,r,t){super(e,r),Iv(this,"_hoveredEvent",null),Iv(this,"_maxDepth",0),Iv(this,"onHover",null),this._profilerData=t,this._performPreflightComputations()}_performPreflightComputations(){this._depthToSuspenseEvent=new Map;const{duration:e,suspenseEvents:r}=this._profilerData;r.forEach((e=>{const r=e.depth;this._maxDepth=Math.max(this._maxDepth,r),this._depthToSuspenseEvent.has(r)?this._depthToSuspenseEvent.get(r).push(e):this._depthToSuspenseEvent.set(r,[e])})),this._intrinsicSize={width:e,height:(this._maxDepth+1)*Fv,hideScrollBarIfLessThanHeight:Fv,maxInitialHeight:3*Fv}}desiredSize(){return this._intrinsicSize}setHoveredEvent(e){this._hoveredEvent!==e&&(this._hoveredEvent=e,this.setNeedsDisplay())}_drawSingleSuspenseEvent(e,r,t,a,n,i){const{frame:o}=this,{componentName:s,depth:l,duration:u,phase:c,promiseName:f,resolution:v,timestamp:d,warning:h}=t;a+=l*Fv;let _=null;if(null!==h)_=i?rf.WARNING_BACKGROUND_HOVER:rf.WARNING_BACKGROUND;else switch(v){case"rejected":_=i?rf.REACT_SUSPENSE_REJECTED_EVENT_HOVER:rf.REACT_SUSPENSE_REJECTED_EVENT;break;case"resolved":_=i?rf.REACT_SUSPENSE_RESOLVED_EVENT_HOVER:rf.REACT_SUSPENSE_RESOLVED_EVENT;break;case"unresolved":_=i?rf.REACT_SUSPENSE_UNRESOLVED_EVENT_HOVER:rf.REACT_SUSPENSE_UNRESOLVED_EVENT}const m=ev(d,n,o);if(null===u){const t=8,n=t/2,i=(a+=3)+n;if(!hf({origin:{x:m-n,y:a},size:{width:t,height:t}},r))return;e.beginPath(),e.fillStyle=_,e.moveTo(m,i-n),e.lineTo(m+n,i),e.lineTo(m,i+n),e.lineTo(m-n,i),e.fill()}else{const t={origin:{x:m,y:a},size:{width:ev(d+u,n,o)-m,height:14}};if(!hf(t,r))return;if(tv(u,n)<1)return;const i=_f(t,r);e.beginPath(),e.fillStyle=_,e.fillRect(i.origin.x,i.origin.y,i.size.width,i.size.height);let l="suspended";null!=f?l=f:null!=s&&(l=`${s} ${l}`),null!==c&&(l+=` during ${c}`),"unresolved"!==v&&(l+=` - ${iv(u)}`),zf(l,e,t,i)}}draw(e){const{frame:r,_profilerData:{suspenseEvents:t},_hoveredEvent:a,visibleArea:n}=this;e.fillStyle=rf.PRIORITY_BACKGROUND,e.fillRect(n.origin.x,n.origin.y,n.size.width,n.size.height);const i=Jf(this._intrinsicSize.width,r);t.forEach((t=>{this._drawSingleSuspenseEvent(e,n,t,r.origin.y,i,t===a)}));for(let t=0;t<=this._maxDepth;t++){const a={origin:{x:r.origin.x,y:r.origin.y+(t+1)*Fv-Jc},size:{width:r.size.width,height:Jc}};if(hf(a,n)){const r=_f(a,n);e.fillStyle=rf.REACT_WORK_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}}_handleMouseMove(e,r){const{frame:t,_intrinsicSize:a,onHover:n,visibleArea:i}=this;if(!n)return;const{location:o}=e.payload;if(!mf(o,i))return void n(null);const s=Jf(a.width,t),l=rv(o.x,s,t),u=o.y-t.origin.y,c=Math.floor(u/Fv),f=this._depthToSuspenseEvent.get(c);if(f)for(let e=f.length-1;e>=0;e--){const t=f[e],{duration:a,timestamp:i}=t;if(null===a){const e=av(4,s);if(i-e<=l&&l<=i+e)return this.currentCursor="context-menu",r.hoveredView=this,void n(t)}else if(l>=i&&l<=i+a)return this.currentCursor="context-menu",r.hoveredView=this,void n(t)}n(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}function Pv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class zv extends kf{constructor(e,r,t){super(e,r),Pv(this,"_hoveredEvent",null),Pv(this,"onHover",null),this._profilerData=t,this._intrinsicSize={width:this._profilerData.duration,height:14}}desiredSize(){return this._intrinsicSize}setHoveredEvent(e){this._hoveredEvent!==e&&(this._hoveredEvent=e,this.setNeedsDisplay())}_drawSingleThrownError(e,r,t,a,n,i){const{frame:o}=this,{timestamp:s}=t,l=ev(s,n,o),u={origin:{x:l-3,y:a},size:{width:6,height:6}};if(!hf(u,r))return;const c=i?rf.REACT_THROWN_ERROR_HOVER:rf.REACT_THROWN_ERROR,f=u.origin.y+3;e.beginPath(),e.fillStyle=c,e.arc(l,f,3,0,2*Math.PI),e.fill()}draw(e){const{frame:r,_profilerData:{thrownErrors:t},_hoveredEvent:a,visibleArea:n}=this;e.fillStyle=rf.BACKGROUND,e.fillRect(n.origin.x,n.origin.y,n.size.width,n.size.height);const i=r.origin.y+4,o=Jf(this._intrinsicSize.width,r),s=[];t.forEach((r=>{r!==a?this._drawSingleThrownError(e,n,r,i,o,!1):s.push(r)})),s.forEach((r=>{this._drawSingleThrownError(e,n,r,i,o,!0)}));const l={origin:{x:r.origin.x,y:r.origin.y+14-Jc},size:{width:r.size.width,height:Jc}};if(hf(l,n)){const r=_f(l,n);e.fillStyle=rf.REACT_WORK_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}_handleMouseMove(e,r){const{frame:t,onHover:a,visibleArea:n}=this;if(!a)return;const{location:i}=e.payload;if(!mf(i,n))return void a(null);const{_profilerData:{thrownErrors:o}}=this,s=Jf(this._intrinsicSize.width,t),l=rv(i.x,s,t),u=av(3,s);for(let e=o.length-1;e>=0;e--){const t=o[e],{timestamp:n}=t;if(n-u<=l&&l<=n+u)return this.currentCursor="context-menu",r.hoveredView=this,void a(t)}a(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}const Bv=20+Jc,Vv=80+Jc;class Uv extends kf{constructor(e,r,t){super(e,r),this._totalDuration=t,this._intrinsicSize={width:this._totalDuration,height:Bv}}desiredSize(){return this._intrinsicSize}_getTimeTickInterval(e){for(let r=0;r<ef.length;r++){const t=ef[r];if(tv(t,e)>70)return t}return ef[0]}draw(e){const{frame:r,_intrinsicSize:t,visibleArea:a}=this,n={origin:r.origin,size:{width:r.size.width,height:t.height}},i=_f(n,a);e.fillStyle=rf.BACKGROUND,e.fillRect(i.origin.x,i.origin.y,i.size.width,i.size.height);const o=Jf(t.width,n),s=this._getTimeTickInterval(o);for(let r=Math.ceil(rv(i.origin.x-Vv,o,n)/s)*s;;r+=s){if(r<=0)continue;const t=ev(r,o,n);if(t>i.origin.x+i.size.width)break;const a=Math.round(r);e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(t,i.origin.y+20-8,Jc,8),e.fillStyle=rf.TIME_MARKER_LABEL,e.textAlign="right",e.textBaseline="middle",e.font=`${Zc}px sans-serif`,e.fillText(`${a}ms`,t-8,10)}const l={origin:{x:n.origin.x,y:n.origin.y+n.size.height-Jc},size:{width:n.size.width,height:Jc}};if(hf(l,a)){const r=_f(l,a);e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}}function Wv(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}class $v extends kf{constructor(e,r,t,a){super(e,r),Wv(this,"_hoveredMark",null),Wv(this,"onHover",null),this._marks=t,this._intrinsicSize={width:a,height:16}}desiredSize(){return this._intrinsicSize}setHoveredMark(e){this._hoveredMark!==e&&(this._hoveredMark=e,this.setNeedsDisplay())}_drawSingleMark(e,r,t,a,n,i){const{frame:o}=this,{timestamp:s}=t,l=ev(s,n,o);if(!hf({origin:{x:l-4,y:a},size:{width:8,height:8}},r))return;const u=i?rf.USER_TIMING_HOVER:rf.USER_TIMING;if(null!==u){const r=a+4;e.beginPath(),e.fillStyle=u,e.moveTo(l,r-4),e.lineTo(l+4,r),e.lineTo(l,r+4),e.lineTo(l-4,r),e.fill()}}draw(e){const{frame:r,_marks:t,_hoveredMark:a,visibleArea:n}=this;e.fillStyle=rf.BACKGROUND,e.fillRect(n.origin.x,n.origin.y,n.size.width,n.size.height);const i=r.origin.y+4,o=Jf(this._intrinsicSize.width,r);t.forEach((r=>{r!==a&&this._drawSingleMark(e,n,r,i,o,!1)})),null!==a&&this._drawSingleMark(e,n,a,i,o,!0);const s={origin:{x:r.origin.x,y:r.origin.y+16-Jc},size:{width:r.size.width,height:Jc}};if(hf(s,n)){const r=_f(s,n);e.fillStyle=rf.PRIORITY_BORDER,e.fillRect(r.origin.x,r.origin.y,r.size.width,r.size.height)}}_handleMouseMove(e,r){const{frame:t,onHover:a,visibleArea:n}=this;if(!a)return;const{location:i}=e.payload;if(!mf(i,n))return void a(null);const{_marks:o}=this,s=Jf(this._intrinsicSize.width,t),l=rv(i.x,s,t),u=av(4,s);for(let e=o.length-1;e>=0;e--){const t=o[e],{timestamp:n}=t;if(n-u<=l&&l<=n+u)return r.hoveredView=this,void a(t)}a(null)}handleInteraction(e,r){"mousemove"===e.type&&this._handleMouseMove(e,r)}}const jv=of((function(e,r,t=0){const a=r.batchUIDToMeasuresMap.get(e);if(null==a||0===a.length)throw Error(`Could not find measures with batch UID "${e}"`);const n=a[a.length-1],i=n.timestamp+n.duration;if(i<t)return[0,0];let o=t;for(let e=0;e<a.length;e++){const r=a[e];if(r.timestamp>=t){o=r.timestamp;break}}return[o,i]})),Xv=10,Kv=5;var Gv=a(3980),Yv=a.n(Gv);function qv({canvasRef:e,data:t,height:a,hoveredEvent:n,origin:i,width:o}){const s=function({canvasRef:e,mouseX:t,mouseY:a}){const n=(0,r.useRef)(null);let i=window.innerHeight,o=window.innerWidth;const s=e.current;if(null!==s){const e=s.getBoundingClientRect();i=e.top+e.height,o=e.left+e.width}return(0,r.useLayoutEffect)((()=>{const e=n.current;null!==e&&(a+Xv+e.offsetHeight>=i?a-Kv-e.offsetHeight>0?e.style.top=a-e.offsetHeight-Kv+"px":e.style.top="0px":e.style.top=`${a+Xv}px`,t+Xv+e.offsetWidth>=o?t-Kv-e.offsetWidth>0?e.style.left=t-e.offsetWidth-Kv+"px":e.style.left="0px":e.style.left=`${t+Xv}px`)})),n}({canvasRef:e,mouseX:i.x,mouseY:i.y});if(null===n)return null;const{componentMeasure:l,flamechartStackFrame:u,measure:c,nativeEvent:f,networkMeasure:v,schedulingEvent:d,snapshot:h,suspenseEvent:_,thrownError:m,userTimingMark:p}=n;let S=null;return null!==l?S=r.createElement(Qv,{componentMeasure:l}):null!==f?S=r.createElement(Jv,{nativeEvent:f}):null!==v?S=r.createElement(ed,{networkMeasure:v}):null!==d?S=r.createElement(rd,{data:t,schedulingEvent:d}):null!==h?S=r.createElement(td,{height:a,snapshot:h,width:o}):null!==_?S=r.createElement(ad,{suspenseEvent:_}):null!==c?S=r.createElement(nd,{data:t,measure:c}):null!==u?S=r.createElement(Zv,{stackFrame:u}):null!==p?S=r.createElement(id,{mark:p}):null!==m&&(S=r.createElement(od,{thrownError:m})),null!==S?r.createElement("div",{className:Yv().Tooltip,ref:s},S):null}const Qv=({componentMeasure:e})=>{const{componentName:t,duration:a,timestamp:n,type:i,warning:o}=e;let s=t;switch(i){case"render":s+=" rendered";break;case"layout-effect-mount":s+=" mounted layout effect";break;case"layout-effect-unmount":s+=" unmounted layout effect";break;case"passive-effect-mount":s+=" mounted passive effect";break;case"passive-effect-unmount":s+=" unmounted passive effect"}return r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().TooltipSection},ov(s,768),r.createElement("div",{className:Yv().Divider}),r.createElement("div",{className:Yv().DetailsGrid},r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(n)),r.createElement("div",{className:Yv().DetailsGridLabel},"Duration:"),r.createElement("div",null,iv(a)))),null!==o&&r.createElement("div",{className:Yv().TooltipWarningSection},r.createElement("div",{className:Yv().WarningText},o)))},Zv=({stackFrame:e})=>{const{name:t,timestamp:a,duration:n,locationLine:i,locationColumn:o}=e;return r.createElement("div",{className:Yv().TooltipSection},r.createElement("span",{className:Yv().FlamechartStackFrameName},t),r.createElement("div",{className:Yv().DetailsGrid},r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(a)),r.createElement("div",{className:Yv().DetailsGridLabel},"Duration:"),r.createElement("div",null,iv(n)),(void 0!==i||void 0!==o)&&r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().DetailsGridLabel},"Location:"),r.createElement("div",null,"line ",i,", column ",o))))},Jv=({nativeEvent:e})=>{const{duration:t,timestamp:a,type:n,warning:i}=e;return r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().TooltipSection},r.createElement("span",{className:Yv().NativeEventName},ov(n,768)),"event",r.createElement("div",{className:Yv().Divider}),r.createElement("div",{className:Yv().DetailsGrid},r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(a)),r.createElement("div",{className:Yv().DetailsGridLabel},"Duration:"),r.createElement("div",null,iv(t)))),null!==i&&r.createElement("div",{className:Yv().TooltipWarningSection},r.createElement("div",{className:Yv().WarningText},i)))},ed=({networkMeasure:e})=>{const{finishTimestamp:t,lastReceivedDataTimestamp:a,priority:n,sendRequestTimestamp:i,url:o}=e;let s=o;if(s.length>60){const e=Math.floor(30);s=o.slice(0,e)+"…"+o.slice(o.length-e)}const l=(t||a)>0?iv(t-i):"(incomplete)";return r.createElement("div",{className:Yv().SingleLineTextSection},l," ",r.createElement("span",{className:Yv().DimText},n)," ",s)},rd=({data:e,schedulingEvent:t})=>{const a=sv(t);if(!a)return null;let n=null,i=null;switch(t.type){case"schedule-render":case"schedule-state-update":case"schedule-force-update":i=t.lanes,n=i.map((r=>e.laneToLabelMap.get(r)))}const{componentName:o,timestamp:s,warning:l}=t;return r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().TooltipSection},o&&r.createElement("span",{className:Yv().ComponentName},ov(o,100)),a,r.createElement("div",{className:Yv().Divider}),r.createElement("div",{className:Yv().DetailsGrid},null!==n&&null!==i&&r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().DetailsGridLabel},"Lanes:"),r.createElement("div",null,n.join(", ")," (",i.join(", "),")")),r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(s)))),null!==l&&r.createElement("div",{className:Yv().TooltipWarningSection},r.createElement("div",{className:Yv().WarningText},l)))},td=({height:e,snapshot:t,width:a})=>{const n=t.width/t.height;let i=t.width,o=t.height;return i>a&&(i=a,o=i/n),o>e&&(o=e,i=o*n),r.createElement("img",{className:Yv().Image,src:t.imageSource,style:{height:o,width:i}})},ad=({suspenseEvent:e})=>{const{componentName:t,duration:a,phase:n,promiseName:i,resolution:o,timestamp:s,warning:l}=e;let u="suspended";return null!==n&&(u+=` during ${n}`),r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().TooltipSection},t&&r.createElement("span",{className:Yv().ComponentName},ov(t,100)),u,r.createElement("div",{className:Yv().Divider}),r.createElement("div",{className:Yv().DetailsGrid},null!==i&&r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().DetailsGridLabel},"Resource:"),r.createElement("div",{className:Yv().DetailsGridLongValue},i)),r.createElement("div",{className:Yv().DetailsGridLabel},"Status:"),r.createElement("div",null,o),r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(s)),null!==a&&r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().DetailsGridLabel},"Duration:"),r.createElement("div",null,iv(a))))),null!==l&&r.createElement("div",{className:Yv().TooltipWarningSection},r.createElement("div",{className:Yv().WarningText},l)))},nd=({data:e,measure:t})=>{const a=function(e){switch(e){case"commit":return"react commit";case"render-idle":return"react idle";case"render":return"react render";case"layout-effects":return"react layout effects";case"passive-effects":return"react passive effects";default:return null}}(t.type);if(!a)return null;const{batchUID:n,duration:i,timestamp:o,lanes:s}=t,[l,u]=jv(n,e),c=s.map((r=>e.laneToLabelMap.get(r)));return r.createElement("div",{className:Yv().TooltipSection},r.createElement("span",{className:Yv().ReactMeasureLabel},a),r.createElement("div",{className:Yv().Divider}),r.createElement("div",{className:Yv().DetailsGrid},r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(o)),"render-idle"!==t.type&&r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().DetailsGridLabel},"Duration:"),r.createElement("div",null,iv(i))),r.createElement("div",{className:Yv().DetailsGridLabel},"Batch duration:"),r.createElement("div",null,iv(u-l)),r.createElement("div",{className:Yv().DetailsGridLabel},"Lane",1===s.length?"":"s",":"),r.createElement("div",null,c.length>0?`${c.join(", ")} (${s.join(", ")})`:s.join(", "))))},id=({mark:e})=>{const{name:t,timestamp:a}=e;return r.createElement("div",{className:Yv().TooltipSection},r.createElement("span",{className:Yv().UserTimingLabel},t),r.createElement("div",{className:Yv().Divider}),r.createElement("div",{className:Yv().DetailsGrid},r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(a))))},od=({thrownError:e})=>{const{componentName:t,message:a,phase:n,timestamp:i}=e,o=`threw an error during ${n}`;return r.createElement("div",{className:Yv().TooltipSection},t&&r.createElement("span",{className:Yv().ComponentName},ov(t,100)),r.createElement("span",{className:Yv().UserTimingLabel},o),r.createElement("div",{className:Yv().Divider}),r.createElement("div",{className:Yv().DetailsGrid},r.createElement("div",{className:Yv().DetailsGridLabel},"Timestamp:"),r.createElement("div",null,nv(i)),""!==a&&r.createElement(r.Fragment,null,r.createElement("div",{className:Yv().DetailsGridLabel},"Error:"),r.createElement("div",null,a))))},sd=[];function ld(e,r){let{searchIndex:t,searchRegExp:a,searchResults:n,searchText:i}=e;switch(r.type){case"GO_TO_NEXT_SEARCH_RESULT":n.length>0&&(-1===t||t+1===n.length?t=0:t++);break;case"GO_TO_PREVIOUS_SEARCH_RESULT":n.length>0&&(-1===t||0===t?t=n.length-1:t--);break;case"SET_SEARCH_TEXT":if(i=r.payload,a=null,n=[],""!==i){const r=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");a=new RegExp(`^${r}`,"i");let o=null;t>=0&&n.length>t&&(o=n[t]);const s=e.profilerData.componentMeasures;let l=-1;for(let e=0;e<s.length;e++){const r=s[e];r.componentName.match(a)&&(n.push(r),r===o&&(l=n.length-1))}t=l>=0?l:0}}return{profilerData:e.profilerData,searchIndex:t,searchRegExp:a,searchResults:n,searchText:i}}const ud=(0,r.createContext)(null);function cd({children:e,profilerData:t,viewState:a}){const[n,i]=(0,r.useReducer)(ld,{profilerData:t,searchIndex:-1,searchRegExp:null,searchResults:sd,searchText:""}),o=(0,r.useMemo)((()=>({...n,dispatch:i})),[n]);return r.createElement(ud.Provider,{value:o},e)}ud.displayName="TimelineSearchContext";var fd=a(9410),vd=a.n(fd);const dd="canvas",hd={componentMeasure:null,flamechartStackFrame:null,measure:null,nativeEvent:null,networkMeasure:null,schedulingEvent:null,snapshot:null,suspenseEvent:null,thrownError:null,userTimingMark:null};function _d({data:e,height:t,viewState:a,width:n}){const i=(0,r.useRef)(null),[o,s]=(0,r.useState)(!1),[l,u]=(0,r.useState)(sf),[c,v]=(0,r.useState)(null),d=(0,r.useCallback)((()=>v(hd)),[]),{searchIndex:h,searchRegExp:_,searchResults:m}=(0,r.useContext)(ud);(0,r.useLayoutEffect)((()=>{a.updateSearchRegExpState(_);const r=m.length>0?m[h]:null;if(null!=r){const t=Tf({state:a.horizontalScrollState,rangeStart:r.timestamp,rangeEnd:r.timestamp+r.duration,contentLength:e.duration,minContentLength:e.duration*Rf,maxContentLength:e.duration*Of,containerLength:n});a.updateHorizontalScrollState(t)}p.current.displayIfNeeded()}),[h,_,m,a]);const p=(0,r.useRef)(new Sf(d)),S=(0,r.useRef)(null),g=(0,r.useRef)(null),b=(0,r.useRef)(null),w=(0,r.useRef)(null),E=(0,r.useRef)(null),y=(0,r.useRef)(null),k=(0,r.useRef)(null),C=(0,r.useRef)(null),A=(0,r.useRef)(null),M=(0,r.useRef)(null),{hideMenu:D}=(0,r.useContext)(js);(0,r.useLayoutEffect)((()=>{const r=p.current,o={origin:sf,size:{width:n,height:t}};function s(t,n,s=!1,l=!1){let u=null;s&&(u=new Ff(r,o,t,a,n));const c=new If(r,o,null!==u?u:t,e.duration,a);let f=null;return l&&(f=new Wf(r,o,c,a,i,n)),f||c}a.onHorizontalScrollStateChange((e=>{D()})),a.updateHorizontalScrollState(Hf({state:a.horizontalScrollState,minContentLength:e.duration*Rf,maxContentLength:e.duration*Of,containerLength:o.size.width}));const l=s(new Uv(r,o,e.duration),"time");let u=null;if(e.otherUserTimingMarks.length>0){const t=new $v(r,o,e.otherUserTimingMarks,e.duration);S.current=t,u=s(t,"user timing api")}let c=null;if(e.nativeEvents.length>0){const t=new yv(r,o,e);g.current=t,c=s(t,"events",!0,!0)}let f=null;if(e.thrownErrors.length>0){const t=new zv(r,o,e);M.current=t,f=s(t,"thrown errors")}let v=null;if(e.schedulingEvents.length>0){const t=new Nv(r,o,e);b.current=t,v=s(t,"react updates")}let d=null;if(e.suspenseEvents.length>0){const t=new Lv(r,o,e);w.current=t,d=s(t,"suspense",!0,!0)}const h=new xv(r,o,e);y.current=h;const _=s(h,"react scheduling",!0,!0);let m=null;if(e.componentMeasures.length>0){const t=new cv(r,o,e,a);E.current=t,m=s(t,"react components")}let H=null;if(e.snapshots.length>0){const t=new Ov(r,o,e);A.current=t,H=s(t,"snapshots",!0,!0)}let x=null;if(e.snapshots.length>0){const t=new Mv(r,o,e);C.current=t,x=s(t,"network",!0,!0)}let T=null;if(e.flamechart.length>0){const t=new bv(r,o,e.flamechart,e.internalModuleSourceToRanges,e.duration);k.current=t,T=s(t,"flamechart",!0,!0)}const N=new kf(r,o,Ef,o,rf.BACKGROUND);N.addSubview(l),null!==u&&N.addSubview(u),null!==c&&N.addSubview(c),null!==v&&N.addSubview(v),null!==f&&N.addSubview(f),null!==d&&N.addSubview(d),null!==_&&N.addSubview(_),null!==m&&N.addSubview(m),null!==H&&N.addSubview(H),null!==x&&N.addSubview(x),null!==T&&N.addSubview(T);const R=new Yf(r,o,N,a);p.current.rootView=R}),[e]),(0,r.useLayoutEffect)((()=>{i.current&&p.current.setCanvas(i.current,{width:n,height:t})}),[n,t]);const H=(0,r.useCallback)((e=>{const r=i.current;if(null===r)return;const t=p.current;t.handleInteraction(e),t.displayIfNeeded(),r.style.cursor=t.getCurrentCursor()||"default",u({x:e.payload.event.x,y:e.payload.event.y})}),[]);(function(e,t){const a=(0,r.useRef)(!1),n=(0,r.useRef)(!1);(0,r.useEffect)((()=>{const r=e.current;if(!r)return;function i(e){const t=function(e){return Xf&&e.width===Xf.width&&e.height===Xf.height||(Xf={width:e.width,height:e.height,rect:e.getBoundingClientRect()}),Xf.rect}(r);return{x:e.x-t.left,y:e.y-t.top}}const o=e=>{n.current||t({type:"click",payload:{event:e,location:i({x:e.x,y:e.y})}})},s=e=>{n.current||t({type:"double-click",payload:{event:e,location:i({x:e.x,y:e.y})}})},l=e=>{n.current=!1,a.current=!0,t({type:"mousedown",payload:{event:e,location:i({x:e.x,y:e.y})}})},u=e=>{a.current&&(n.current=!0),t({type:"mousemove",payload:{event:e,location:i({x:e.x,y:e.y})}})},c=e=>{a.current=!1,t({type:"mouseup",payload:{event:e,location:i({x:e.x,y:e.y})}})},f=e=>{e.preventDefault(),e.stopPropagation();const r=i({x:e.x,y:e.y}),a=function(e){let r=e.deltaX,t=e.deltaY;return e.deltaMode===WheelEvent.DOM_DELTA_LINE?(r*=$f,t*=$f):e.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(r*=jf,t*=jf),{deltaX:r,deltaY:t}}(e);return e.shiftKey?t({type:"wheel-shift",payload:{event:e,location:r,delta:a}}):e.ctrlKey?t({type:"wheel-control",payload:{event:e,location:r,delta:a}}):e.metaKey?t({type:"wheel-meta",payload:{event:e,location:r,delta:a}}):t({type:"wheel-plain",payload:{event:e,location:r,delta:a}}),!1},v=r.ownerDocument;return v.addEventListener("mousemove",u),v.addEventListener("mouseup",c),r.addEventListener("click",o),r.addEventListener("dblclick",s),r.addEventListener("mousedown",l),r.addEventListener("wheel",f),()=>{v.removeEventListener("mousemove",u),v.removeEventListener("mouseup",c),r.removeEventListener("click",o),r.removeEventListener("dblclick",s),r.removeEventListener("mousedown",l),r.removeEventListener("wheel",f)}}),[e,t])})(i,H),El({data:{data:e,hoveredEvent:c},id:dd,onChange:s,ref:i});const{selectEvent:x}=(0,r.useContext)(nc);return(0,r.useEffect)((()=>{const{current:e}=S;e&&(e.onHover=e=>{c&&c.userTimingMark===e||v({...hd,userTimingMark:e})});const{current:r}=g;r&&(r.onHover=e=>{c&&c.nativeEvent===e||v({...hd,nativeEvent:e})});const{current:t}=b;t&&(t.onHover=e=>{c&&c.schedulingEvent===e||v({...hd,schedulingEvent:e})},t.onClick=e=>{x({...hd,schedulingEvent:e})});const{current:a}=w;a&&(a.onHover=e=>{c&&c.suspenseEvent===e||v({...hd,suspenseEvent:e})});const{current:n}=y;n&&(n.onHover=e=>{c&&c.measure===e||v({...hd,measure:e})});const{current:i}=E;i&&(i.onHover=e=>{c&&c.componentMeasure===e||v({...hd,componentMeasure:e})});const{current:o}=A;o&&(o.onHover=e=>{c&&c.snapshot===e||v({...hd,snapshot:e})});const{current:s}=k;s&&s.setOnHover((e=>{c&&c.flamechartStackFrame===e||v({...hd,flamechartStackFrame:e})}));const{current:l}=C;l&&(l.onHover=e=>{c&&c.networkMeasure===e||v({...hd,networkMeasure:e})});const{current:u}=M;u&&(u.onHover=e=>{c&&c.thrownError===e||v({...hd,thrownError:e})})}),[c,e]),(0,r.useLayoutEffect)((()=>{const e=S.current;e&&e.setHoveredMark(c?c.userTimingMark:null);const r=g.current;r&&r.setHoveredEvent(c?c.nativeEvent:null);const t=b.current;t&&t.setHoveredEvent(c?c.schedulingEvent:null);const a=w.current;a&&a.setHoveredEvent(c?c.suspenseEvent:null);const n=y.current;n&&n.setHoveredMeasure(c?c.measure:null);const i=k.current;i&&i.setHoveredFlamechartStackFrame(c?c.flamechartStackFrame:null);const o=C.current;o&&o.setHoveredEvent(c?c.networkMeasure:null)}),[c]),(0,r.useLayoutEffect)((()=>{p.current.displayIfNeeded()})),r.createElement(r.Fragment,null,r.createElement("canvas",{ref:i,height:t,width:n}),r.createElement(Ys,{id:dd},(e=>{if(null==e.hoveredEvent)return null;const{componentMeasure:t,flamechartStackFrame:i,measure:o,networkMeasure:s,schedulingEvent:l,suspenseEvent:u}=e.hoveredEvent;return r.createElement(r.Fragment,null,null!==t&&r.createElement(Zs,{onClick:()=>(0,f.copy)(t.componentName),title:"Copy component name"},"Copy component name"),null!==s&&r.createElement(Zs,{onClick:()=>(0,f.copy)(s.url),title:"Copy URL"},"Copy URL"),null!==l&&r.createElement(Zs,{onClick:()=>(0,f.copy)(l.componentName),title:"Copy component name"},"Copy component name"),null!==u&&r.createElement(Zs,{onClick:()=>(0,f.copy)(u.componentName),title:"Copy component name"},"Copy component name"),null!==o&&r.createElement(Zs,{onClick:()=>((e,r,t,a)=>{const{batchUID:n}=r,[i,o]=jv(n,e),s=Tf({state:t.horizontalScrollState,rangeStart:i,rangeEnd:o,contentLength:e.duration,minContentLength:e.duration*Rf,maxContentLength:e.duration*Of,containerLength:a});t.updateHorizontalScrollState(s)})(e.data,o,a,n),title:"Zoom to batch"},"Zoom to batch"),null!==o&&r.createElement(Zs,{onClick:()=>((e,r)=>{const{batchUID:t,duration:a,timestamp:n,type:i}=r,[o,s]=jv(t,e);(0,f.copy)(JSON.stringify({type:i,timestamp:af()(n),duration:af()(a),batchDuration:af()(s-o)}))})(e.data,o),title:"Copy summary"},"Copy summary"),null!==i&&r.createElement(Zs,{onClick:()=>(0,f.copy)(i.scriptUrl),title:"Copy file path"},"Copy file path"),null!==i&&r.createElement(Zs,{onClick:()=>(0,f.copy)(`line ${i.locationLine??""}, column ${i.locationColumn??""}`),title:"Copy location"},"Copy location"))})),!o&&!p.current.hasActiveView()&&r.createElement(qv,{canvasRef:i,data:e,height:t,hoveredEvent:c,origin:l,width:n}))}const md=function({profilerData:e,viewState:t}){return r.createElement("div",{className:vd().CanvasPage,style:{backgroundColor:rf.BACKGROUND}},r.createElement(Ir,null,(({height:a,width:n})=>r.createElement(_d,{data:e,height:a,viewState:t,width:n}))))};a(2853);var pd=a(5041);const Sd=31,gd=1,bd=60;class wd extends Error{}var Ed=a(8715),yd=a.n(Ed);const kd=20,Cd=20,Ad={LONG_EVENT_HANDLER:"An event handler scheduled a big update with React. Consider using the Transition API to defer some of this work.",NESTED_UPDATE:"A big nested update was scheduled during layout. Nested updates require React to re-render synchronously before the browser can paint. Consider delaying this update by moving it to a passive effect (useEffect).",SUSPEND_DURING_UPDATE:"A component suspended during an update which caused a fallback to be shown. Consider using the Transition API to avoid hiding components after they've been mounted."};function Md(e){const r=parseInt(e,10);if(r<0)return[];const t=[];let a=0;for(;a<=Sd;)1<<a&r&&t.push(a),a++;return t}let Dd=null;function Hd(e,r,t,a,n){const{batchUID:i,measureStack:o}=n,s=function(e){if(e.length>0){const{depth:r,type:t}=e[e.length-1];return"render-idle"===t?r:r+1}return 0}(o),l={type:e,batchUID:i,depth:s,lanes:t,timestamp:r,duration:0};n.measureStack.push({depth:s,measure:l,startTime:r,type:e});const u=a.batchUIDToMeasuresMap.get(i);null!=u?u.push(l):a.batchUIDToMeasuresMap.set(n.batchUID,[l]),t.forEach((e=>{a.laneToReactMeasureMap.get(e).push(l)}))}function xd(e,r,t,a){if(0===a.length)return void console.error('Unexpected type "%s" completed at %sms while stack is empty.',e,r);const n=a[a.length-1];n.type!==e&&console.error('Unexpected type "%s" completed at %sms before "%s" completed.',e,r,n.type);const{measure:i,startTime:o}=a.pop();i||console.error('Could not find matching measure for type "%s".',e),i.duration=r-o}function Td(e){null!==e.currentReactComponentMeasure&&console.error("Component measure started while another measure in progress:",e.currentReactComponentMeasure)}function Nd(e,r){null===e.currentReactComponentMeasure?console.error(`Component measure type "${r}" stopped while no measure was in progress`):e.currentReactComponentMeasure.type!==r&&console.error(`Component measure type "${r}" stopped while type ${e.currentReactComponentMeasure.type} in progress`)}function Rd(e){const r=new Error;r.stack=e;const t=yd().parse(r);return 1===t.length?t[0]:null}async function Od(e){const r=function(e){let r;try{r=(0,pd.importFromChromeTimeline)(e,"react-devtools")}catch(e){const r=new wd(e.message);throw r.stack=e.stack,r}const t=r.profiles[0],a=new pd.Flamechart({getTotalWeight:t.getTotalWeight.bind(t),forEachCall:t.forEachCall.bind(t),formatValue:t.formatValue.bind(t),getColorBucketForFrame:()=>0}).getLayers().map((e=>e.map((({start:e,end:r,node:{frame:{name:t,file:a,line:n,col:i}}})=>({name:t,timestamp:e/1e3,duration:(r-e)/1e3,scriptUrl:a,locationLine:n,locationColumn:i})))));return a}(e),t=new Map;for(let e=0;e<Sd;e++)t.set(e,[]);const a={batchUIDToMeasuresMap:new Map,componentMeasures:[],duration:0,flamechart:r,internalModuleSourceToRanges:new Map,laneToLabelMap:new Map,laneToReactMeasureMap:t,nativeEvents:[],networkMeasures:[],otherUserTimingMarks:[],reactVersion:null,schedulingEvents:[],snapshots:[],snapshotHeight:0,startTime:0,suspenseEvents:[],thrownErrors:[]},n=(e=e.filter(Boolean).sort(((e,r)=>e.ts>r.ts?1:-1))).findIndex((e=>"Profile"===e.name));if(-1===n)return a;a.startTime=e[n].args.data.startTime,a.duration=(e[e.length-1].ts-a.startTime)/1e3;const i={asyncProcessingPromises:[],batchUID:0,currentReactComponentMeasure:null,internalModuleCurrentStackFrame:null,internalModuleStackStringSet:new Set,measureStack:[],nativeEventStack:[],nextRenderShouldGenerateNewBatchID:!0,potentialLongEvents:[],potentialLongNestedUpdate:null,potentialLongNestedUpdates:[],potentialSuspenseEventsOutsideOfTransition:[],requestIdToNetworkMeasureMap:new Map,uidCounter:0,unresolvedSuspenseEvents:new Map};if(e.forEach((e=>function(e,r,t){const{cat:a,name:n,ts:i,ph:o}=e,s=(i-r.startTime)/1e3;switch(a){case"disabled-by-default-devtools.screenshot":!function(e,r,t,a){const n={height:0,image:null,imageSource:`data:image/png;base64,${e.args.snapshot}`,timestamp:r,width:0};let i=null;a.asyncProcessingPromises.push(new Promise((e=>{i=e}))),fetch(n.imageSource).then((e=>e.blob())).then((e=>{createImageBitmap(e).then((e=>{n.height=e.height,n.width=e.width,i()}))})),t.snapshots.push(n)}(e,s,r,t);break;case"devtools.timeline":switch(n){case"EventDispatch":!function(e,r,t,a){const n=e.args.data,i=n.type;if(i.startsWith("react-")){const e=n.stackTrace;if(e&&e[e.length-1].url.includes("/react-dom."))return}if("blur"===i||"click"===i||"input"===i||i.startsWith("focus")||i.startsWith("key")||i.startsWith("mouse")||i.startsWith("pointer")){const n=e.dur/1e3;let o=0;for(;a.nativeEventStack.length>0;){const e=a.nativeEventStack[a.nativeEventStack.length-1];if(r<e.timestamp+e.duration){o=e.depth+1;break}a.nativeEventStack.pop()}const s={depth:o,duration:n,timestamp:r,type:i,warning:null};t.nativeEvents.push(s),a.nativeEventStack.push(s)}}(e,s,r,t);break;case"ResourceFinish":!function(e,r,t,a){const n=e.args.data.requestId,i=a.requestIdToNetworkMeasureMap.get(n);null!=i&&(i.finishTimestamp=r,0===i.firstReceivedDataTimestamp&&(i.firstReceivedDataTimestamp=r),0===i.lastReceivedDataTimestamp&&(i.lastReceivedDataTimestamp=r),a.requestIdToNetworkMeasureMap.delete(e.args.data.requestId))}(e,s,0,t);break;case"ResourceReceivedData":!function(e,r,t,a){const n=e.args.data.requestId,i=a.requestIdToNetworkMeasureMap.get(n);null!=i&&(0===i.firstReceivedDataTimestamp&&(i.firstReceivedDataTimestamp=r),i.lastReceivedDataTimestamp=r,i.finishTimestamp=r)}(e,s,0,t);break;case"ResourceReceiveResponse":!function(e,r,t,a){const n=e.args.data.requestId,i=a.requestIdToNetworkMeasureMap.get(n);null!=i&&(i.receiveResponseTimestamp=r)}(e,s,0,t);break;case"ResourceSendRequest":!function(e,r,t,a){const n=e.args.data,i=n.requestId,o=new Array(a.requestIdToNetworkMeasureMap.size+1).fill(!0);a.requestIdToNetworkMeasureMap.forEach((({depth:e})=>{o[e]=!1}));let s=0;for(let e=0;e<o.length;e++)if(o[e]){s=e;break}const l={depth:s,finishTimestamp:0,firstReceivedDataTimestamp:0,lastReceivedDataTimestamp:0,requestId:i,requestMethod:n.requestMethod,priority:n.priority,sendRequestTimestamp:r,receiveResponseTimestamp:0,url:n.url};a.requestIdToNetworkMeasureMap.set(i,l),t.networkMeasures.push(l),l.sendRequestTimestamp=r}(e,s,r,t)}break;case"blink.user_timing":if(n.startsWith("--react-version-")){const[e]=n.slice(16).split("-");r.reactVersion=e}else if(n.startsWith("--profiler-version-")){const[e]=n.slice(19).split("-");if(Dd=parseInt(e,10),Dd!==gd)throw new wd(`This version of profiling data (${e}) is not supported by the current profiler.`)}else if(n.startsWith("--react-lane-labels-")){const[e]=n.slice(20).split("-");!function(e,r){if(0===e.laneToLabelMap.size){const t=r.split(",");for(let r=0;r<t.length;r++)e.laneToLabelMap.set(r,t[r])}}(r,e)}else if(n.startsWith("--component-"))!function(e,r,t,a){if(e.startsWith("--component-render-start-")){const[t]=e.slice(25).split("-");Td(a),a.currentReactComponentMeasure={componentName:t,timestamp:r,duration:0,type:"render",warning:null}}else if("--component-render-stop"===e){if(Nd(a,"render"),null!==a.currentReactComponentMeasure){const e=a.currentReactComponentMeasure;e.duration=r-e.timestamp,a.currentReactComponentMeasure=null,t.componentMeasures.push(e)}}else if(e.startsWith("--component-layout-effect-mount-start-")){const[t]=e.slice(38).split("-");Td(a),a.currentReactComponentMeasure={componentName:t,timestamp:r,duration:0,type:"layout-effect-mount",warning:null}}else if("--component-layout-effect-mount-stop"===e){if(Nd(a,"layout-effect-mount"),null!==a.currentReactComponentMeasure){const e=a.currentReactComponentMeasure;e.duration=r-e.timestamp,a.currentReactComponentMeasure=null,t.componentMeasures.push(e)}}else if(e.startsWith("--component-layout-effect-unmount-start-")){const[t]=e.slice(40).split("-");Td(a),a.currentReactComponentMeasure={componentName:t,timestamp:r,duration:0,type:"layout-effect-unmount",warning:null}}else if("--component-layout-effect-unmount-stop"===e){if(Nd(a,"layout-effect-unmount"),null!==a.currentReactComponentMeasure){const e=a.currentReactComponentMeasure;e.duration=r-e.timestamp,a.currentReactComponentMeasure=null,t.componentMeasures.push(e)}}else if(e.startsWith("--component-passive-effect-mount-start-")){const[t]=e.slice(39).split("-");Td(a),a.currentReactComponentMeasure={componentName:t,timestamp:r,duration:0,type:"passive-effect-mount",warning:null}}else if("--component-passive-effect-mount-stop"===e){if(Nd(a,"passive-effect-mount"),null!==a.currentReactComponentMeasure){const e=a.currentReactComponentMeasure;e.duration=r-e.timestamp,a.currentReactComponentMeasure=null,t.componentMeasures.push(e)}}else if(e.startsWith("--component-passive-effect-unmount-start-")){const[t]=e.slice(41).split("-");Td(a),a.currentReactComponentMeasure={componentName:t,timestamp:r,duration:0,type:"passive-effect-unmount",warning:null}}else if("--component-passive-effect-unmount-stop"===e&&(Nd(a,"passive-effect-unmount"),null!==a.currentReactComponentMeasure)){const e=a.currentReactComponentMeasure;e.duration=r-e.timestamp,a.currentReactComponentMeasure=null,t.componentMeasures.push(e)}}(n,s,r,t);else if(n.startsWith("--schedule-render-")){const[e]=n.slice(18).split("-");r.schedulingEvents.push({type:"schedule-render",lanes:Md(e),timestamp:s,warning:null})}else if(n.startsWith("--schedule-forced-update-")){const[e,a]=n.slice(25).split("-"),i={type:"schedule-force-update",lanes:Md(e),componentName:a,timestamp:s,warning:null};t.measureStack.find((({type:e})=>"commit"===e))&&(t.potentialLongNestedUpdate=i),r.schedulingEvents.push(i)}else if(n.startsWith("--schedule-state-update-")){const[e,a]=n.slice(24).split("-"),i={type:"schedule-state-update",lanes:Md(e),componentName:a,timestamp:s,warning:null};t.measureStack.find((({type:e})=>"commit"===e))&&(t.potentialLongNestedUpdate=i),r.schedulingEvents.push(i)}else if(n.startsWith("--error-")){const[e,t,a]=n.slice(8).split("-");r.thrownErrors.push({componentName:e,message:a,phase:t,timestamp:s,type:"thrown-error"})}else if(n.startsWith("--suspense-suspend-")){const[e,a,i,o,l]=n.slice(19).split("-"),u=Md(o),c=new Array(t.unresolvedSuspenseEvents.size+1).fill(!0);t.unresolvedSuspenseEvents.forEach((({depth:e})=>{c[e]=!1}));let f=0;for(let e=0;e<c.length;e++)if(c[e]){f=e;break}const v={componentName:a,depth:f,duration:null,id:e,phase:i,promiseName:l||null,resolution:"unresolved",timestamp:s,type:"suspense",warning:null};"update"===i&&t.potentialSuspenseEventsOutsideOfTransition.push([v,u]),r.suspenseEvents.push(v),t.unresolvedSuspenseEvents.set(e,v)}else if(n.startsWith("--suspense-resolved-")){const[e]=n.slice(20).split("-"),r=t.unresolvedSuspenseEvents.get(e);null!=r&&(t.unresolvedSuspenseEvents.delete(e),r.duration=s-r.timestamp,r.resolution="resolved")}else if(n.startsWith("--suspense-rejected-")){const[e]=n.slice(20).split("-"),r=t.unresolvedSuspenseEvents.get(e);null!=r&&(t.unresolvedSuspenseEvents.delete(e),r.duration=s-r.timestamp,r.resolution="rejected")}else if(n.startsWith("--render-start-")){t.nextRenderShouldGenerateNewBatchID&&(t.nextRenderShouldGenerateNewBatchID=!1,t.batchUID=t.uidCounter++),null!==t.potentialLongNestedUpdate&&(t.potentialLongNestedUpdates.push([t.potentialLongNestedUpdate,t.batchUID]),t.potentialLongNestedUpdate=null);const[e]=n.slice(15).split("-");!function(e,r){const t=r.length-1;if(t>=0){const a=r[t];if(void 0===a.stopTime&&a.type===e)throw new wd(`Unexpected type "${e}" started before "${a.type}" completed.`)}}("render",t.measureStack),"render-idle"!==function(e){if(e.length>0){const{type:r}=e[e.length-1];return r}return null}(t.measureStack)&&Hd("render-idle",s,Md(e),r,t),Hd("render",s,Md(e),r,t);for(let e=0;e<t.nativeEventStack.length;e++){const r=t.nativeEventStack[e];r.timestamp+r.duration>s&&t.potentialLongEvents.push([r,t.batchUID])}}else if(n.startsWith("--render-stop")||n.startsWith("--render-yield"))xd("render",s,0,t.measureStack);else if(n.startsWith("--commit-start-")){t.nextRenderShouldGenerateNewBatchID=!0;const[e]=n.slice(15).split("-");Hd("commit",s,Md(e),r,t)}else if(n.startsWith("--commit-stop"))xd("commit",s,0,t.measureStack),xd("render-idle",s,0,t.measureStack);else if(n.startsWith("--layout-effects-start-")){const[e]=n.slice(23).split("-");Hd("layout-effects",s,Md(e),r,t)}else if(n.startsWith("--layout-effects-stop"))xd("layout-effects",s,0,t.measureStack);else if(n.startsWith("--passive-effects-start-")){const[e]=n.slice(24).split("-");Hd("passive-effects",s,Md(e),r,t)}else if(n.startsWith("--passive-effects-stop"))xd("passive-effects",s,0,t.measureStack);else if(n.startsWith("--react-internal-module-start-")){const e=n.slice(30);if(!t.internalModuleStackStringSet.has(e)){t.internalModuleStackStringSet.add(e);const r=Rd(e);t.internalModuleCurrentStackFrame=r}}else if(n.startsWith("--react-internal-module-stop-")){const e=n.slice(29);if(!t.internalModuleStackStringSet.has(e)){t.internalModuleStackStringSet.add(e);const a=Rd(e);if(null!==a&&null!==t.internalModuleCurrentStackFrame){const e=t.internalModuleCurrentStackFrame;t.internalModuleCurrentStackFrame=null;const n=[e,a],i=r.internalModuleSourceToRanges.get(e.fileName);null==i?r.internalModuleSourceToRanges.set(e.fileName,[n]):i.push(n)}}}else if("R"===o||"n"===o)r.otherUserTimingMarks.push({name:n,timestamp:s});else if("b"===o);else if("e"===o);else if("i"!==o&&"I"!==o)throw new wd(`Unrecognized event ${JSON.stringify(e)}! This is likely a bug in this profiler tool.`)}}(e,a,i))),null===Dd){if(0===a.schedulingEvents.length&&0===a.batchUIDToMeasuresMap.size)throw new wd("No React marks were found in the provided profile. Please provide profiling data from an React application running in development or profiling mode.");throw new wd("This version of profiling data is not supported by the current profiler.")}const{measureStack:o}=i;if(o.length>0&&console.error("Incomplete events or measures",o),i.potentialLongEvents.forEach((([e,r])=>{const[t,n]=jv(r,a,e.timestamp);n-t>kd&&(e.warning=Ad.LONG_EVENT_HANDLER)})),i.potentialLongNestedUpdates.forEach((([e,r])=>{const[t,n]=jv(r,a);n-t>Cd&&e.lanes.some((e=>"Transition"===a.laneToLabelMap.get(e)))})),i.potentialSuspenseEventsOutsideOfTransition.forEach((([e,r])=>{r.some((e=>"Transition"===a.laneToLabelMap.get(e)))||(e.warning=Ad.SUSPEND_DURING_UPDATE)})),await Promise.all(i.asyncProcessingPromises),a.snapshots.length>0){const e=a.snapshots[0];a.snapshotHeight=Math.min(e.height,bd)}return a}var Id=a(4069),Fd=a.n(Id);const Ld=e=>{if(!e.name.endsWith(".json"))throw new wd("Invalid file type. Only JSON performance profiles are supported");const r=new FileReader;return new Promise(((t,a)=>{r.onload=()=>{const e=Fd()(r.result);"string"==typeof e&&t(e),a(new wd("Input file was not read as a string"))},r.onerror=()=>a(r.error),r.readAsText(e)}))};async function Pd(e){try{const r=await Ld(e),t=JSON.parse(r);if(0===t.length)throw new wd("No profiling data found in file.");return{status:"SUCCESS",processedData:await Od(t)}}catch(e){return e instanceof wd?{status:"INVALID_PROFILE_ERROR",error:e}:{status:"UNEXPECTED_ERROR",error:e}}}var zd=a(7282),Bd=a.n(zd);const Vd=window.Worker?Bd()():e,Ud=new Map;function Wd(e){const{searchInputContainerRef:a}=(0,r.useContext)(nc),{dispatch:n,searchIndex:i,searchResults:o,searchText:s}=(0,r.useContext)(ud);return null===a.current?null:(0,t.createPortal)(r.createElement(wo,{goToNextResult:()=>n({type:"GO_TO_NEXT_SEARCH_RESULT"}),goToPreviousResult:()=>n({type:"GO_TO_PREVIOUS_SEARCH_RESULT"}),placeholder:"Search components by name",search:e=>n({type:"SET_SEARCH_TEXT",payload:e}),searchIndex:i,searchResultsCount:o.length,searchText:s}),a.current)}var $d=a(8942),jd=a.n($d);function Xd(){return r.createElement("div",{className:jd().Column},r.createElement("div",{className:jd().Header},"Timeline profiling not supported."),r.createElement("p",{className:jd().Paragraph},r.createElement("span",null,"Timeline profiler requires a development or profiling build of"," ",r.createElement("code",{className:jd().Code},"react-dom@^18"),".")),r.createElement("div",{className:jd().LearnMoreRow},"Click"," ",r.createElement("a",{className:jd().Link,href:"https://fb.me/react-devtools-profiling",rel:"noopener noreferrer",target:"_blank"},"here")," ","to learn more about profiling."),dr.pK&&r.createElement("div",{className:jd().MetaGKRow},r.createElement("strong",null,"Meta only"),": Enable the"," ",r.createElement("a",{className:jd().Link,href:"https://fburl.com/react-devtools-scheduling-profiler-gk",rel:"noopener noreferrer",target:"_blank"},"react_enable_scheduling_profiler GK"),"."))}var Kd=a(7578),Gd=a.n(Kd);function Yd(e){const{file:t,inMemoryTimelineData:a,isTimelineSupported:n,setFile:i,viewState:o}=(0,r.useContext)(nc),{didRecordCommits:s,isProfiling:l}=(0,r.useContext)(Uu),u=(0,r.useRef)(null),{theme:c}=(0,r.useContext)(Wt),f=(0,r.useDeferredValue)(c),[v,d]=(0,r.useState)(c);(0,r.useLayoutEffect)((()=>{const e=setInterval((()=>{(function(e){const r=getComputedStyle(e);return null!=r.getPropertyValue("--color-background")&&(rf={BACKGROUND:r.getPropertyValue("--color-background"),INTERNAL_MODULE_FRAME:r.getPropertyValue("--color-timeline-internal-module"),INTERNAL_MODULE_FRAME_HOVER:r.getPropertyValue("--color-timeline-internal-module-hover"),INTERNAL_MODULE_FRAME_TEXT:r.getPropertyValue("--color-timeline-internal-module-text"),NATIVE_EVENT:r.getPropertyValue("--color-timeline-native-event"),NATIVE_EVENT_HOVER:r.getPropertyValue("--color-timeline-native-event-hover"),NETWORK_PRIMARY:r.getPropertyValue("--color-timeline-network-primary"),NETWORK_PRIMARY_HOVER:r.getPropertyValue("--color-timeline-network-primary-hover"),NETWORK_SECONDARY:r.getPropertyValue("--color-timeline-network-secondary"),NETWORK_SECONDARY_HOVER:r.getPropertyValue("--color-timeline-network-secondary-hover"),PRIORITY_BACKGROUND:r.getPropertyValue("--color-timeline-priority-background"),PRIORITY_BORDER:r.getPropertyValue("--color-timeline-priority-border"),PRIORITY_LABEL:r.getPropertyValue("--color-text"),USER_TIMING:r.getPropertyValue("--color-timeline-user-timing"),USER_TIMING_HOVER:r.getPropertyValue("--color-timeline-user-timing-hover"),REACT_IDLE:r.getPropertyValue("--color-timeline-react-idle"),REACT_IDLE_HOVER:r.getPropertyValue("--color-timeline-react-idle-hover"),REACT_RENDER:r.getPropertyValue("--color-timeline-react-render"),REACT_RENDER_HOVER:r.getPropertyValue("--color-timeline-react-render-hover"),REACT_RENDER_TEXT:r.getPropertyValue("--color-timeline-react-render-text"),REACT_COMMIT:r.getPropertyValue("--color-timeline-react-commit"),REACT_COMMIT_HOVER:r.getPropertyValue("--color-timeline-react-commit-hover"),REACT_COMMIT_TEXT:r.getPropertyValue("--color-timeline-react-commit-text"),REACT_LAYOUT_EFFECTS:r.getPropertyValue("--color-timeline-react-layout-effects"),REACT_LAYOUT_EFFECTS_HOVER:r.getPropertyValue("--color-timeline-react-layout-effects-hover"),REACT_LAYOUT_EFFECTS_TEXT:r.getPropertyValue("--color-timeline-react-layout-effects-text"),REACT_PASSIVE_EFFECTS:r.getPropertyValue("--color-timeline-react-passive-effects"),REACT_PASSIVE_EFFECTS_HOVER:r.getPropertyValue("--color-timeline-react-passive-effects-hover"),REACT_PASSIVE_EFFECTS_TEXT:r.getPropertyValue("--color-timeline-react-passive-effects-text"),REACT_RESIZE_BAR:r.getPropertyValue("--color-resize-bar"),REACT_RESIZE_BAR_ACTIVE:r.getPropertyValue("--color-resize-bar-active"),REACT_RESIZE_BAR_BORDER:r.getPropertyValue("--color-resize-bar-border"),REACT_RESIZE_BAR_DOT:r.getPropertyValue("--color-resize-bar-dot"),REACT_SCHEDULE:r.getPropertyValue("--color-timeline-react-schedule"),REACT_SCHEDULE_HOVER:r.getPropertyValue("--color-timeline-react-schedule-hover"),REACT_SUSPENSE_REJECTED_EVENT:r.getPropertyValue("--color-timeline-react-suspense-rejected"),REACT_SUSPENSE_REJECTED_EVENT_HOVER:r.getPropertyValue("--color-timeline-react-suspense-rejected-hover"),REACT_SUSPENSE_RESOLVED_EVENT:r.getPropertyValue("--color-timeline-react-suspense-resolved"),REACT_SUSPENSE_RESOLVED_EVENT_HOVER:r.getPropertyValue("--color-timeline-react-suspense-resolved-hover"),REACT_SUSPENSE_UNRESOLVED_EVENT:r.getPropertyValue("--color-timeline-react-suspense-unresolved"),REACT_SUSPENSE_UNRESOLVED_EVENT_HOVER:r.getPropertyValue("--color-timeline-react-suspense-unresolved-hover"),REACT_THROWN_ERROR:r.getPropertyValue("--color-timeline-thrown-error"),REACT_THROWN_ERROR_HOVER:r.getPropertyValue("--color-timeline-thrown-error-hover"),REACT_WORK_BORDER:r.getPropertyValue("--color-timeline-react-work-border"),SCROLL_CARET:r.getPropertyValue("--color-scroll-caret"),SCRUBBER_BACKGROUND:r.getPropertyValue("--color-timeline-react-suspense-rejected"),SEARCH_RESULT_FILL:r.getPropertyValue("--color-timeline-react-suspense-rejected"),SCRUBBER_BORDER:r.getPropertyValue("--color-timeline-text-color"),TEXT_COLOR:r.getPropertyValue("--color-timeline-text-color"),TEXT_DIM_COLOR:r.getPropertyValue("--color-timeline-text-dim-color"),TIME_MARKER_LABEL:r.getPropertyValue("--color-text"),WARNING_BACKGROUND:r.getPropertyValue("--color-warning-background"),WARNING_BACKGROUND_HOVER:r.getPropertyValue("--color-warning-background-hover"),WARNING_TEXT:r.getPropertyValue("--color-warning-text-color"),WARNING_TEXT_INVERED:r.getPropertyValue("--color-warning-text-color-inverted")},!0)})(u.current)&&(clearInterval(e),d(f))}),50);return()=>{clearInterval(e)}}),[f]);let h=null;if(l)h=r.createElement(qc,null);else if(a&&a.length>0){const e=a[0];h=r.createElement(cd,{profilerData:e,viewState:o},r.createElement(Wd,null),r.createElement(md,{profilerData:e,viewState:o}))}else h=t?r.createElement(r.Suspense,{fallback:r.createElement(qd,null)},r.createElement(Jd,{file:t,key:v,onFileSelect:i,viewState:o})):s?r.createElement(Zd,null):n?r.createElement(Yc,null):r.createElement(Xd,null);return r.createElement("div",{className:Gd().Content,ref:u},h)}const qd=()=>r.createElement("div",{className:Gd().EmptyStateContainer},r.createElement("div",{className:Gd().Header},"Processing data..."),r.createElement("div",{className:Gd().Row},"This should only take a minute.")),Qd=({error:e,onFileSelect:t})=>r.createElement("div",{className:Gd().EmptyStateContainer},r.createElement("div",{className:Gd().Header},"Could not load profile"),e.message&&r.createElement("div",{className:Gd().Row},r.createElement("div",{className:Gd().ErrorMessage},e.message)),r.createElement("div",{className:Gd().Row},"Try importing another Chrome performance profile.")),Zd=()=>r.createElement("div",{className:Gd().EmptyStateContainer},r.createElement("div",{className:Gd().Row},"This current profile does not contain timeline data.")),Jd=({file:e,onFileSelect:t,viewState:a})=>{if(null===e)return null;const n=function(e){const r=e.name;let t=Ud.get(r);if(!t){const a=new Set,n=()=>{a.forEach((e=>e())),a.clear()},i=t={status:0,value:{then(e){a.add(e)},displayName:`Importing file "${r}"`}};(e=>Vd.importFile(e))(e).then((e=>{switch(e.status){case"SUCCESS":const r=i;r.status=1,r.value=e.processedData;break;case"INVALID_PROFILE_ERROR":case"UNEXPECTED_ERROR":const t=i;t.status=2,t.value=e.error}n()})),Ud.set(r,t)}return function(e){if(1===e.status)return e;if(2===e.status)return e;throw e.value}(t).value}(e);return n instanceof Error?r.createElement(Qd,{error:n,onFileSelect:t}):r.createElement(cd,{profilerData:n,viewState:a},r.createElement(Wd,null),r.createElement(md,{profilerData:n,viewState:a}))},eh=(0,r.createContext)(null);eh.displayName="ViewSourceContext";const rh=eh;var th=a(5714),ah=a.n(th);function nh({eventInfo:e}){const{viewUrlSourceFunction:t}=(0,r.useContext)(rh),{componentName:a,timestamp:n}=e,i=e.componentStack||null;return r.createElement(r.Fragment,null,r.createElement("div",{className:ah().Toolbar},a," ",sv(e)),r.createElement("div",{className:ah().Content,tabIndex:0},r.createElement("ul",{className:ah().List},r.createElement("li",{className:ah().ListItem},r.createElement("label",{className:ah().Label},"Timestamp"),":"," ",r.createElement("span",{className:ah().Value},nv(n))),i&&r.createElement("li",{className:ah().ListItem},r.createElement("div",{className:ah().Row},r.createElement("label",{className:ah().Label},"Rendered by"),r.createElement(Xn,{onClick:()=>(0,f.copy)(i),title:"Copy component stack to clipboard"},r.createElement(Jt,{type:"copy"}))),r.createElement("ul",{className:ah().List},function(e){const r=[];return e.split(Ve).slice(1).forEach((e=>{const t=Ue.exec(e);if(t){const[,e,a,n,i]=t;r.push([e,[a,parseInt(n,10),parseInt(i,10)]])}else r.push([e,null])})),r}(i).map((([e,a],n)=>r.createElement("li",{key:n},r.createElement(Xn,{className:a?ah().ClickableSource:ah().UnclickableSource,disabled:!a,onClick:()=>(e=>{null!=t&&null!=e&&t(...e)})(a)},e)))))))))}function ih(e){const{selectedEvent:t}=(0,r.useContext)(nc);return t&&t.schedulingEvent?r.createElement(nh,{eventInfo:t.schedulingEvent}):null}function oh({disabled:e}){const t=(0,r.useContext)(br),a=(0,r.useContext)(wr),n=(0,r.useMemo)((()=>({getCurrentValue:()=>({recordChangeDescriptions:a.recordChangeDescriptions,supportsReloadAndProfile:a.supportsReloadAndProfile}),subscribe:e=>(a.addListener("recordChangeDescriptions",e),a.addListener("supportsReloadAndProfile",e),()=>{a.removeListener("recordChangeDescriptions",e),a.removeListener("supportsReloadAndProfile",e)})})),[a]),{recordChangeDescriptions:i,supportsReloadAndProfile:o}=Vt(n),s=(0,r.useCallback)((()=>{t.send("reloadAndProfile",i)}),[t,i]);return o?r.createElement(Xn,{disabled:e,onClick:s,title:"Reload and start profiling"},r.createElement(Jt,{type:"reload"})):null}const sh=Array.isArray,lh=Object.prototype.hasOwnProperty;var uh=a(8682),ch=a.n(uh);function fh(){const{isProfiling:e,profilingData:t,rootID:a}=(0,r.useContext)(Uu),{setFile:n}=(0,r.useContext)(nc),i=(0,r.useContext)(wr),{profilerStore:o}=i,s=(0,r.useRef)(null),l=(0,r.useRef)(null),{dispatch:u}=(0,r.useContext)(Ns),c=o.didRecordCommits,f=(0,r.useCallback)((()=>{if(null===a)return;const e=l.current;if(null!==t&&null!==e){const r=function(e){const r=e.timelineData.map((({batchUIDToMeasuresMap:e,componentMeasures:r,duration:t,flamechart:a,internalModuleSourceToRanges:n,laneToLabelMap:i,laneToReactMeasureMap:o,nativeEvents:s,networkMeasures:l,otherUserTimingMarks:u,reactVersion:c,schedulingEvents:f,snapshots:v,snapshotHeight:d,startTime:h,suspenseEvents:_,thrownErrors:m})=>({batchUIDToMeasuresKeyValueArray:Array.from(e.entries()),componentMeasures:r,duration:t,flamechart:a,internalModuleSourceToRanges:Array.from(n.entries()),laneToLabelKeyValueArray:Array.from(i.entries()),laneToReactMeasureKeyValueArray:Array.from(o.entries()),nativeEvents:s,networkMeasures:l,otherUserTimingMarks:u,reactVersion:c,schedulingEvents:f,snapshots:v,snapshotHeight:d,startTime:h,suspenseEvents:_,thrownErrors:m}))),t=[];return e.dataForRoots.forEach((({commitData:e,displayName:r,initialTreeBaseDurations:a,operations:n,rootID:i,snapshots:o})=>{t.push({commitData:e.map((({changeDescriptions:e,duration:r,effectDuration:t,fiberActualDurations:a,fiberSelfDurations:n,passiveEffectDuration:i,priorityLevel:o,timestamp:s,updaters:l})=>({changeDescriptions:null!=e?Array.from(e.entries()):null,duration:r,effectDuration:t,fiberActualDurations:Array.from(a.entries()),fiberSelfDurations:Array.from(n.entries()),passiveEffectDuration:i,priorityLevel:o,timestamp:s,updaters:l}))),displayName:r,initialTreeBaseDurations:Array.from(a.entries()),operations:n,rootID:i,snapshots:Array.from(o.entries())})})),{version:d.hR,dataForRoots:t,timelineData:r}}(t),a=new Date;!function(e,r,t){const a=new Blob([t],{type:"text/plain;charset=utf-8"});null!==it&&URL.revokeObjectURL(it),it=URL.createObjectURL(a),e.setAttribute("href",it),e.setAttribute("download",r),e.click()}(e,`profiling-data.${a.toLocaleDateString(void 0,{year:"numeric",month:"2-digit",day:"2-digit"}).replace(/\//g,"-")}.${a.toLocaleTimeString(void 0,{hour12:!1}).replace(/:/g,"-")}.json`,JSON.stringify(r,null,2))}}),[a,t]),v=(0,r.useCallback)((()=>{null!==s.current&&s.current.click()}),[]);return r.createElement(r.Fragment,null,r.createElement("div",{className:ch().VRule}),r.createElement("input",{ref:s,className:ch().Input,type:"file",accept:".json",onChange:()=>{const e=s.current;if(null!==e&&e.files.length>0){const t=e.files[0],a=new FileReader;a.addEventListener("load",(()=>{const e=a.result,i=JSON.parse(e);if(!sh(i)&&lh.call(i,"version")){n(null);try{const e=i;o.profilingData=function(e){const{version:r}=e;if(r!==d.hR)throw Error(`Unsupported profile export version "${r}". Supported version is "${d.hR}".`);const t=e.timelineData?e.timelineData.map((({batchUIDToMeasuresKeyValueArray:e,componentMeasures:r,duration:t,flamechart:a,internalModuleSourceToRanges:n,laneToLabelKeyValueArray:i,laneToReactMeasureKeyValueArray:o,nativeEvents:s,networkMeasures:l,otherUserTimingMarks:u,reactVersion:c,schedulingEvents:f,snapshots:v,snapshotHeight:d,startTime:h,suspenseEvents:_,thrownErrors:m})=>({batchUIDToMeasuresMap:new Map(e),componentMeasures:r,duration:t,flamechart:a,internalModuleSourceToRanges:new Map(n),laneToLabelMap:new Map(i),laneToReactMeasureMap:new Map(o),nativeEvents:s,networkMeasures:l,otherUserTimingMarks:u,reactVersion:c,schedulingEvents:f,snapshots:v,snapshotHeight:d,startTime:h,suspenseEvents:_,thrownErrors:m}))):[],a=new Map;return e.dataForRoots.forEach((({commitData:e,displayName:r,initialTreeBaseDurations:t,operations:n,rootID:i,snapshots:o})=>{a.set(i,{commitData:e.map((({changeDescriptions:e,duration:r,effectDuration:t,fiberActualDurations:a,fiberSelfDurations:n,passiveEffectDuration:i,priorityLevel:o,timestamp:s,updaters:l})=>({changeDescriptions:null!=e?new Map(e):null,duration:r,effectDuration:t,fiberActualDurations:new Map(a),fiberSelfDurations:new Map(n),passiveEffectDuration:i,priorityLevel:o,timestamp:s,updaters:l}))),displayName:r,initialTreeBaseDurations:new Map(t),operations:n,rootID:i,snapshots:new Map(o)})})),{dataForRoots:a,imported:!0,timelineData:t}}(e)}catch(e){u({id:"ProfilingImportExportButtons",type:"SHOW",title:"Import failed",content:r.createElement(r.Fragment,null,r.createElement("div",null,"The profiling data you selected cannot be imported."),null!==e&&r.createElement("div",{className:ch().ErrorMessage},e.message))})}}else o.clear(),n(t)})),a.readAsText(t)}},tabIndex:-1}),r.createElement("a",{ref:l,className:ch().Input}),r.createElement(Xn,{disabled:e,onClick:v,title:"Load profile..."},r.createElement(Jt,{type:"import"})),r.createElement(Xn,{disabled:e||!c,onClick:f,title:"Save profile..."},r.createElement(Jt,{type:"export"})))}var vh=a(7102),dh=a.n(vh);function hh({data:e,index:t,style:a}){const{filteredCommitIndices:n,maxDuration:i,selectedCommitIndex:o,selectCommitIndex:s,setHoveredCommitIndex:l,startCommitDrag:u,totalDurations:c}=e,f=c[t=n[t]],v=Math.min(1,Math.max(0,Math.cbrt(f)/Math.cbrt(i)))||0,d=Math.min(1,Math.max(0,f/i))||0,h=o===t,_=parseFloat(a.width)-1;let m;return!h&&f>0&&(m=$e(d)),r.createElement("div",{className:dh().Outer,onMouseDown:({buttons:e,target:r})=>{1===e&&(s(t),u({commitIndex:t,left:r.getBoundingClientRect().left,sizeIncrement:parseFloat(a.width)}))},onMouseEnter:()=>l(t),style:{...a,width:_,borderBottom:h?"3px solid var(--color-tab-selected-border)":void 0}},r.createElement("div",{className:h?dh().InnerSelected:dh().Inner,style:{height:`${Math.round(100*v)}%`,backgroundColor:m}}))}const _h=(0,r.memo)(hh,qr);var mh=a(5722),ph=a.n(mh);function Sh({commitData:e,commitTimes:t,filteredCommitIndices:a,selectedCommitIndex:n,selectedFilteredCommitIndex:i,selectCommitIndex:o,totalDurations:s}){return r.createElement(Ir,null,(({height:l,width:u})=>r.createElement(gh,{commitData:e,commitTimes:t,height:l,filteredCommitIndices:a,selectedCommitIndex:n,selectedFilteredCommitIndex:i,selectCommitIndex:o,totalDurations:s,width:u})))}function gh({commitData:e,selectedCommitIndex:t,commitTimes:a,height:n,filteredCommitIndices:i,selectedFilteredCommitIndex:o,selectCommitIndex:s,totalDurations:l,width:u}){const c=(0,r.useRef)(null),f=(0,r.useRef)(null),v=(0,r.useRef)(null);(0,r.useEffect)((()=>{o!==v.current&&(v.current=o,null!==o&&null!==c.current&&c.current.scrollToItem(o))}),[c,o]);const d=(0,r.useMemo)((()=>Math.max(cc,u/i.length)),[i,u]),h=(0,r.useMemo)((()=>l.reduce(((e,r)=>Math.max(e,r)),0)),[l]),_=i.length-1,[m,p]=(0,r.useState)(null),S=({buttons:e,pageX:r})=>{if(0!==e){if(null!==m){const{commitIndex:e,left:t,sizeIncrement:a}=m;let n=e,i=t;if(r<i)for(;r<i;)i-=a,n-=1;else{let e=i+a;for(;r>e;)e+=a,n+=1}n<0?n=0:n>_&&(n=_),s(n)}}else p(null)};(0,r.useEffect)((()=>{if(null===m)return;const e=f.current;if(null!==e){const r=e.ownerDocument;return r.addEventListener("mousemove",S),()=>{r.removeEventListener("mousemove",S)}}}),[m]);const[g,b]=(0,r.useState)(null),w=(0,r.useMemo)((()=>({commitTimes:a,filteredCommitIndices:i,maxDuration:h,selectedCommitIndex:t,selectedFilteredCommitIndex:o,selectCommitIndex:s,setHoveredCommitIndex:b,startCommitDrag:p,totalDurations:l})),[a,i,h,t,o,s,b,l]);let E=null;if(null!==g){const{duration:t,effectDuration:a,passiveEffectDuration:n,priorityLevel:i,timestamp:o}=e[g];E=null!==a||null!==n||null!==i?r.createElement("ul",{className:ph().TooltipList},null!==i&&r.createElement("li",{className:ph().TooltipListItem},r.createElement("label",{className:ph().TooltipLabel},"Priority"),r.createElement("span",{className:ph().TooltipValue},i)),r.createElement("li",{className:ph().TooltipListItem},r.createElement("label",{className:ph().TooltipLabel},"Committed at"),r.createElement("span",{className:ph().TooltipValue},Xe(o),"s")),r.createElement("li",{className:ph().TooltipListItem},r.createElement("div",{className:ph().DurationsWrapper},r.createElement("label",{className:ph().TooltipLabel},"Durations"),r.createElement("ul",{className:ph().DurationsList},r.createElement("li",{className:ph().DurationsListItem},r.createElement("label",{className:ph().DurationsLabel},"Render"),r.createElement("span",{className:ph().DurationsValue},je(t),"ms")),null!==a&&r.createElement("li",{className:ph().DurationsListItem},r.createElement("label",{className:ph().DurationsLabel},"Layout effects"),r.createElement("span",{className:ph().DurationsValue},je(a),"ms")),null!==n&&r.createElement("li",{className:ph().DurationsListItem},r.createElement("label",{className:ph().DurationsLabel},"Passive effects"),r.createElement("span",{className:ph().DurationsValue},je(n),"ms")))))):`${je(t)}ms at ${Xe(o)}s`}return r.createElement(Ac,{className:ph().Tooltip,label:E},r.createElement("div",{ref:f,style:{height:n,width:u},onMouseLeave:()=>b(null)},r.createElement(Gr,{className:ph().List,layout:"horizontal",height:n,itemCount:i.length,itemData:w,itemSize:d,ref:c,width:u},_h)))}var bh=a(1633),wh=a.n(bh);function Eh(e){const{isCommitFilterEnabled:t,minCommitDuration:a,rootID:n,selectedCommitIndex:i,selectCommitIndex:o}=(0,r.useContext)(Uu),{profilerStore:s}=(0,r.useContext)(wr),{commitData:l}=s.getDataForRoot(n),u=[],c=[];l.forEach((e=>{u.push(e.duration+(e.effectDuration||0)+(e.passiveEffectDuration||0)),c.push(e.timestamp)}));const f=(0,r.useMemo)((()=>l.reduce(((e,r,n)=>((!t||r.duration>=a)&&e.push(n),e)),[])),[l,t,a]),v=f.length,d=(0,r.useMemo)((()=>{if(null!==i)for(let e=0;e<f.length;e++)if(f[e]===i)return e;return null}),[f,i]);null===d?o(v>0?0:null):d>=v&&o(0===v?null:v-1);let h=null;if(v>0){const e=e=>{const r=parseInt(e.currentTarget.value,10);if(!isNaN(r)){const e=Math.min(Math.max(r-1,0),v-1);o(f[e])}},t=e=>{e.currentTarget.select()},a=e=>{switch(e.key){case"ArrowDown":m(),e.stopPropagation();break;case"ArrowUp":_(),e.stopPropagation()}},n=r.createElement("input",{className:wh().Input,"data-testname":"SnapshotSelector-Input",type:"text",inputMode:"numeric",pattern:"[0-9]*",value:d+1,size:`${v}`.length,onChange:e,onClick:t,onKeyDown:a});h=r.createElement(r.Fragment,null,n," / ",v)}const _=()=>{let e=d+1;e===f.length&&(e=0),o(f[e])},m=()=>{let e=d-1;e<0&&(e=f.length-1),o(f[e])};return 0===l.length?null:r.createElement(r.Fragment,null,r.createElement("span",{className:wh().IndexLabel,"data-testname":"SnapshotSelector-Label"},h),r.createElement(Xn,{className:wh().Button,"data-testname":"SnapshotSelector-PreviousButton",disabled:0===v,onClick:m,title:"Select previous commit"},r.createElement(Jt,{type:"previous"})),r.createElement("div",{className:wh().Commits,onKeyDown:e=>{switch(e.key){case"ArrowLeft":m(),e.stopPropagation();break;case"ArrowRight":_(),e.stopPropagation()}},style:{flex:v>0?"1 1 auto":"0 0 auto",maxWidth:v>0?30*v:void 0},tabIndex:0},v>0&&r.createElement(Sh,{commitData:l,commitTimes:c,filteredCommitIndices:f,selectedCommitIndex:i,selectedFilteredCommitIndex:d,selectCommitIndex:o,totalDurations:u}),0===v&&r.createElement("div",{className:wh().NoCommits},"No commits")),r.createElement(Xn,{className:wh().Button,"data-testname":"SnapshotSelector-NextButton",disabled:0===v,onClick:_,title:"Select next commit"},r.createElement(Jt,{type:"next"})))}var yh=a(8640),kh=a.n(yh);function Ch({commitTree:e,updaters:t}){const{selectFiber:a}=(0,r.useContext)(Uu),n=t.length>0?t.map((t=>{const{displayName:n,id:i,key:o,type:s}=t;return e.nodes.has(i)&&s!==E?r.createElement("button",{key:i,className:kh().Updater,onClick:()=>a(i,n)},n," ",o?`key="${o}"`:""):r.createElement("div",{key:i,className:kh().UnmountedUpdater},n," ",o?`key="${o}"`:"")})):r.createElement("div",{key:"none",className:kh().NoUpdaters},"(unknown)");return r.createElement("div",{className:kh().Updaters},n)}var Ah=a(6038),Mh=a.n(Ah);function Dh(e){const{selectedCommitIndex:t,rootID:a}=(0,r.useContext)(Uu),{profilerStore:n}=(0,r.useContext)(wr);if(null===a||null===t)return r.createElement("div",{className:Mh().NothingSelected},"Nothing selected");const{duration:i,effectDuration:o,passiveEffectDuration:s,priorityLevel:l,timestamp:u,updaters:c}=n.getCommitData(a,t),f=null!==o||null!==s,v=null!==c?qe({commitIndex:t,profilerStore:n,rootID:a}):null;return r.createElement(r.Fragment,null,r.createElement("div",{className:Mh().Toolbar},"Commit information"),r.createElement("div",{className:Mh().Content},r.createElement("ul",{className:Mh().List},null!==l&&r.createElement("li",{className:Mh().ListItem},r.createElement("label",{className:Mh().Label},"Priority"),":"," ",r.createElement("span",{className:Mh().Value},l)),r.createElement("li",{className:Mh().ListItem},r.createElement("label",{className:Mh().Label},"Committed at"),":"," ",r.createElement("span",{className:Mh().Value},Xe(u),"s")),!f&&r.createElement("li",{className:Mh().ListItem},r.createElement("label",{className:Mh().Label},"Render duration"),":"," ",r.createElement("span",{className:Mh().Value},je(i),"ms")),f&&r.createElement("li",{className:Mh().ListItem},r.createElement("label",{className:Mh().Label},"Durations"),r.createElement("ul",{className:Mh().DurationsList},r.createElement("li",{className:Mh().DurationsListItem},r.createElement("label",{className:Mh().Label},"Render"),":"," ",r.createElement("span",{className:Mh().Value},je(i),"ms")),null!==o&&r.createElement("li",{className:Mh().DurationsListItem},r.createElement("label",{className:Mh().Label},"Layout effects"),":"," ",r.createElement("span",{className:Mh().Value},je(o),"ms")),null!==s&&r.createElement("li",{className:Mh().DurationsListItem},r.createElement("label",{className:Mh().Label},"Passive effects"),":"," ",r.createElement("span",{className:Mh().Value},je(s),"ms")))),null!==c&&null!==v&&r.createElement("li",{className:Mh().ListItem},r.createElement("label",{className:Mh().Label},"What caused this update"),"?",r.createElement(Ch,{commitTree:v,updaters:c})))))}function Hh(){return r.createElement("div",{className:Gc().Column},r.createElement("div",{className:Gc().Header},"Processing data..."),r.createElement("div",{className:Gc().Row},"This should only take a minute."))}function xh(){return r.createElement("div",{className:Gc().Column},r.createElement("div",{className:Gc().Header},"Profiling not supported."),r.createElement("p",{className:Gc().Paragraph},"Profiling support requires either a development or profiling build of React v16.5+."),r.createElement("p",{className:Gc().Paragraph},"Learn more at"," ",r.createElement("a",{className:Gc().Link,href:"https://fb.me/react-devtools-profiling",rel:"noopener noreferrer",target:"_blank"},"reactjs.org/link/profiling"),"."))}var Th=a(1409),Nh=a.n(Th);function Rh(e){const{profilerStore:t}=(0,r.useContext)(wr),{rootID:a,selectCommitIndex:n,selectedCommitIndex:i,selectedFiberID:o,selectedFiberName:s,selectFiber:l}=(0,r.useContext)(Uu),{profilingCache:u}=t,c=(0,r.useRef)(null),f=u.getFiberCommits({fiberID:o,rootID:a});(0,r.useEffect)((()=>{const e=c.current;null!==e&&"function"==typeof e.scrollIntoView&&e.scrollIntoView({block:"nearest",inline:"nearest"})}),[i]);const v=[];let d=0;for(d=0;d<f.length;d++){const e=f[d],{duration:o,timestamp:s}=t.getCommitData(a,e);v.push(r.createElement("button",{key:e,ref:i===e?c:null,className:i===e?Nh().CurrentCommit:Nh().Commit,onClick:()=>n(e)},Xe(s),"s for ",je(o),"ms"))}return r.createElement(r.Fragment,null,r.createElement("div",{className:Nh().Toolbar},r.createElement("div",{className:Nh().Component},s||"Selected component"),r.createElement(Xn,{onClick:()=>l(null,null),title:"Back to commit view"},r.createElement(Jt,{type:"close"}))),r.createElement("div",{className:Nh().Content,onKeyDown:e=>{switch(e.key){case"ArrowUp":if(null!==i){const e=f.indexOf(i),r=e>0?e-1:f.length-1;n(f[r])}e.preventDefault();break;case"ArrowDown":if(null!==i){const e=f.indexOf(i),r=e<f.length-1?e+1:0;n(f[r])}e.preventDefault()}},tabIndex:0},r.createElement(gc,{fiberID:o}),v.length>0&&r.createElement(r.Fragment,null,r.createElement("label",{className:Nh().Label},"Rendered at"),": ",v),0===v.length&&r.createElement("div",null,"Did not render during this profiling session.")))}const Oh=()=>r.createElement("div",{className:Gc().Column},r.createElement("div",{className:Gc().Header},"Timeline only"),r.createElement("div",{className:Gc().Row},"The current profile contains only Timeline data.")),Ih=[{id:"flame-chart",icon:"flame-chart",label:"Flamegraph",title:"Flamegraph chart"},{id:"ranked-chart",icon:"ranked-chart",label:"Ranked",title:"Ranked chart"}],Fh=[...Ih,null,{id:"timeline",icon:"timeline",label:"Timeline",title:"Timeline"}],Lh=gs((function(e){const{didRecordCommits:t,isProcessingData:a,isProfiling:n,selectedCommitIndex:i,selectedFiberID:o,selectedTabID:s,selectTab:l,supportsProfiling:u}=(0,r.useContext)(Uu),{file:c,searchInputContainerRef:f}=(0,r.useContext)(nc),{supportsTimeline:v}=(0,r.useContext)(wr),d="timeline"!==s;let h=null;if(t||"timeline"===s)switch(s){case"flame-chart":h=r.createElement(Tc,null);break;case"ranked-chart":h=r.createElement(Pc,null);break;case"timeline":h=r.createElement(Yd,null)}else h=n?r.createElement(qc,null):a?r.createElement(Hh,null):c?r.createElement(Oh,null):u?r.createElement(Yc,null):r.createElement(xh,null);let _=null;if(!n&&!a&&t)switch(s){case"flame-chart":case"ranked-chart":null!==i&&(_=null!==o?r.createElement(Rh,null):r.createElement(Dh,null));break;case"timeline":_=r.createElement(ih,null)}return r.createElement(ko,null,r.createElement("div",{className:Gc().Profiler},r.createElement("div",{className:Gc().LeftColumn},r.createElement("div",{className:Gc().Toolbar},r.createElement(Xc,{disabled:!u}),r.createElement(oh,{disabled:!u}),r.createElement(oc,null),r.createElement(fh,null),r.createElement("div",{className:Gc().VRule}),r.createElement(Ru,{currentTab:s,id:"Profiler",selectTab:l,tabs:v?Fh:Ih,type:"profiler"}),r.createElement(Wc,null),r.createElement("div",{className:Gc().Spacer}),!d&&r.createElement("div",{ref:f,className:Gc().TimelineSearchInputContainer}),r.createElement(Co,null),d&&t&&r.createElement(r.Fragment,null,r.createElement("div",{className:Gc().VRule}),r.createElement(Eh,null))),r.createElement("div",{className:Gc().Content},h,r.createElement(Is,null))),r.createElement("div",{className:Gc().RightColumn},_),r.createElement(Ku,null)))}));var Ph=a(9653),zh=a.n(Ph);function Bh({className:e}){return r.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",className:`${zh().ReactLogo} ${e||""}`,viewBox:"-11.5 -10.23174 23 20.46348"},r.createElement("circle",{cx:"0",cy:"0",r:"2.05",fill:"currentColor"}),r.createElement("g",{stroke:"currentColor",strokeWidth:"1",fill:"none"},r.createElement("ellipse",{rx:"11",ry:"4.2"}),r.createElement("ellipse",{rx:"11",ry:"4.2",transform:"rotate(60)"}),r.createElement("ellipse",{rx:"11",ry:"4.2",transform:"rotate(120)"})))}var Vh=a(8178),Uh=a.n(Vh);const Wh="4.28.5-ef8a840bd",$h="https://fb.me/devtools-unsupported-bridge-protocol",jh="UnsupportedBridgeProtocolDialog";function Xh(e){const{dialogs:t,dispatch:a}=(0,r.useContext)(Ns),n=(0,r.useContext)(wr),i=!!t.find((e=>e.id===jh));return(0,r.useEffect)((()=>{const e=()=>{i?n.unsupportedBridgeProtocolDetected||a({type:"HIDE",id:jh}):n.unsupportedBridgeProtocolDetected&&a({canBeDismissed:!1,id:jh,type:"SHOW",content:r.createElement(Kh,{unsupportedBridgeProtocol:n.bridgeProtocol})})};return e(),n.addListener("unsupportedBridgeProtocolDetected",e),()=>{n.removeListener("unsupportedBridgeProtocolDetected",e)}}),[i,n]),null}function Kh({unsupportedBridgeProtocol:e}){const{version:t,minNpmVersion:a,maxNpmVersion:n}=e;let i;if(null===n){const e=`npm i -g react-devtools@^${a}`;i=r.createElement(r.Fragment,null,r.createElement("p",{className:Uh().Paragraph},"To fix this, upgrade the DevTools NPM package:"),r.createElement("pre",{className:Uh().NpmCommand},e,r.createElement(Xn,{onClick:()=>(0,f.copy)(e),title:"Copy upgrade command to clipboard"},r.createElement(Jt,{type:"copy"}))))}else{const e=`npm i -g react-devtools@${n}`;i=r.createElement(r.Fragment,null,r.createElement("p",{className:Uh().Paragraph},"To fix this, downgrade the DevTools NPM package:"),r.createElement("pre",{className:Uh().NpmCommand},e,r.createElement(Xn,{onClick:()=>(0,f.copy)(e),title:"Copy downgrade command to clipboard"},r.createElement(Jt,{type:"copy"}))))}return r.createElement(r.Fragment,null,r.createElement("div",{className:Uh().Column},r.createElement("div",{className:Uh().Title},"Unsupported DevTools backend version"),r.createElement("p",{className:Uh().Paragraph},"You are running ",r.createElement("code",null,"react-devtools")," version"," ",r.createElement("span",{className:Uh().Version},Wh),"."),r.createElement("p",{className:Uh().Paragraph},"This requires bridge protocol"," ",r.createElement("span",{className:Uh().Version},"version ",u.version),". However the current backend version uses bridge protocol"," ",r.createElement("span",{className:Uh().Version},"version ",t),"."),i,r.createElement("p",{className:Uh().Paragraph},"Or"," ",r.createElement("a",{className:Uh().Link,href:$h,target:"_blank"},"click here")," ","for more information.")))}var Gh=a(7304),Yh=a.n(Gh);function qh(e){const{dispatch:a}=(0,r.useContext)(Ns),n=(0,r.useContext)(wr),[i,o]=(0,r.useState)("dialog-not-shown");return(0,r.useEffect)((()=>{if("dialog-not-shown"===i){const e=()=>{(0,t.unstable_batchedUpdates)((()=>{o("show-dialog"),a({canBeDismissed:!0,id:"UnsupportedVersionDialog",type:"SHOW",content:r.createElement(Qh,null)})}))};if(!n.unsupportedRendererVersionDetected)return n.addListener("unsupportedRendererVersionDetected",e),()=>{n.removeListener("unsupportedRendererVersionDetected",e)};e()}}),[i,n]),null}function Qh(e){return r.createElement(r.Fragment,null,r.createElement("div",{className:Yh().Row},r.createElement("div",null,r.createElement("div",{className:Yh().Title},"Unsupported React version detected"),r.createElement("p",null,"This version of React DevTools supports React DOM v15+ and React Native v61+."),r.createElement("p",null,"In order to use DevTools with an older version of React, you'll need to"," ",r.createElement("a",{className:Yh().ReleaseNotesLink,target:"_blank",rel:"noopener noreferrer",href:Tt},"install an older version of the extension"),"."))))}var Zh=a(7277),Jh=a.n(Zh);function e_(e){const t=(0,r.useContext)(br),{dispatch:a}=(0,r.useContext)(Ns);return(0,r.useEffect)((()=>{let e=t.wall.listen((t=>{switch(t.type){case"call":case"event":case"many-events":a({canBeDismissed:!1,id:"WarnIfLegacyBackendDetected",type:"SHOW",title:"DevTools v4 is incompatible with this version of React",content:r.createElement(r_,null)}),"function"==typeof e&&(e(),e=null)}switch(t.event){case"isBackendStorageAPISupported":case"isNativeStyleEditorSupported":case"operations":case"overrideComponentFilters":"function"==typeof e&&(e(),e=null)}}));return()=>{"function"==typeof e&&(e(),e=null)}}),[t,a]),null}function r_(e){return r.createElement(r.Fragment,null,r.createElement("p",null,"Either upgrade React or install React DevTools v3:"),r.createElement("code",{className:Jh().Command},"npm install -d react-devtools@^3"))}var t_=a(7922),a_=a.n(t_);a(2404);const n_=[{id:"components",icon:"components",label:"Components",title:"React Components"},{id:"profiler",icon:"profiler",label:"Profiler",title:"React Profiler"}];function i_({bridge:e,browserTheme:t="light",canViewElementSourceFunction:a,componentsPortalContainer:n,defaultTab:i="components",enabledInspectedElementContextMenu:o=!1,fetchFileWithCaching:s,hookNamesModuleLoaderFunction:l,overrideTab:u,profilerPortalContainer:c,showTabBar:f=!1,store:v,warnIfLegacyBackendDetected:h=!1,warnIfUnsupportedVersionDetected:_=!1,viewAttributeSourceFunction:m,viewElementSourceFunction:p,viewUrlSourceFunction:S,readOnly:g,hideSettings:b,hideToggleErrorAction:w,hideToggleSuspenseAction:E,hideLogAction:y,hideViewSourceAction:k}){const[C,A]=zt(d.dM,i);let M=C;null!=u&&(M=u);const D=(0,r.useCallback)((e=>{!0===f&&("components"===e?(0,vr.K)({event_name:"selected-components-tab"}):(0,vr.K)({event_name:"selected-profiler-tab"})),A(e)}),[A,f]),H=(0,r.useMemo)((()=>({readOnly:g||!1,hideSettings:b||!1,hideToggleErrorAction:w||!1,hideToggleSuspenseAction:E||!1,hideLogAction:y||!1,hideViewSourceAction:k||!1})),[g,b,w,E,y,k]),x=(0,r.useMemo)((()=>({canViewElementSourceFunction:a||null,viewElementSourceFunction:p||null})),[a,p]),T=(0,r.useMemo)((()=>({viewUrlSourceFunction:S||null})),[S]),N=(0,r.useMemo)((()=>({isEnabledForInspectedElement:o,viewAttributeSourceFunction:m||null})),[o,m]),R=(0,r.useRef)(null);return(0,r.useEffect)((()=>{if(!f)return;const e=R.current;if(null===e)return;const r=e.ownerDocument.defaultView,t=e=>{if(e.ctrlKey||e.metaKey)switch(e.key){case"1":D(n_[0].id),e.preventDefault(),e.stopPropagation();break;case"2":D(n_[1].id),e.preventDefault(),e.stopPropagation()}};return r.addEventListener("keydown",t),()=>{r.removeEventListener("keydown",t)}}),[f]),(0,r.useLayoutEffect)((()=>()=>{try{e.shutdown()}catch(e){}}),[e]),(0,r.useEffect)((()=>{(0,vr.K)({event_name:"loaded-dev-tools"})}),[]),r.createElement(br.Provider,{value:e},r.createElement(wr.Provider,{value:v},r.createElement(yr.Provider,{value:H},r.createElement(Er.Provider,{value:N},r.createElement(Os,null,r.createElement(jt,{browserTheme:t,componentsPortalContainer:n,profilerPortalContainer:c},r.createElement(Ps.Provider,{value:x},r.createElement(rh.Provider,{value:T},r.createElement(Ol.Provider,{value:l||null},r.createElement(Nl.Provider,{value:s||null},r.createElement(ut,null,r.createElement(Wu,null,r.createElement(ic,null,r.createElement(Ss,null,r.createElement("div",{className:a_().DevTools,ref:R,"data-react-devtools-portal-root":!0},f&&r.createElement("div",{className:a_().TabBar},r.createElement(Bh,null),r.createElement("span",{className:a_().DevToolsVersion},"4.28.5-ef8a840bd"),r.createElement("div",{className:a_().Spacer}),r.createElement(Ru,{currentTab:M,id:"DevTools",selectTab:D,tabs:n_,type:"navigation"})),r.createElement("div",{className:a_().TabContent,hidden:"components"!==M},r.createElement(ac,{portalContainer:n})),r.createElement("div",{className:a_().TabContent,hidden:"profiler"!==M},r.createElement(Lh,{portalContainer:c})))))))))))),r.createElement(Xh,null),h&&r.createElement(e_,null),_&&r.createElement(qh,null))))))}const o_=require("child_process");var s_=a(8923),l_=a(397);const u_={"/Applications/Atom.app/Contents/MacOS/Atom":"atom","/Applications/Atom Beta.app/Contents/MacOS/Atom Beta":"/Applications/Atom Beta.app/Contents/MacOS/Atom Beta","/Applications/Sublime Text.app/Contents/MacOS/Sublime Text":"/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl","/Applications/Sublime Text 2.app/Contents/MacOS/Sublime Text 2":"/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl","/Applications/Visual Studio Code.app/Contents/MacOS/Electron":"code"};let c_=null;function f_(e,r){if((0,Sr.isAbsolute)(e)){if((0,gr.existsSync)(e))return e}else for(let t=0;t<r.length;t++){const a=r[t],n=(0,Sr.join)(a,e);if((0,gr.existsSync)(n))return n}return null}!function(e){if(e.hasOwnProperty("__REACT_DEVTOOLS_GLOBAL_HOOK__"))return null;let r=console,t={};for(const e in console)t[e]=console[e];let a=null;let n=0,i=!1;const o=[],s=[];function l(e){const r=e.stack.split("\n");return r.length>1?r[1]:null}const u={},c=new Map,f={},v=new Map,d=new Map,h={rendererInterfaces:c,listeners:f,backends:d,renderers:v,emit:function(e,r){f[e]&&f[e].map((e=>e(r)))},getFiberRoots:function(e){const r=u;return r[e]||(r[e]=new Set),r[e]},inject:function(r){const t=++n;v.set(t,r);const a=i?"deadcode":function(e){try{if("string"==typeof e.version)return e.bundleType>0?"development":"production";const r=Function.prototype.toString;if(e.Mount&&e.Mount._renderNewRootComponent){const t=r.call(e.Mount._renderNewRootComponent);return 0!==t.indexOf("function")?"production":-1!==t.indexOf("storedMeasure")?"development":-1!==t.indexOf("should be a pure function")?-1!==t.indexOf("NODE_ENV")||-1!==t.indexOf("development")||-1!==t.indexOf("true")?"development":-1!==t.indexOf("nextElement")||-1!==t.indexOf("nextComponent")?"unminified":"development":-1!==t.indexOf("nextElement")||-1!==t.indexOf("nextComponent")?"unminified":"outdated"}}catch(e){}return"production"}(r);if(e.hasOwnProperty("__REACT_DEVTOOLS_CONSOLE_FUNCTIONS__")){const{registerRendererWithConsole:t,patchConsoleUsingWindowValues:a}=e.__REACT_DEVTOOLS_CONSOLE_FUNCTIONS__;"function"==typeof t&&"function"==typeof a&&(t(r),a())}const o=e.__REACT_DEVTOOLS_ATTACH__;if("function"==typeof o){const a=o(h,t,r,e);h.rendererInterfaces.set(t,a)}return h.emit("renderer",{id:t,renderer:r,reactBuildType:a}),t},on:function(e,r){f[e]||(f[e]=[]),f[e].push(r)},off:function(e,r){if(!f[e])return;const t=f[e].indexOf(r);-1!==t&&f[e].splice(t,1),f[e].length||delete f[e]},sub:function(e,r){return h.on(e,r),()=>h.off(e,r)},supportsFiber:!0,checkDCE:function(e){try{Function.prototype.toString.call(e).indexOf("^_^")>-1&&(i=!0,setTimeout((function(){throw new Error("React is running in production mode, but dead code elimination has not been applied. Read how to correctly configure React for production: https://reactjs.org/link/perf-use-production-build")})))}catch(e){}},onCommitFiberUnmount:function(e,r){const t=c.get(e);null!=t&&t.handleCommitFiberUnmount(r)},onCommitFiberRoot:function(e,r,t){const a=h.getFiberRoots(e),n=r.current,i=a.has(r),o=null==n.memoizedState||null==n.memoizedState.element;i||o?i&&o&&a.delete(r):a.add(r);const s=c.get(e);null!=s&&s.handleCommitFiberRoot(r,t)},onPostCommitFiberRoot:function(e,r){const t=c.get(e);null!=t&&t.handlePostCommitFiberRoot(r)},setStrictMode:function(e,t){const n=c.get(e);null!=n?t?n.patchConsoleForStrictMode():n.unpatchConsoleForStrictMode():t?function({hideConsoleLogsInStrictMode:e,browserTheme:t}){if(null!==a)return;const n={};a=()=>{for(const e in n)try{r[e]=n[e]}catch(e){}},["error","group","groupCollapsed","info","log","trace","warn"].forEach((a=>{try{const i=n[a]=r[a].__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__?r[a].__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__:r[a],o=(...r)=>{if(!e){let e;switch(a){case"warn":e="light"===t?"rgba(250, 180, 50, 0.75)":"rgba(250, 180, 50, 0.5)";break;case"error":e="light"===t?"rgba(250, 123, 130, 0.75)":"rgba(250, 123, 130, 0.5)";break;default:e="light"===t?"rgba(125, 125, 125, 0.75)":"rgba(125, 125, 125, 0.5)"}if(!e)throw Error("Console color is not defined");i(...(n=r,o=`color: ${e}`,null==n||0===n.length||"string"==typeof n[0]&&n[0].match(/([^%]|^)(%c)/g)||void 0===o?n:"string"==typeof n[0]&&n[0].match(/([^%]|^)((%%)*)(%([oOdisf]))/g)?[`%c${n[0]}`,o,...n.slice(1)]:[n.reduce(((e,r,t)=>{switch(t>0&&(e+=" "),typeof r){case"string":case"boolean":case"symbol":return e+"%s";case"number":return e+(Number.isInteger(r)?"%i":"%f");default:return e+"%o"}}),"%c"),o,...n]))}var n,o};o.__REACT_DEVTOOLS_STRICT_MODE_ORIGINAL_METHOD__=i,i.__REACT_DEVTOOLS_STRICT_MODE_OVERRIDE_METHOD__=o,r[a]=o}catch(e){}}))}({hideConsoleLogsInStrictMode:!0===window.__REACT_DEVTOOLS_HIDE_CONSOLE_LOGS_IN_STRICT_MODE__,browserTheme:window.__REACT_DEVTOOLS_BROWSER_THEME__}):null!==a&&(a(),a=null)},getInternalModuleRanges:function(){return s},registerInternalModuleStart:function(e){const r=l(e);null!==r&&o.push(r)},registerInternalModuleStop:function(e){if(o.length>0){const r=o.pop(),t=l(e);null!==t&&s.push([r,t])}}};Object.defineProperty(e,"__REACT_DEVTOOLS_GLOBAL_HOOK__",{configurable:!1,enumerable:!1,get:()=>h})}(window);let v_=null,d_="",h_=[],__=(e,r)=>{},m_=()=>{};function p_(){return a.e(641).then(a.bind(a,2648))}let S_=null,g_=null,b_=null;const w_=(...e)=>console.log("[React DevTools]",...e);function E_(){(0,t.flushSync)((()=>{null!==b_&&(b_.unmount(),b_=null)}))}function y_(){E_(),v_.innerHTML="",setTimeout((()=>{b_=(0,i.s)(v_),b_.render((0,r.createElement)(i_,{bridge:S_,canViewElementSourceFunction:k_,hookNamesModuleLoaderFunction:p_,showTabBar:!0,store:g_,warnIfLegacyBackendDetected:!0,viewElementSourceFunction:C_}))}),100)}function k_(e){if(!1===e.canViewSource||null===e.source)return!1;const{source:r}=e;return null!==f_(r.fileName,h_)}function C_(e,r){const{source:t}=r;null!==t?function(e,r,t){const a=f_(e,t);if(null===a)return;if(r&&isNaN(r))return;const[n,...i]=function(){if(l_.env.REACT_EDITOR)return(0,s_.Q)(l_.env.REACT_EDITOR);if("darwin"===l_.platform)try{const e=(0,o_.execSync)("ps x").toString(),r=Object.keys(u_);for(let t=0;t<r.length;t++){const a=r[t];if(-1!==e.indexOf(a))return[u_[a]]}}catch(e){}return l_.env.VISUAL?[l_.env.VISUAL]:l_.env.EDITOR?[l_.env.EDITOR]:[]}();if(!n)return;let o=i;r?o=o.concat(function(e,r,t){switch((0,Sr.basename)(e)){case"vim":case"mvim":return[r,"+"+t];case"atom":case"Atom":case"Atom Beta":case"subl":case"sublime":case"wstorm":case"appcode":case"charm":case"idea":return[r+":"+t];case"joe":case"emacs":case"emacsclient":return["+"+t,r];case"rmate":case"mate":case"mine":return["--line",t+"",r];case"code":return["-g",r+":"+t];default:return[r]}}(n,a,r)):o.push(a),c_&&function(e){switch(e){case"vim":case"emacs":case"nano":return!0;default:return!1}}(n)&&c_.kill("SIGKILL"),c_="win32"===l_.platform?(0,o_.spawn)("cmd.exe",["/C",n].concat(o),{stdio:"inherit"}):(0,o_.spawn)(n,o,{stdio:"inherit"}),c_.on("error",(function(){})),c_.on("exit",(function(){c_=null}))}(t.fileName,t.lineNumber,h_):w_.error("Cannot inspect element",e)}function A_(){E_(),v_.innerHTML=d_,m_()}function M_({code:e,message:r}){E_(),v_.innerHTML="EADDRINUSE"===e?'\n      <div class="box">\n        <div class="box-header">\n          Another instance of DevTools is running.\n        </div>\n        <div class="box-content">\n          Only one copy of DevTools can be used at a time.\n        </div>\n      </div>\n    ':`\n      <div class="box">\n        <div class="box-header">\n          Unknown error\n        </div>\n        <div class="box-content">\n          ${r}\n        </div>\n      </div>\n    `}function D_(e){const r=[];e.onmessage=e=>{let t;try{if("string"!=typeof e.data)throw Error();t=JSON.parse(e.data),d.p&&function(e,...r){d.p&&console.log(`%c[core/standalone] %c${e}`,"color: teal; font-weight: bold;","font-weight: bold;",...r)}("WebSocket.onmessage",t)}catch(r){return void w_.error("Failed to parse JSON",e.data)}r.forEach((e=>{try{e(t)}catch(e){throw w_.error("Error calling listener",t),e}}))},S_=new c({listen:e=>(r.push(e),()=>{const t=r.indexOf(e);t>=0&&r.splice(t,1)}),send(r,t,a){e.readyState===e.OPEN&&e.send(JSON.stringify({event:r,payload:t}))}}),S_.addListener("shutdown",(()=>{e.close()})),g_=new fr(S_,{checkBridgeProtocolCompatibility:!0,supportsNativeInspection:!0,supportsTraceUpdates:!0}),w_("Connected"),__("DevTools initialized.","devtools-connected"),y_()}w_.warn=(...e)=>console.warn("[React DevTools]",...e),w_.error=(...e)=>console.error("[React DevTools]",...e);let H_=null;const x_={connectToSocket:function(e){return e.onerror=e=>{A_(),w_.error("Error with websocket connection",e)},e.onclose=()=>{A_(),w_("Connection to RN closed")},D_(e),{close:function(){A_()}}},setContentDOMNode:function(e){return v_=e,d_=v_.innerHTML,x_},setProjectRoots:function(e){h_=e},setStatusListener:function(e){return __=e,x_},setDisconnectedCallback:function(e){return m_=e,x_},startServer:function e(r=8097,t="localhost",n,i){!function(e,r){async function t(t){if(dr.$l)if(null!=hr&&null!=_r){const{metadata:a,...n}=t,i=null!=r?await r():{};hr?.contentWindow?.postMessage({source:"react-devtools-logging",event:n,context:{...i,metadata:null!=a?JSON.stringify(a):"",session_id:_r,surface:e,version:"4.28.5-ef8a840bd"}},"*")}else mr.push(t)}if(dr.$l){const e="null",r=document.body;if("string"==typeof e&&e.length>0&&null!=r&&null==hr){(0,vr.J)(t),_r=window.crypto.randomUUID();const a=document.createElement("iframe");a.onload=()=>function(e){hr=e,mr.length>0&&(mr.forEach((e=>t(e))),mr=[])}(a),a.src=e,r.appendChild(a)}}}(i?.surface??"standalone");const o=!!n,s=o?a(5687).createServer(n):a(3685).createServer(),l=new pr.Server({server:s});let u=null;return l.on("connection",(e=>{null!==u&&(u.close(),w_.warn("Only one connection allowed at a time.","Closing the previous connection")),u=e,e.onerror=e=>{u=null,A_(),w_.error("Error with websocket connection",e)},e.onclose=()=>{u=null,A_(),w_("Connection to RN closed")},D_(e)})),l.on("error",(t=>{M_(t),w_.error("Failed to start the DevTools server",t),H_=setTimeout((()=>e(r)),1e3)})),s.on("request",((e,a)=>{const n=(0,gr.readFileSync)((0,Sr.join)(__dirname,"backend.js")),i=`\n      window.__REACT_DEVTOOLS_APPEND_COMPONENT_STACK__ = ${JSON.stringify(j(R(d.dG))??!0)};\n      window.__REACT_DEVTOOLS_BREAK_ON_CONSOLE_ERRORS__ = ${JSON.stringify(j(R(d.k6))??!1)};\n      window.__REACT_DEVTOOLS_COMPONENT_FILTERS__ = ${JSON.stringify(W())};\n      window.__REACT_DEVTOOLS_SHOW_INLINE_WARNINGS_AND_ERRORS__ = ${JSON.stringify(j(R(d.Lg))??!0)};\n      window.__REACT_DEVTOOLS_HIDE_CONSOLE_LOGS_IN_STRICT_MODE__ = ${JSON.stringify(j(R(d.uP))??!1)};`;a.end(i+"\n;"+n.toString()+"\n;"+`ReactDevToolsBackend.connectToDevTools({port: ${r}, host: '${t}', useHttps: ${o?"true":"false"}});`)})),s.on("error",(t=>{M_(t),__("Failed to start the server.","error"),H_=setTimeout((()=>e(r)),1e3)})),s.listen(r,(()=>{__("The server is listening on the port "+r+".","server-connected")})),{close:function(){u=null,A_(),null!==H_&&clearTimeout(H_),l.close(),s.close()}}},openProfiler:function(){S_=new c({listen:()=>{},send:()=>{}}),g_=new fr(S_,{}),O(d.dM,JSON.stringify("profiler")),y_()}},T_=x_})(),module.exports=n})();
//# sourceMappingURL=standalone.js.map